Function at 0x5c93a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov al, byte [0x7c4d88]
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 0x7a85e4
push edx
call dword [sym.imp.kernel32.dll_lstrcatA]
mov eax, dword [0x8056d8]
cmp eax, 0x3e8
jge 0x5c93f9
mov dword [0x8056d8], 0x3e8
jmp 0x5c940a
cmp eax, 0x7d0
jle 0x5c940a
mov dword [0x8056d8], 0x7d0
mov eax, dword [0x8056cc]
cmp eax, 0x80
jge 0x5c9422
mov dword [0x8056cc], 0x80
jmp 0x5c9433
cmp eax, 0x200
jle 0x5c9433
mov dword [0x8056cc], 0x200
mov eax, dword [0x8056d4]
cmp eax, 0x14
jge 0x5c9449
mov dword [0x8056d4], 0x14
jmp 0x5c9458
cmp eax, 0x30
jle 0x5c9458
mov dword [0x8056d4], 0x30
mov eax, dword [0x8056b4]
lea ecx, [esp + 8]
push eax
push 0x7a3f58
push ecx
call fcn.00727335
mov esi, dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a85dc
push 0x7a85d4
call esi
mov ecx, dword [0x8056b8]
lea edx, [esp + 8]
push ecx
push 0x7a3f58
push edx
call fcn.00727335
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x7a85c8
push 0x7a85d4
call esi
mov edx, dword [0x8056bc]
lea eax, [esp + 8]
push edx
push 0x7a3f58
push eax
call fcn.00727335
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x7a85bc
push 0x7a85d4
call esi
mov eax, dword [0x8056b0]
lea ecx, [esp + 8]
push eax
push 0x7a3f58
push ecx
call fcn.00727335
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a85b8
push 0x7a85b0
call esi
mov ecx, dword [0x8056c0]
lea edx, [esp + 8]
push ecx
push 0x7a3f58
push edx
call fcn.00727335
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x7a85a8
push 0x7a859c
call esi
mov edx, dword [0x8056c4]
lea eax, [esp + 8]
push edx
push 0x7a3f58
push eax
call fcn.00727335
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x7a8594
push 0x7a859c
call esi
mov eax, dword [0x8056c8]
lea ecx, [esp + 8]
push eax
push 0x7a3f58
push ecx
call fcn.00727335
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a8588
push 0x7a859c
call esi
mov ecx, dword [0x8056cc]
lea edx, [esp + 8]
push ecx
push 0x7a3f58
push edx
call fcn.00727335
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x7a857c
push 0x7a859c
call esi
mov edx, dword [0x8056d4]
lea eax, [esp + 8]
push edx
push 0x7a3f58
push eax
call fcn.00727335
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x7a857c
push 0x7a8574
call esi
mov eax, dword [0x8056d8]
lea ecx, [esp + 8]
push eax
push 0x7a3f58
push ecx
call fcn.00727335
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a5af0
push 0x7a856c
call esi
mov al, byte [0x8056e1]
test al, al
je 0x5c9645
lea ecx, [esp + 8]
push 0x7a3f54
push ecx
jmp 0x5c964f
lea edx, [esp + 8]
push 0x7a3f64
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 0x7a8568
push 0x7a8574
call esi
mov al, byte [0x8056e2]
test al, al
je 0x5c9682
lea edx, [esp + 8]
push 0x7a3f54
push edx
jmp 0x5c968c
lea eax, [esp + 8]
push 0x7a3f64
push eax
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x7a856c
push 0x7a8574
call esi
mov al, byte [0x8056e3]
test al, al
je 0x5c96b9
lea eax, [esp + 8]
push 0x7a3f54
push eax
jmp 0x5c96c3
lea ecx, [esp + 8]
push 0x7a3f64
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a855c
push 0x7a8574
call esi
mov al, byte [0x8056e4]
test al, al
je 0x5c96f0
lea ecx, [esp + 8]
push 0x7a3f54
push ecx
jmp 0x5c96fa
lea edx, [esp + 8]
push 0x7a3f64
push edx
call edi
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ecx
push 0x7a854c
push 0x7a8544
call esi
mov al, byte [0x8056e5]
test al, al
je 0x5c9727
lea edx, [esp + 8]
push 0x7a3f54
push edx
jmp 0x5c9731
lea eax, [esp + 8]
push 0x7a3f64
push eax
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0x7a8538
push 0x7a8530
call esi
mov al, byte [0x8056e6]
test al, al
je 0x5c975e
lea eax, [esp + 8]
push 0x7a3f54
push eax
jmp 0x5c9768
lea ecx, [esp + 8]
push 0x7a3f64
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
push eax
push 0x7a8520
push 0x7a8510
call esi
pop edi
pop esi
add esp, 0x110
ret