Function at 0x10012b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f264
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x1003dd60]
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 [0x1003dd34]
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 0x10013310
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 0x10013310
mov eax, dword [ebp - 0x25c]
push str.__xml_version_1.0__encoding_utf_16____r_n
push eax
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
mov ecx, dword [ebp - 0x25c]
push str._request
push ecx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
mov edx, dword [edi + 0xcb4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x10012ca2
mov eax, dword [ebp - 0x25c]
push str.url_
push eax
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
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.10012090
mov edi, dword [ebp - 0x274]
mov edx, dword [ebp - 0x25c]
push edi
push edx
call fcn.100117e0
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 0x10013310
mov eax, dword [ebp - 0x25c]
push 0x100348b4
push eax
call fcn.100117e0
add esp, 8
mov esi, eax
jmp 0x10012ca8
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x10013310
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0xcb8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x10012d4e
mov eax, dword [ebp - 0x25c]
push str.dataClassId_
push eax
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
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.10012090
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call fcn.100117e0
mov edx, dword [ebp - 0x260]
add esp, 0x10
push edx
mov esi, eax
mov byte [ebp - 4], bl
call edi
cmp esi, ebx
jl 0x10013310
mov eax, dword [ebp - 0x25c]
push 0x100348b4
push eax
call fcn.100117e0
add esp, 8
mov esi, eax
cmp esi, ebx
jl 0x10013310
mov ecx, dword [ebp - 0x25c]
push str.method_
push ecx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
push 0x3e
lea edx, [ebp - 0x4e]
push ebx
push edx
mov word [ebp - 0x50], bx
call fcn.1001ade0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0xcbc]
push 0xa
lea eax, [ebp - 0x50]
push eax
push edx
call fcn.1001db39
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x50]
push eax
push ecx
call fcn.100117e0
mov esi, eax
add esp, 0x20
cmp esi, ebx
jl 0x10013310
mov edx, dword [ebp - 0x25c]
push 0x1003487c
push edx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x260], ebx
call fcn.10012310
cmp dword [ebp - 0x260], ebx
jne 0x10012e08
mov ecx, dword [ebp - 0x25c]
push str._parameters___
push ecx
jmp 0x10012f5e
mov edx, dword [ebp - 0x25c]
push str._parameters_
push edx
call fcn.100117e0
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x270], eax
jl 0x10013310
jmp 0x10012e36
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x260]
jge 0x10012f4a
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.10011e20
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x10012e9e
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x25c]
push 1
push 1
push ecx
push edx
call fcn.10011830
add esp, 0x10
mov esi, eax
jmp 0x10012f21
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x25c]
push ebx
push ebx
push eax
push ecx
call fcn.10011830
mov esi, eax
add esp, 0x10
cmp esi, ebx
jl 0x10012f21
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.10012090
mov edi, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x25c]
push edi
push ecx
call fcn.100117e0
add esp, 0x10
push edi
mov esi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x10012f1b
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
push 1
push ebx
push edx
push eax
call fcn.10011830
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 0x10012e30
jmp 0x10013310
cmp esi, ebx
jl 0x10013310
mov eax, dword [ebp - 0x25c]
push str.__parameters_
push eax
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ebx
call fcn.10012330
cmp dword [ebp - 0x270], ebx
jne 0x10012fa1
mov edx, dword [ebp - 0x25c]
push str._files___
push edx
jmp 0x100131f2
mov eax, dword [ebp - 0x25c]
push str._files_
push eax
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x260], ebx
jl 0x10013310
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x270]
jge 0x100131de
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.10012860
mov esi, eax
cmp esi, ebx
jl 0x100131a8
mov edx, dword [ebp - 0x25c]
push 0x10034630
push edx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x100131a8
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x100131a8
mov dword [ebp - 0x268], ebx
cmp word [ebp - 0x27c], bx
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 4], 9
je 0x1001313a
push str._temporaryFile_true__
push edx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x1001317c
push 0x206
lea eax, [ebp - 0x256]
push ebx
push eax
mov word [ebp - 0x258], bx
call fcn.1001ade0
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 0x100347c8
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.100118b0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x1001317c
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x280]
call fcn.10001b3a
mov esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x268]
push ecx
push esi
mov byte [ebp - 4], 0xa
call fcn.10012090
add esp, 8
push esi
mov byte [ebp - 4], 9
call edi
jmp 0x10013164
push str._temporaryFile_false__
push edx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x1001317c
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x268]
push eax
push ecx
call fcn.10012090
add esp, 8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x25c]
push edx
push eax
call fcn.100117e0
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x268]
push ecx
mov byte [ebp - 4], 8
call edi
cmp esi, ebx
jl 0x100131a8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
push 1
push ebx
push edx
push eax
call fcn.10011830
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 0x10012fc5
jmp 0x10013310
cmp esi, ebx
jl 0x10013310
mov ecx, dword [ebp - 0x25c]
push str.__files_
push ecx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
mov edx, dword [ebp - 0x25c]
push str.__request_
push edx
call fcn.100117e0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x10013310
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 0x10013310
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 0x100132fa
lea ecx, [ebp - 0x278]
call fcn.1000f890
push ebx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xb
call fcn.10010f80
mov esi, eax
cmp esi, ebx
jl 0x100132dd
mov ecx, dword [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10011a70
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.10011020
cmp edi, ebx
mov esi, eax
je 0x100132dd
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.10010530
jmp 0x10013310
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1001330e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x25c]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x10013329
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.1001b05b
mov esp, ebp
pop ebp
ret 4