Function at 0x424f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424fb0
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408700
push 0xb
push str.config.ini
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406d90
mov byte [ebp - 0x2c], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x424feb
mov eax, dword [eax]
push dword [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041f690
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
call fcn.00424c60
add esp, 0x14
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x64]
call fcn.00406c00
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x42504e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x425044
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425044
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x42519d
lea eax, [ebp - 0x28]
push eax
call fcn.00421de0
add esp, 4
push 0xb
push str.config.ini
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00406d90
cmp dword [eax + 0x14], 0xf
jbe 0x42507e
mov eax, dword [eax]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x11c]
call fcn.00420130
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x120], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x4250f1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4250e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4250e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
push 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
add ecx, dword [eax + 4]
mov byte [ebp - 0x28], 0
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0041fec0
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.0041d5c0
test eax, eax
jne 0x425158
push eax
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
call fcn.0041b660
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xc]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret