Function at 0x438b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ccbd
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5f6998]
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.00542dc0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00440a7e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438c09
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 0x438c30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x438c30
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00402a10
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
push ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
call fcn.005432fb
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.00435eb0
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x48]
push 0x58e18c
push eax
call fcn.005430ac
add esp, 8
lea ecx, [ebp - 0x254]
cmp eax, ebx
jne 0x438efe
push 0x10
push str.Foxit_PhantomPDF
call fcn.004066d0
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
lea ecx, [ebp - 0x254]
cmp dword [edi + 0x9c], ebx
jne 0x438d89
push 0x14
push str.HasCountInstallation
call fcn.004066d0
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401a20
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 4
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov eax, dword [ebp - 0x254]
push ebx
push eax
call fcn.005431b6
add esp, 8
test eax, eax
je 0x438d5e
push esi
mov ecx, edi
call fcn.00438180
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
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 0x438e1e
push 0x11
push str.HasCountUninstall
call fcn.004066d0
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401a20
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 7
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.005431b6
add esp, 8
test eax, eax
je 0x438df8
push esi
mov ecx, edi
call fcn.00438180
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
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 0x438e2a
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 0x438e50
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.004037c0
mov bl, 9
mov byte [ebp - 4], bl
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.00431520
add esp, 8
mov byte [ebp - 4], 0xa
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x438e97
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x23c], esi
jb 0x438eb8
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0043f967
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 0x438eed
mov edx, dword [ebp - 0x234]
push edx
call fcn.0043f967
add esp, 4
mov dword [ebp - 0x220], edi
mov edi, dword [ebp - 0x268]
jmp 0x439123
push 0xc
push 0x590bcc
call fcn.004066d0
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
lea ecx, [ebp - 0x254]
cmp dword [edi + 0x9c], ebx
jne 0x438fb4
push 0x14
push str.HasCountInstallation
call fcn.004066d0
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401a20
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 0xc
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.005431b6
add esp, 8
test eax, eax
je 0x438f9d
push esi
mov ecx, edi
call fcn.00438180
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
jmp 0x439035
push 0x11
push str.HasCountUninstall
call fcn.004066d0
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
push eax
call fcn.00401a20
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 0xf
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov ecx, dword [ebp - 0x254]
push ebx
push ecx
call fcn.005431b6
add esp, 8
test eax, eax
je 0x439023
push esi
mov ecx, edi
call fcn.00438180
push 1
push 0x58eb80
lea ecx, [ebp - 0x254]
call fcn.004066d0
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 0x439055
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 0x439080
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.004037c0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.00431520
add esp, 8
mov byte [ebp - 4], 0x12
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x4390c6
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x23c], esi
jb 0x4390e8
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0043f967
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 0x43911d
mov edx, dword [ebp - 0x234]
push edx
call fcn.0043f967
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.004066d0
push 4
push str..xml
lea ecx, [ebp - 0x254]
call fcn.004066d0
mov esi, dword [ebp - 0x254]
push 0
push 0x1001
push esi
mov ecx, 0x5fc8cc
call fcn.00455624
test eax, eax
jne 0x43919b
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 0x439199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4391cb
mov ecx, 0x5fc8cc
call fcn.004550dc
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 0x4391cb
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 0x4391ee
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.00542c3e
mov esp, ebp
pop ebp
ret