Function at 0x426cd4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf55c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x14], ecx
push str.GINI::SetFile
lea ecx, [ebp - 0x70]
call fcn.00404f76
and dword [ebp - 4], 0
push 1
mov ecx, dword [ebp + 8]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x3a
jne 0x426d5c
push 2
mov ecx, dword [ebp + 8]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x426d34
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.00405662
jmp 0x426d57
push str.Invalid_path_r_n
call fcn.00403bd8
pop ecx
mov byte [ebp - 0xd], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004050e2
mov al, byte [ebp - 0xd]
jmp 0x426f2b
jmp 0x426e93
push 0
mov ecx, dword [ebp + 8]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x426e0e
push 1
mov ecx, dword [ebp + 8]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x426d91
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.00405662
jmp 0x426e09
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.004065f0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.004085af
dec eax
dec eax
push eax
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.004088c2
push dword [ebp + 8]
lea eax, [ebp - 0x49]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.00405bb0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
call fcn.00405662
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x49]
call fcn.004055b0
jmp 0x426e93
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.004065f0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x52]
push eax
push 0x4dae74
lea eax, [ebp - 0x5b]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 9
call fcn.00405cc1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
call fcn.00405662
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x52]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5b]
call fcn.004055b0
push dword [ebp - 0x14]
call fcn.0040a883
pop ecx
test eax, eax
jne 0x426f18
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x426ebd
mov byte [ebp - 0xe], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004050e2
mov al, byte [ebp - 0xe]
jmp 0x426f2b
lea ecx, [ebp - 0x40]
call fcn.004233ea
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.00424a31
test eax, eax
jne 0x426f0c
push str._GINI__File_does_not_exist_and_creation_failed_r_n
call fcn.00403bd8
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00406f8f
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0042354a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004050e2
mov al, byte [ebp - 0xf]
jmp 0x426f2b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0042354a
mov byte [ebp - 0x10], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004050e2
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8