Function at 0x407d31
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40ed53
call fcn.0040e1b0
mov eax, 0x754c
call fcn.0040e2d0
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x28], ebx
push 2
lea ecx, [ebp + 0x14]
pop esi
push 0x3a
mov dword [ebp - 4], esi
call fcn.0040cff7
cmp eax, 0xffffffff
jne 0x407dd3
lea eax, [ebp - 0x10]
push esi
push eax
lea ecx, [ebp + 0x14]
call fcn.0040d560
push 0x414990
push eax
mov byte [ebp - 4], 3
call fcn.0040d164
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 2
call fcn.0040ca77
cmp byte [ebp - 0x15], bl
je 0x407dd3
lea eax, [ebp - 0x20]
push eax
call fcn.0040849f
pop ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ccdf
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 5
call fcn.0040cbc5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040ca77
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040ca77
lea ecx, [ebp + 0x14]
call fcn.0040d0c0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x407df3
mov dword [ebp - 0x20], ebx
jmp 0x407e23
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
add eax, 3
and al, 0xfc
call fcn.0040e2d0
mov eax, esp
push ebx
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0x18]
call fcn.0040d0c0
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x407e37
mov dword [ebp - 0x1c], ebx
jmp 0x407e67
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
add eax, 3
and al, 0xfc
call fcn.0040e2d0
mov eax, esp
push ebx
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], ebx
jne 0x407e71
mov dword [ebp - 0x10], ebx
jmp 0x407ea3
push dword [ebp + 0x10]
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
add eax, 3
and al, 0xfc
call fcn.0040e2d0
mov eax, esp
push ebx
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], ebx
jne 0x407eac
xor esi, esi
jmp 0x407ed5
push dword [ebp + 0xc]
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
add eax, 3
and al, 0xfc
call fcn.0040e2d0
mov esi, esp
push ebx
push ebx
push dword [ebp - 0x14]
mov byte [esi], bl
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call edi
push dword [ebp - 0x20]
mov edi, 0x270f
lea eax, [ebp - 0x2738]
push edi
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jne 0x407f3b
lea ecx, [ebp + 0x14]
mov word [ebp - 0x7558], bx
call fcn.0040d0c0
push eax
lea eax, [ebp - 0x7558]
push edi
push eax
lea ecx, [ebp + 0x18]
call fcn.0040d0c0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x7558]
push eax
call fcn.0040caf0
mov dword [ebp - 0x28], 1
jmp 0x407fb6
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x407f48
mov dword [ebp + 0x1c], 0x3b5
lea eax, [ebp - 0x2738]
push eax
call sub.MSVCRT.dll_strlen
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0040d07e
push 0x2710
push esi
lea eax, [ebp - 0x2738]
push 0xffffffffffffffff
push eax
push ebx
push dword [ebp + 0x1c]
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [ebp - 0x24]
call fcn.0040cc34
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [ebp - 0x24]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040c8b9
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 2
call fcn.0040ca77
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.0040ca77
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040ca77
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x7564]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret