Function at 0x41d430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52146a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x565e78]
push ebx
push esi
mov dword [ebp - 0x14], eax
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0x56b5e8
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d476
sub eax, edx
push eax
push 0x56b5e8
lea ecx, [ebp - 0x4c]
call fcn.00401b10
push 0xe
push str.dummylist.dat
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.00407970
lea ecx, [ebp - 0x10c]
call fcn.004fd847
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x41d4ba
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
lea ecx, [ebp - 0x10c]
call fcn.004fdadf
test eax, eax
je 0x41d594
push 4
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004fd55a
push 4
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004fd55a
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xe8]
push edx
call fcn.004fa771
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe8]
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], esi
call fcn.004fd55a
cmp eax, dword [ebp - 0xe8]
jae 0x41d54c
push esi
call fcn.004fa776
add esp, 4
jmp 0x41d589
mov eax, dword [ebp - 0xf0]
lea ecx, [edi + 0x1128]
lea edx, [ebp - 0x118]
mov dword [edi + 0x1124], eax
call fcn.00421310
push esi
call fcn.004fa776
add esp, 4
jmp 0x41d589
lea ecx, [ebp - 0x10c]
call fcn.004fd7e5
mov eax, 0x56b5e8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d5b0
sub eax, edx
push eax
push 0x56b5e8
lea ecx, [ebp - 0x30]
call fcn.00401b10
push 0xb
push str.config.ini
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00407970
push str.login
lea ecx, [ebp - 0xec]
call fcn.00402030
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d5fa
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xec]
push eax
push ebx
push str.count
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
add edi, 0x1138
mov ebx, edi
mov dword [ebp - 0xf8], esi
call fcn.00414340
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 6
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 7
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 8
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
xor ebx, ebx
test esi, esi
mov byte [ebp - 4], 9
jle 0x41d818
mov edi, edi
push ebx
lea eax, [ebp - 0xf0]
push str.areaId_d
push eax
call fcn.00405820
push ebx
lea ecx, [ebp - 0xf4]
push str.name_d
push ecx
call fcn.00405820
push ebx
lea edx, [ebp - 0xe8]
push str.ip_d
push edx
call fcn.00405820
push ebx
lea eax, [ebp + 8]
push str.port_d
push eax
call fcn.00405820
mov eax, dword [ebp - 0x18]
add esp, 0x30
cmp eax, 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d6e6
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [0x56ba6c]
test ecx, ecx
mov dword [ebp - 0xfc], eax
je 0x41d719
cmp eax, dword [0x56ba28]
jne 0x41d80f
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d725
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xec]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x20
lea eax, [ebp - 0xe4]
push eax
push 0x53a3bc
push ecx
push edx
call esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d756
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xec]
push eax
push 0x20
lea eax, [ebp - 0xc4]
push eax
push 0x53a3bc
push ecx
push edx
call esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d781
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xec]
push eax
mov eax, dword [ebp + 8]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x9c], al
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x78], al
mov edx, dword [ebp - 0xfc]
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x84], edx
call fcn.00401e50
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00401e50
lea ecx, [ebp - 0xa4]
mov eax, edi
mov dword [ebp - 0x60], esi
call fcn.00420850
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.00425b30
mov esi, dword [ebp - 0xf8]
inc ebx
cmp ebx, esi
jl 0x41d690
lea ecx, [ebp + 8]
call fcn.00401ab0
lea ecx, [ebp - 0xe8]
call fcn.00401ab0
lea ecx, [ebp - 0xf4]
call fcn.00401ab0
lea ecx, [ebp - 0xf0]
call fcn.00401ab0
lea ecx, [ebp - 0xec]
call fcn.00401ab0
lea ecx, [ebp - 0x30]
call fcn.004cfac0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0
call fcn.004fd886
lea ecx, [ebp - 0x4c]
call fcn.004cfac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004b6cac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4