Function at 0x536650
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x553278
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edi
mov word [esp + 0x14], cx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x7c], ebx
cmp eax, ebx
je 0x536735
push eax
lea ecx, [esp + 0x20]
call fcn.0052c2d0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 1
call fcn.004057f0
mov esi, 8
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x34], esi
jb 0x536702
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00505cfe
add esp, 4
cmp ebp, ebx
jbe 0x536844
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x536718
lea eax, [esp + 0x3c]
push eax
call fcn.00536050
xor ecx, ecx
add esp, 4
cmp edx, ecx
ja 0x536844
jb 0x536735
cmp eax, ebp
jae 0x536844
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x14]
push edx
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x536774
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0052c2d0
cmp dword [esp + 0x50], 8
jb 0x53676d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00505cfe
add esp, 4
mov eax, esi
jmp 0x536968
push esi
lea ecx, [esp + 0x3c]
call fcn.00535fe0
push eax
push esi
call edi
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x536795
lea eax, [esp + 0x3c]
push eax
call fcn.00536450
mov ecx, dword [esp + 0x50]
add esp, 4
cmp eax, ecx
ja 0x5367b4
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.00405dd0
jmp 0x5367c1
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00406e30
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x5367cf
lea eax, [esp + 0x3c]
push eax
xor esi, esi
call fcn.00536050
add esp, 4
cmp edx, esi
ja 0x53683b
jb 0x5367e4
cmp eax, ebp
jae 0x53683b
lea edx, [esp + 0x38]
push edx
call fcn.00536500
add esp, 4
test al, al
je 0x53681b
cmp ebp, ebx
jbe 0x53683b
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x536808
lea eax, [esp + 0x3c]
push eax
call fcn.00536050
add esp, 4
cmp edx, esi
ja 0x53683b
jb 0x53681b
cmp eax, ebp
jae 0x53683b
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0052c2d0
lea ecx, [esp + 0x38]
call fcn.00472090
mov eax, esi
jmp 0x536968
mov edi, dword [esp + 0x18]
mov esi, 8
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
push ebx
push 0x104
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00406e30
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x53687e
ja 0x53687e
call fcn.00504600
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x53688c
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x53689a
lea ecx, [esp + 0x3c]
push eax
push ebx
push 0x56e148
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x5368eb
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.0052c2d0
cmp dword [esp + 0x6c], esi
jb 0x5368cb
mov eax, dword [esp + 0x58]
push eax
call fcn.00505cfe
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp dword [esp + 0x50], esi
jb 0x536966
mov edx, dword [esp + 0x3c]
push edx
jmp 0x53695e
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x5368f9
lea eax, [esp + 0x58]
push eax
call fcn.00536450
mov ecx, dword [esp + 0x6c]
add esp, 4
cmp eax, ecx
ja 0x536918
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x5c]
call fcn.00405dd0
jmp 0x536925
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00406e30
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.0052c260
cmp dword [esp + 0x6c], esi
jb 0x536944
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00505cfe
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
cmp dword [esp + 0x50], esi
jb 0x536966
mov eax, dword [esp + 0x3c]
push eax
call fcn.00505cfe
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005060ef
add esp, 0x6c
ret