Function at 0x4efb70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x68c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x48]
mov eax, 5
push edx
xor ebx, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], eax
push 0x4b
lea eax, [esp + 0x64]
xor ebp, ebp
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
xor esi, esi
mov dword [esp + 0x68], 4
mov dword [esp + 0x80], 1
mov dword [esp + 0x8c], 3
mov dword [esp + 0x98], 2
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call dword [0x636618]
test eax, eax
je 0x4efe95
mov eax, dword [esp + 0x74]
and al, 4
sub al, 4
neg al
sbb eax, eax
inc eax
mov ebp, eax
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x4efc27
push eax
call fcn.0043a540
mov ecx, dword [esp + 0x60]
add esp, 4
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4efc53
mov edx, dword [esp + 0x6a0]
push edx
push eax
call fcn.004ef2b0
mov esi, eax
mov eax, dword [esp + 0x88]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x4efc8e
cmp esi, ebx
jne 0x4efc81
push eax
call fcn.0043a540
mov esi, eax
mov eax, dword [esp + 0x90]
add esp, 4
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4efc92
mov esi, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4efc92
mov esi, dword [esp + 0x14]
cmp ebp, ebx
je 0x4efe75
cmp dword [edi], ebx
je 0x4efe75
cmp dword [edi + 0xc], ebx
je 0x4efe75
cmp dword [esp + 0x10], ebx
jne 0x4efcea
push 3
push 0x400
lea ecx, [esp + 0x2a4]
push ecx
call dword [0x63660c]
test eax, eax
je 0x4efe86
lea edx, [esp + 0x29c]
push edx
call fcn.0043a540
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4efe86
lea eax, [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [0x63662c]
cmp eax, ebx
mov dword [esp + 0x34], 0x4efa90
mov dword [esp + 0x38], 0x4efad0
mov dword [esp + 0x3c], fcn.004ef950
mov dword [esp + 0x40], 0x4efb20
jne 0x4efdc7
lea ecx, [esp + 0x198]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4efdba
lea edx, [esp + 0x94]
push edx
push ebx
push ebx
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4efdba
mov eax, dword [0x63661c]
cmp eax, ebx
je 0x4efdba
mov edx, dword [esp + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x9c]
push ecx
push edx
push ebx
call eax
test eax, eax
jne 0x4efdba
lea eax, [esp + 0x94]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4efd80
sub eax, edx
inc eax
push eax
call fcn.0043f080
add esp, 4
cmp eax, ebx
mov dword [0x63662c], eax
je 0x4efe75
lea ecx, [esp + 0x94]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x4efdb0
mov eax, dword [0x63662c]
cmp eax, ebx
je 0x4efe75
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push eax
push ebx
call dword [0x636614]
test eax, eax
je 0x4efe75
mov ebp, dword [esp + 0x6a0]
mov edi, dword [esp + 0x6a4]
push ebp
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004ef230
mov eax, ebp
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4efe12
sub eax, edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x28]
push ebp
push edx
push eax
call dword [0x636608]
test eax, eax
je 0x4efe60
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4efe60
push eax
call fcn.0043a540
add esp, 4
call fcn.004ef3f0
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
call dword [0x636610]
lea ecx, [esp + 0x1c]
call fcn.00402640
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4efe86
push eax
call fcn.0043f0a0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x68c
ret 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x68c
ret 8