Function at 0x4c1df0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f8a88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
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 0x4c1ed5
push eax
lea ecx, [esp + 0x20]
call fcn.00436550
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 1
call fcn.0041b190
mov esi, 8
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x34], esi
jb 0x4c1ea2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048d108
add esp, 4
cmp ebp, ebx
jbe 0x4c1fe4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4c1eb8
lea eax, [esp + 0x3c]
push eax
call fcn.004c1650
xor ecx, ecx
add esp, 4
cmp edx, ecx
ja 0x4c1fe4
jb 0x4c1ed5
cmp eax, ebp
jae 0x4c1fe4
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 0x4c1f14
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00436550
cmp dword [esp + 0x50], 8
jb 0x4c1f0d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048d108
add esp, 4
mov eax, esi
jmp 0x4c2108
push esi
lea ecx, [esp + 0x3c]
call fcn.004c15a0
push eax
push esi
call edi
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x4c1f35
lea eax, [esp + 0x3c]
push eax
call fcn.004c1a50
mov ecx, dword [esp + 0x50]
add esp, 4
cmp eax, ecx
ja 0x4c1f54
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.0041ad00
jmp 0x4c1f61
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00447e90
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4c1f6f
lea eax, [esp + 0x3c]
push eax
xor esi, esi
call fcn.004c1650
add esp, 4
cmp edx, esi
ja 0x4c1fdb
jb 0x4c1f84
cmp eax, ebp
jae 0x4c1fdb
lea edx, [esp + 0x38]
push edx
call fcn.004c1c30
add esp, 4
test al, al
je 0x4c1fbb
cmp ebp, ebx
jbe 0x4c1fdb
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x4c1fa8
lea eax, [esp + 0x3c]
push eax
call fcn.004c1650
add esp, 4
cmp edx, esi
ja 0x4c1fdb
jb 0x4c1fbb
cmp eax, ebp
jae 0x4c1fdb
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00436550
lea ecx, [esp + 0x38]
call fcn.00435d50
mov eax, esi
jmp 0x4c2108
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.00447e90
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4c201e
ja 0x4c201e
call fcn.00487c3c
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x4c202c
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4c203a
lea ecx, [esp + 0x3c]
push eax
push ebx
push 0x50da40
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4c208b
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00436550
cmp dword [esp + 0x6c], esi
jb 0x4c206b
mov eax, dword [esp + 0x58]
push eax
call fcn.0048d108
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 0x4c2106
mov edx, dword [esp + 0x3c]
push edx
jmp 0x4c20fe
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x4c2099
lea eax, [esp + 0x58]
push eax
call fcn.004c1a50
mov ecx, dword [esp + 0x6c]
add esp, 4
cmp eax, ecx
ja 0x4c20b8
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x5c]
call fcn.0041ad00
jmp 0x4c20c5
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00447e90
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.004c14c0
cmp dword [esp + 0x6c], esi
jb 0x4c20e4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0048d108
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 0x4c2106
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048d108
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.0048d9be
add esp, 0x6c
ret