Function at 0x439c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5825e9
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6459b8]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], ebx
call fcn.00546d60
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00444998
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x439cd5
push 0x80004005
call fcn.00403760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x254], 1
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439d00
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.004050c0
push 1
push 0x616b64
mov ecx, esi
call fcn.00408e40
mov eax, dword [edi + 0x48]
push 0x595174
push eax
call fcn.0054704c
add esp, 8
mov ecx, esi
cmp eax, ebx
jne 0x439e55
push 0x10
push str.Foxit_PhantomPDF
call fcn.00408e40
push 1
push 0x616b64
mov ecx, esi
call fcn.00408e40
mov ecx, dword [esi]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x439d81
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.00405e70
mov dword [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00435590
add esp, 8
mov byte [ebp - 4], 3
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x439dca
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], edi
jb 0x439dec
mov edx, dword [ebp - 0x250]
push edx
call fcn.00443897
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], 8
jb 0x439e1d
mov eax, dword [ebp - 0x234]
push eax
call fcn.00443897
add esp, 4
xor ecx, ecx
mov word [ebp - 0x234], cx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov ecx, esi
cmp dword [ebp + 0xc], ebx
jne 0x439e49
push 0x19
push str.PhantomPDF_update_req.xml
jmp 0x439f5c
push 0x1e
push str.PhantomPDF_update_fail_req.xml
jmp 0x439f5c
push 0xc
push str.Foxit_Reader
call fcn.00408e40
push 1
push 0x616b64
mov ecx, esi
call fcn.00408e40
mov ecx, dword [esi]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x439e90
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.00405e70
mov dword [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00435590
add esp, 8
mov byte [ebp - 4], 5
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x439ed9
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x23c], edi
jb 0x439efb
mov edx, dword [ebp - 0x250]
push edx
call fcn.00443897
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], 8
jb 0x439f2c
mov eax, dword [ebp - 0x234]
push eax
call fcn.00443897
add esp, 4
xor ecx, ecx
mov word [ebp - 0x234], cx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov ecx, esi
cmp dword [ebp + 0xc], ebx
jne 0x439f55
push 0x15
push str.reader_update_req.xml
jmp 0x439f5c
push 0x1a
push 0x59ae68
call fcn.00408e40
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.00546bde
mov esp, ebp
pop ebp
ret 8