Function at 0x439a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5772cd
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5f0bf8]
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
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x268], edi
call fcn.00543b50
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0044184e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x439ae9
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x439b10
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439b10
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00402e30
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
push ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
call fcn.00546373
add esp, 4
mov dword [ebp - 0x260], edx
push str._Y_m_d
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], eax
call fcn.00437160
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x48]
push 0x588338
push eax
call fcn.00543f07
add esp, 8
lea ecx, [ebp - 0x254]
cmp eax, ebx
jne 0x439dde
push 0x10
push 0x588314
call fcn.00409220
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
lea ecx, [ebp - 0x254]
cmp dword [edi + 0x9c], ebx
jne 0x439c69
push 0x14
push str.HasCountInstallation
call fcn.00409220
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401e80
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 4
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00409220
mov eax, dword [ebp - 0x254]
push ebx
push eax
call fcn.00544011
add esp, 8
test eax, eax
je 0x439c3e
push esi
mov ecx, edi
call fcn.0040a510
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov byte [ebp - 4], 2
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x439cfe
push 0x11
push str.HasCountUninstall
call fcn.00409220
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401e80
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 7
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00409220
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.00544011
add esp, 8
test eax, eax
je 0x439cd8
push esi
mov ecx, edi
call fcn.0040a510
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov byte [ebp - 4], 2
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439d0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x254]
mov edi, 7
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439d30
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00403be0
mov bl, 9
mov byte [ebp - 4], bl
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0042e0f0
add esp, 8
mov byte [ebp - 4], 0xa
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x439d77
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x23c], esi
jb 0x439d98
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00440737
add esp, 4
xor esi, esi
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], esi
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 8
jb 0x439dcd
mov edx, dword [ebp - 0x234]
push edx
call fcn.00440737
add esp, 4
mov dword [ebp - 0x220], edi
mov edi, dword [ebp - 0x268]
jmp 0x43a003
push 0xc
push 0x58b448
call fcn.00409220
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
lea ecx, [ebp - 0x254]
cmp dword [edi + 0x9c], ebx
jne 0x439e94
push 0x14
push str.HasCountInstallation
call fcn.00409220
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401e80
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 0xc
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00409220
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.00544011
add esp, 8
test eax, eax
je 0x439e7d
push esi
mov ecx, edi
call fcn.0040a510
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
jmp 0x439f15
push 0x11
push str.HasCountUninstall
call fcn.00409220
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401e80
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 0xf
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00409220
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.00544011
add esp, 8
test eax, eax
je 0x439f03
push esi
mov ecx, edi
call fcn.0040a510
push 1
push 0x588d00
lea ecx, [ebp - 0x254]
call fcn.00409220
mov byte [ebp - 4], 2
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439f35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x254]
mov ebx, 7
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439f60
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00403be0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0042e0f0
add esp, 8
mov byte [ebp - 4], 0x12
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x439fa6
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x23c], esi
jb 0x439fc8
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00440737
add esp, 4
xor esi, esi
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], esi
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 8
jb 0x439ffd
mov edx, dword [ebp - 0x234]
push edx
call fcn.00440737
add esp, 4
mov dword [ebp - 0x220], ebx
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, dword [edi + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x224], esi
call fcn.00409220
push 4
push str..xml
lea ecx, [ebp - 0x254]
call fcn.00409220
mov esi, dword [ebp - 0x254]
push 0
push 0x1001
push esi
mov ecx, 0x5f6708
call fcn.00456f03
test eax, eax
jne 0x43a07b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43a0ab
mov ecx, 0x5f6708
call fcn.004569bb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a0ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a0ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.005437e5
mov esp, ebp
pop ebp
ret