Function at 0x436e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576bc9
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
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
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.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 0x436ea5
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 0x436ed0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00402e30
push 1
push 0x588d00
mov ecx, esi
call fcn.00409220
mov eax, dword [edi + 0x48]
push 0x588338
push eax
call fcn.00543f07
add esp, 8
mov ecx, esi
cmp eax, ebx
jne 0x437025
push 0x10
push 0x588314
call fcn.00409220
push 1
push 0x588d00
mov ecx, esi
call fcn.00409220
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 0x436f51
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.00403be0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.0042e0f0
add esp, 8
mov byte [ebp - 4], 3
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x436f9a
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], edi
jb 0x436fbc
mov edx, dword [ebp - 0x250]
push edx
call fcn.00440737
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 0x436fed
mov eax, dword [ebp - 0x234]
push eax
call fcn.00440737
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 0x437019
push 0x19
push str.PhantomPDF_update_req.xml
jmp 0x43712c
push 0x1e
push str.PhantomPDF_update_fail_req.xml
jmp 0x43712c
push 0xc
push 0x58b448
call fcn.00409220
push 1
push 0x588d00
mov ecx, esi
call fcn.00409220
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 0x437060
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.00403be0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.0042e0f0
add esp, 8
mov byte [ebp - 4], 5
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x4370a9
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x23c], edi
jb 0x4370cb
mov edx, dword [ebp - 0x250]
push edx
call fcn.00440737
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 0x4370fc
mov eax, dword [ebp - 0x234]
push eax
call fcn.00440737
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 0x437125
push 0x15
push str.reader_update_req.xml
jmp 0x43712c
push 0x1a
push 0x58f378
call fcn.00409220
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.005437e5
mov esp, ebp
pop ebp
ret 8