Function at 0x1004419d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.10101428
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1010b24e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10044204
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10044200
imul eax, dword [ebx]
jmp 0x100441f5
mov ecx, eax
test ecx, ecx
je 0x10044223
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1004421c
push ebx
push eax
call fcn.10101422
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1004420a
call fcn.10101422
add esp, 4
mov eax, 0x1010b24e
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
call fcn.1003bd94
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10044252
mov eax, 0x1010b29a
push eax
push 1
mov ebx, 0x198
call fcn.10102aa0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004354f
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10044284
push ebx
call fcn.10101422
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x168
call fcn.10102fd0
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.1000c488
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100442c9
push ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100442d9
push ebx
call fcn.10101422
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.1004361a
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100442f5
push ebx
call fcn.10101422
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.100179a4
push 0x80000301
push 0
push 0x7fff
push 1
mov ebx, 0x1bc
call fcn.10102410
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10044338
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x7fff
mov eax, dword [ebp - 8]
test eax, eax
je 0x10044353
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1004437a
push 0x14d
push 0x4242cd4
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1004439a
mov eax, 0x1010b24e
push eax
push 2
mov ebx, 0x1a0
call fcn.10102f30
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100443c4
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push htons
push 0
push 0x10139392
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100443ed
mov eax, 0x1010b24e
push eax
push 3
mov ebx, 0x1c4
call fcn.10105e90
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10044425
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10044421
imul eax, dword [ebx]
jmp 0x10044416
mov ecx, eax
test ecx, ecx
je 0x10044444
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1004443d
push ebx
push eax
call fcn.10101422
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1004442b
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001089
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0
jge 0x10044481
push 0x227
push 0x4242cd4
push 0xa
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ebx, [ebp - 0x20]
call fcn.10001069
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10101428
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x1c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.10001069
pop edx
test ecx, ecx
je 0x100444df
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100444d5
push ebx
call fcn.10101422
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x100444c4
pop edx
pop edi
test edx, edx
je 0x100444ed
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.10101422
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10044603
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10044543
push 0x2a7
push 0x4242cd4
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10044560
push 0x2a7
push 0x4242cd4
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1004458f
push 0x2c7
push 0x4242cd4
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100445ac
push 0x2c7
push 0x4242cd4
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push htons
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x100445c9
mov eax, 0x1010b24e
push eax
push 1
mov ebx, 0x168
call fcn.10102fd0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100445f5
push ebx
call fcn.10101422
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x1004450c
add esp, 0xc
push dword [ebp - 4]
call fcn.1001aa4d
push dword [ebp - 4]
call fcn.10015d2b
mov ebx, dword [ebp - 0x10]
call fcn.10001089
jmp 0x10044623
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10044634
push ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10044652
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1004464e
imul eax, dword [ebx]
jmp 0x10044643
mov ecx, eax
test ecx, ecx
je 0x10044671
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1004466a
push ebx
push eax
call fcn.10101422
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10044658
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8