Function at 0x4055fc
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41e0e2
call fcn.004132a4
sub esp, 0x294
mov eax, dword [0x4290c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2a0], ebx
push str.localhost
push 0x42ac28
mov dword [ebp - 4], ebx
call fcn.0041160a
test eax, eax
pop ecx
pop ecx
je 0x405655
push 0x420e24
push dword [ebp + 8]
call fcn.00405c43
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00402528
mov eax, dword [ebp + 8]
jmp 0x4058f6
push esi
push edi
call fcn.0040c972
mov esi, eax
cmp esi, ebx
je 0x405667
cmp dword [ebp + 0x10], ebx
je 0x405671
mov dword [0x429f9c], 0xa
mov eax, dword [0x42a1ac]
mov edi, 0x42a1ac
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 1
call fcn.0040a431
neg al
sbb eax, eax
and eax, 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
push 0x42aa20
push dword [0x42a104]
lea eax, [ebp - 0x29c]
push eax
call fcn.004023ad
add esp, 0x1c
cmp esi, ebx
je 0x4056e2
cmp dword [ebp + 0x10], ebx
je 0x4056e2
push 0x421dfc
lea eax, [ebp - 0x29c]
push eax
call fcn.00404c65
jmp 0x40570f
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.0040c719
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
lea esi, [ebp - 0x29c]
call fcn.00405cdc
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00402528
mov eax, dword [0x42a1ac]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 3
push dword [0x42b460]
lea eax, [ebp + 0x10]
push str.minitype_d
push eax
call fcn.00405c30
mov edi, dword [ebp + 0x10]
add esp, 0xc
push edi
lea esi, [ebp - 0x29c]
call fcn.00405cdc
push str.dycfgver
mov eax, esi
push eax
call fcn.00404c65
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040c5fd
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00404f59
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
call fcn.00402528
push str.filterword
mov eax, esi
push eax
call fcn.00404c65
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040c68b
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00404f59
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
call fcn.00402528
cmp word [0x42afd8], bx
je 0x4057e7
push dword [0x42a100]
mov eax, esi
push eax
call fcn.00404c65
push 0x42afd8
mov eax, esi
push eax
call fcn.00404c65
push 0x104
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x298]
push 0x5c
push eax
call fcn.00410e35
pop ecx
pop ecx
push dword [0x42a0f0]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x298]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x421dfc
push dword [0x42a0f8]
push dword [0x42a0f4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [0x42a0fc]
lea eax, [ebp - 0x29c]
push eax
call fcn.00404c65
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00404c65
push 0x4225fc
lea eax, [ebp - 0x29c]
push eax
call fcn.00404c65
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040529b
mov byte [ebp - 4], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x29c]
call fcn.00404f59
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
call fcn.00402528
push 0x4225f4
push 0x4225f0
lea eax, [ebp - 0x29c]
push eax
call fcn.004048f2
mov esi, dword [ebp - 0x29c]
add esi, 0xfffffff0
mov eax, esi
call fcn.00404cef
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
lea eax, [edi - 0x10]
call fcn.00402528
mov eax, esi
call fcn.00402528
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00402528
pop edi
mov eax, ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00412aab
leave
ret 0xc