Function at 0x5ef220
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov al, byte [0x870c08]
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push ecx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x14]
push 0x830314
push edx
call dword [sym.imp.kernel32.dll_lstrcatA]
mov eax, dword [0x8b16c0]
cmp eax, 0x3e8
jge 0x5ef279
mov dword [0x8b16c0], 0x3e8
jmp 0x5ef28a
cmp eax, 0x7d0
jle 0x5ef28a
mov dword [0x8b16c0], 0x7d0
mov eax, dword [0x8b16b4]
cmp eax, 0x80
jge 0x5ef2a2
mov dword [0x8b16b4], 0x80
jmp 0x5ef2b3
cmp eax, 0x200
jle 0x5ef2b3
mov dword [0x8b16b4], 0x200
mov eax, dword [0x8b16bc]
cmp eax, 0x14
jge 0x5ef2c9
mov dword [0x8b16bc], 0x14
jmp 0x5ef2d8
cmp eax, 0x30
jle 0x5ef2d8
mov dword [0x8b16bc], 0x30
mov eax, dword [0x8b169c]
lea ecx, [esp + 8]
push eax
push 0x82b618
push ecx
call fcn.007a3155
mov esi, dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x83030c
push 0x830304
call esi
mov ecx, dword [0x8b16a0]
lea edx, [esp + 8]
push ecx
push 0x82b618
push edx
call fcn.007a3155
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x8302f8
push 0x830304
call esi
mov edx, dword [0x8b16a4]
lea eax, [esp + 8]
push edx
push 0x82b618
push eax
call fcn.007a3155
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x8302ec
push 0x830304
call esi
mov eax, dword [0x8b1698]
lea ecx, [esp + 8]
push eax
push 0x82b618
push ecx
call fcn.007a3155
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x8302e8
push 0x8302e0
call esi
mov ecx, dword [0x8b16a8]
lea edx, [esp + 8]
push ecx
push 0x82b618
push edx
call fcn.007a3155
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x8302d8
push 0x8302cc
call esi
mov edx, dword [0x8b16ac]
lea eax, [esp + 8]
push edx
push 0x82b618
push eax
call fcn.007a3155
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x8302c4
push 0x8302cc
call esi
mov eax, dword [0x8b16b0]
lea ecx, [esp + 8]
push eax
push 0x82b618
push ecx
call fcn.007a3155
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x8302b8
push 0x8302cc
call esi
mov ecx, dword [0x8b16b4]
lea edx, [esp + 8]
push ecx
push 0x82b618
push edx
call fcn.007a3155
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x8302ac
push 0x8302cc
call esi
mov edx, dword [0x8b16bc]
lea eax, [esp + 8]
push edx
push 0x82b618
push eax
call fcn.007a3155
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x8302ac
push 0x8302a4
call esi
mov eax, dword [0x8b16c0]
lea ecx, [esp + 8]
push eax
push 0x82b618
push ecx
call fcn.007a3155
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x82d534
push 0x83029c
call esi
mov al, byte [0x8b16c9]
test al, al
je 0x5ef4c5
lea ecx, [esp + 8]
push 0x82b614
push ecx
jmp 0x5ef4cf
lea edx, [esp + 8]
push 0x82b624
push edx
mov edi, dword [sym.imp.kernel32.dll_lstrcpyA]
call edi
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x830298
push 0x8302a4
call esi
mov al, byte [0x8b16ca]
test al, al
je 0x5ef502
lea edx, [esp + 8]
push 0x82b614
push edx
jmp 0x5ef50c
lea eax, [esp + 8]
push 0x82b624
push eax
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x83029c
push 0x8302a4
call esi
mov al, byte [0x8b16cb]
test al, al
je 0x5ef539
lea eax, [esp + 8]
push 0x82b614
push eax
jmp 0x5ef543
lea ecx, [esp + 8]
push 0x82b624
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x83028c
push 0x8302a4
call esi
mov al, byte [0x8b16cc]
test al, al
je 0x5ef570
lea ecx, [esp + 8]
push 0x82b614
push ecx
jmp 0x5ef57a
lea edx, [esp + 8]
push 0x82b624
push edx
call edi
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x83027c
push 0x830274
call esi
mov al, byte [0x8b16cd]
test al, al
je 0x5ef5a7
lea edx, [esp + 8]
push 0x82b614
push edx
jmp 0x5ef5b1
lea eax, [esp + 8]
push 0x82b624
push eax
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x830268
push 0x830260
call esi
mov al, byte [0x8b16ce]
test al, al
je 0x5ef5de
lea eax, [esp + 8]
push 0x82b614
push eax
jmp 0x5ef5e8
lea ecx, [esp + 8]
push 0x82b624
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x830250
push 0x830240
call esi
pop edi
pop esi
add esp, 0x110
ret