Function at 0x404c49
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x427a48
call fcn.0041b8d0
sub esp, 0x444
push ebx
push esi
push edi
push 0x3014
lea ecx, [ebp - 0x20]
call fcn.004133d0
and dword [ebp - 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
mov ebx, 0x401650
jne 0x404c7b
mov ecx, ebx
mov edx, dword [ebp + 8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x404c7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041341e
push 0x3003
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
test eax, eax
jne 0x404cb1
mov eax, ebx
mov esi, 0x104
push esi
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041ba87
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041341e
push 0x3012
lea ecx, [ebp - 0x30]
call fcn.004133d0
mov edi, eax
mov dword [ebp - 4], 2
push 0x3004
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x404d03
mov ecx, ebx
mov eax, dword [eax + 4]
test eax, eax
jne 0x404d0c
mov eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x240]
push edx
push 0x105
lea edx, [ebp - 0x138]
push edx
push ebx
push ecx
push eax
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0041341e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041341e
push 0x3013
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
push 0x3004
lea ecx, [ebp - 0x30]
call fcn.004133d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x404d76
mov ecx, ebx
mov eax, dword [eax + 4]
test eax, eax
jne 0x404d7f
mov eax, ebx
lea edx, [ebp - 0x240]
push edx
push 0x105
lea edx, [ebp - 0x348]
push edx
push ebx
push ecx
push eax
call edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0041341e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041341e
push 0x300f
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 6
push 0x3004
lea ecx, [ebp - 0x30]
call fcn.004133d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x404de3
mov ecx, ebx
mov eax, dword [eax + 4]
test eax, eax
jne 0x404dec
mov eax, ebx
lea edx, [ebp - 0x240]
push edx
push 0x105
lea edx, [ebp - 0x450]
push edx
push ebx
push ecx
push eax
call edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.0041341e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041341e
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x138]
push 0x401654
push eax
call fcn.0041b9b7
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041b9b7
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x138]
push 0x401654
push eax
call fcn.0041b9b7
add esp, 0x24
push 0x3004
lea ecx, [ebp - 0x30]
call fcn.004133d0
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
test eax, eax
je 0x404eb0
mov ebx, eax
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x138]
push ebx
push eax
call fcn.0041b9b7
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041341e
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
mov ebx, 0x401654
lea eax, [ebp - 0x138]
push ebx
push eax
call fcn.0041b9b7
xor eax, eax
or ecx, 0xffffffff
lea edi, [ebp - 0x138]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041b9b7
mov edi, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
push eax
push ebx
push dword [ebp + 8]
call fcn.0041b9b7
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub esi, ecx
push esi
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 8]
call fcn.0041b9b7
mov ecx, dword [ebp - 0xc]
add esp, 0x30
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4