Function at 0x435b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c539
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
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
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.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 0x435bf5
push 0x80004005
call fcn.00401090
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 0x435c20
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00402a10
push 1
push 0x58eb80
mov ecx, esi
call fcn.004066d0
mov eax, dword [edi + 0x48]
push 0x58e18c
push eax
call fcn.005430ac
add esp, 8
mov ecx, esi
cmp eax, ebx
jne 0x435d75
push 0x10
push str.Foxit_PhantomPDF
call fcn.004066d0
push 1
push 0x58eb80
mov ecx, esi
call fcn.004066d0
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 0x435ca1
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.004037c0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00431520
add esp, 8
mov byte [ebp - 4], 3
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x435cea
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], edi
jb 0x435d0c
mov edx, dword [ebp - 0x250]
push edx
call fcn.0043f967
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 0x435d3d
mov eax, dword [ebp - 0x234]
push eax
call fcn.0043f967
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 0x435d69
push 0x19
push str.PhantomPDF_update_req.xml
jmp 0x435e7c
push 0x1e
push str.PhantomPDF_update_fail_req.xml
jmp 0x435e7c
push 0xc
push 0x590bcc
call fcn.004066d0
push 1
push 0x58eb80
mov ecx, esi
call fcn.004066d0
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 0x435db0
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.004037c0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00431520
add esp, 8
mov byte [ebp - 4], 5
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x435df9
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x23c], edi
jb 0x435e1b
mov edx, dword [ebp - 0x250]
push edx
call fcn.0043f967
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 0x435e4c
mov eax, dword [ebp - 0x234]
push eax
call fcn.0043f967
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 0x435e75
push 0x15
push str.reader_update_req.xml
jmp 0x435e7c
push 0x1a
push 0x593b4c
call fcn.004066d0
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.00542c3e
mov esp, ebp
pop ebp
ret 8