Function at 0x10032640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e014
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x10086e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x284], eax
call dword [0x10086d18]
xor ebx, ebx
mov dword [ebp - 0x25c], ebx
lea ecx, [ebp - 0x25c]
push ecx
push 1
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
cmp esi, ebx
jl 0x10032e20
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x27c]
push ecx
push 2
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x264], 0xff
mov byte [ebp - 0x263], 0xfe
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x10032e20
mov eax, dword [ebp - 0x25c]
push str.__xml_version_1.0__encoding_utf_16____r_n
push eax
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x25c]
push str._request
push ecx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov edx, dword [edi + 0xcb4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x100327b2
mov eax, dword [ebp - 0x25c]
push str.url_
push eax
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov dword [ebp - 0x274], ebx
mov eax, dword [edi + 0xcb4]
lea ecx, [ebp - 0x274]
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.10031db0
mov edi, dword [ebp - 0x274]
mov edx, dword [ebp - 0x25c]
push edi
push edx
call fcn.10030a90
add esp, 0x10
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
mov byte [ebp - 4], bl
call edi
cmp esi, ebx
jl 0x10032e20
mov eax, dword [ebp - 0x25c]
push 0x100783c8
push eax
call fcn.10030a90
add esp, 8
mov esi, eax
jmp 0x100327b8
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0xcb8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x1003285e
mov eax, dword [ebp - 0x25c]
push str.dataClassId_
push eax
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov dword [ebp - 0x260], ebx
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ecx + 0xcb8]
lea edx, [ebp - 0x260]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.10031db0
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call fcn.10030a90
mov edx, dword [ebp - 0x260]
add esp, 0x10
push edx
mov esi, eax
mov byte [ebp - 4], bl
call edi
cmp esi, ebx
jl 0x10032e20
mov eax, dword [ebp - 0x25c]
push 0x100783c8
push eax
call fcn.10030a90
add esp, 8
mov esi, eax
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x25c]
push str.method_
push ecx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
push 0x3e
lea edx, [ebp - 0x4e]
push ebx
push edx
mov word [ebp - 0x50], bx
call fcn.10042010
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0xcbc]
push 0xa
lea eax, [ebp - 0x50]
push eax
push edx
call fcn.10044ad3
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x50]
push eax
push ecx
call fcn.10030a90
mov esi, eax
add esp, 0x20
cmp esi, ebx
jl 0x10032e20
mov edx, dword [ebp - 0x25c]
push 0x10078390
push edx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x260], ebx
call fcn.10032030
cmp dword [ebp - 0x260], ebx
jne 0x10032918
mov ecx, dword [ebp - 0x25c]
push str._parameters___
push ecx
jmp 0x10032a6e
mov edx, dword [ebp - 0x25c]
push str._parameters_
push edx
call fcn.10030a90
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x270], eax
jl 0x10032e20
jmp 0x10032946
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x260]
jge 0x10032a5a
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x26c]
lea edx, [ebp - 0x264]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.10031b40
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x100329ae
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x25c]
push 1
push 1
push ecx
push edx
call fcn.10030ae0
add esp, 0x10
mov esi, eax
jmp 0x10032a31
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x25c]
push ebx
push ebx
push eax
push ecx
call fcn.10030ae0
mov esi, eax
add esp, 0x10
cmp esi, ebx
jl 0x10032a31
mov dword [ebp - 0x274], ebx
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x274]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.10031db0
mov edi, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x25c]
push edi
push ecx
call fcn.10030a90
add esp, 0x10
push edi
mov esi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x10032a2b
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
push 1
push ebx
push edx
push eax
call fcn.10030ae0
add esp, 0x10
mov esi, eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x268]
push ecx
call edi
mov edx, dword [ebp - 0x264]
push edx
mov byte [ebp - 4], bl
call edi
add dword [ebp - 0x270], 1
cmp esi, ebx
jge 0x10032940
jmp 0x10032e20
cmp esi, ebx
jl 0x10032e20
mov eax, dword [ebp - 0x25c]
push str.__parameters_
push eax
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ebx
call fcn.10032050
cmp dword [ebp - 0x270], ebx
jne 0x10032ab1
mov edx, dword [ebp - 0x25c]
push str._files___
push edx
jmp 0x10032d02
mov eax, dword [ebp - 0x25c]
push str._files_
push eax
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x260], ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x270]
jge 0x10032cee
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x274], ebx
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x260]
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x27c], ebx
call fcn.10032320
mov esi, eax
cmp esi, ebx
jl 0x10032cb8
mov edx, dword [ebp - 0x25c]
push 0x10078148
push edx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032cb8
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032cb8
mov dword [ebp - 0x268], ebx
cmp word [ebp - 0x27c], bx
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 4], 9
je 0x10032c4a
push str._temporaryFile_true__
push edx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032c8c
push 0x206
lea eax, [ebp - 0x256]
push ebx
push eax
mov word [ebp - 0x258], bx
call fcn.10042010
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x258]
push edx
push ebx
push 0x100782dc
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, dword [ebp - 0x28c]
lea ecx, [ebp - 0x258]
push ecx
push edx
call fcn.10030b60
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032c8c
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x280]
call fcn.100031d0
mov esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x268]
push ecx
push esi
mov byte [ebp - 4], 0xa
call fcn.10031db0
add esp, 8
push esi
mov byte [ebp - 4], 9
call edi
jmp 0x10032c74
push str._temporaryFile_false__
push edx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032c8c
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x268]
push eax
push ecx
call fcn.10031db0
add esp, 8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x25c]
push edx
push eax
call fcn.10030a90
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x268]
push ecx
mov byte [ebp - 4], 8
call edi
cmp esi, ebx
jl 0x10032cb8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
push 1
push ebx
push edx
push eax
call fcn.10030ae0
add esp, 0x10
mov esi, eax
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x274]
push edx
call edi
mov eax, dword [ebp - 0x264]
push eax
mov byte [ebp - 4], bl
call edi
add dword [ebp - 0x260], 1
cmp esi, ebx
jge 0x10032ad5
jmp 0x10032e20
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x25c]
push str.__files_
push ecx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov edx, dword [ebp - 0x25c]
push str.__request_
push edx
call fcn.10030a90
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10032e20
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x260]
push eax
push ecx
mov dword [ebp - 0x260], ebx
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov esi, eax
cmp esi, ebx
jl 0x10032e20
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x27c], eax
je 0x10032e0a
lea ecx, [ebp - 0x278]
call fcn.10010500
push ebx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xb
call fcn.10017a30
mov esi, eax
cmp esi, ebx
jl 0x10032ded
mov ecx, dword [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10031210
mov edx, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
mov edi, eax
mov eax, dword [ebp - 0x27c]
push edx
push eax
push ecx
lea ecx, [ebp - 0x278]
call fcn.10016770
cmp edi, ebx
mov esi, eax
je 0x10032ded
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], bl
call fcn.10014090
jmp 0x10032e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10032e1e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x25c]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x10032e39
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041ffa
mov esp, ebp
pop ebp
ret 4