Function at 0x4a8e8b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov dword [ebp - 0x230], ecx
cmp dword [0x67aa9c], 0
je 0x4a8ea8
jmp 0x4a9b20
push 0x6785ac
call fcn.0054ce70
add esp, 4
test eax, eax
je 0x4a8ecf
push 0x6785ac
lea eax, [ebp - 0x1d4]
push eax
call fcn.0054be90
add esp, 8
jmp 0x4a8ef2
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.00529440
add esp, 4
push 0x5c2850
lea edx, [ebp - 0x1d4]
push edx
call fcn.0054bea0
add esp, 8
push 0x80
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.0054bf90
add esp, 0xc
push str.LISTHIDE
lea ecx, [ebp - 0x94]
push ecx
call fcn.0054be90
add esp, 8
mov ecx, dword [ebp - 0x230]
call fcn.004be0f0
mov dword [ebp - 0x1fc], eax
push 2
mov ecx, dword [ebp - 0x1fc]
call fcn.004be060
mov dword [ebp - 0xb8], eax
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.004be410
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
and ecx, 8
test ecx, ecx
je 0x4a9547
lea edx, [ebp - 0x1d4]
push edx
push 0x5c286c
lea eax, [ebp - 0x94]
push eax
push 0x5c2870
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [0x5ea024], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x3ec
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x200], eax
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x200]
call fcn.00568f03
push 0x899
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x208]
call fcn.00411570
mov ecx, dword [ebp - 0x208]
call fcn.00401600
mov dword [ebp - 0x200], eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x200]
call fcn.00568f03
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1d8], eax
lea ecx, [ebp - 0xa4]
push ecx
push 0x45b
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x45b
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x200], eax
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0x200]
call fcn.00568f03
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xb4]
push edx
push 0x412
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x412
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x200]
call fcn.00568f03
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xb4]
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4a9123
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 2
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
add ecx, dword [ebp - 0x210]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
add edx, dword [ebp - 0x210]
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x1ec]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
add ecx, dword [ebp - 0x210]
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e4]
add edx, dword [ebp - 0x210]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e0]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 8]
and ecx, reloc.WSOCK32.dll_accept
jns 0x4a91e0
dec ecx
or ecx, 0xfffffffe
inc ecx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 8]
add edx, 5
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
add ecx, dword [ebp - 0x210]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
add edx, dword [ebp - 0x210]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x204], 1
jmp 0x4a9254
mov eax, dword [ebp - 0x204]
add eax, 1
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0x11
jge 0x4a93ba
mov ecx, dword [ebp - 0x204]
sub ecx, 1
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4a9277
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
jne 0x4a928a
mov edx, dword [ebp - 0x20c]
add edx, 1
mov dword [ebp - 0x20c], edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + edx*4 - 0xd4]
push eax
mov ecx, dword [ebp - 0x204]
sub ecx, 1
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4a92bb
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [ebp + ecx*4 - 0x1f8]
push edx
mov eax, dword [ebp - 0x204]
add eax, 0x45a
push eax
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.005656ee
push 1
push 0x14
mov eax, dword [ebp - 0xc4]
cdq
sub eax, edx
sar eax, 1
sub eax, 4
push eax
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp + ecx*4 - 0xd4]
push edx
mov eax, dword [ebp - 0x204]
sub eax, 1
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4a931a
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp - 0xc4]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp + ecx*4 - 0x1f8]
add edx, eax
push edx
mov eax, dword [ebp - 0x204]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + eax + 0x10e0]
call fcn.005656ee
mov edx, dword [ebp - 0x204]
add edx, 0x898
push edx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x208], eax
push 1
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + edx*4 - 0xd4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x204]
sub ecx, 1
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4a939f
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [ebp + ecx*4 - 0x1f8]
add edx, 0xa
push edx
mov ecx, dword [ebp - 0x208]
call fcn.005656ee
jmp 0x4a9245
cmp dword [0x5ea028], 0
je 0x4a945e
mov dword [ebp - 0x214], 1
jmp 0x4a93e2
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x11
jge 0x4a9459
push 0
mov ecx, dword [ebp - 0x214]
add ecx, 0x45a
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.0056577e
push 0
mov edx, dword [ebp - 0x214]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x230]
lea ecx, [eax + edx + 0x10e0]
call fcn.0056577e
mov ecx, dword [ebp - 0x214]
add ecx, 0x898
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x208], eax
push 0
mov ecx, dword [ebp - 0x208]
call fcn.0056577e
jmp 0x4a93d3
jmp 0x4a9516
mov dword [ebp - 0x204], 1
jmp 0x4a9479
mov edx, dword [ebp - 0x204]
add edx, 1
mov dword [ebp - 0x204], edx
mov eax, dword [0x673b98]
add eax, 1
cmp dword [ebp - 0x204], eax
jge 0x4a9516
push 5
mov ecx, dword [ebp - 0x204]
add ecx, 0x45a
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.0056577e
push 0x6784a8
push 0
push 0x5c2878
push 0x5c2888
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4a94e6
push 5
mov edx, dword [ebp - 0x204]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x230]
lea ecx, [eax + edx + 0x10e0]
call fcn.0056577e
mov ecx, dword [ebp - 0x204]
add ecx, 0x898
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x208], eax
push 5
mov ecx, dword [ebp - 0x208]
call fcn.0056577e
jmp 0x4a946a
push 5
mov ecx, dword [0x5eaa50]
call fcn.0056577e
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.004be000
mov ecx, dword [ebp - 0x230]
call fcn.004b9087
jmp 0x4a9b0c
lea ecx, [ebp - 0x1d4]
push ecx
push 0x5c2894
lea edx, [ebp - 0x94]
push edx
push 0x5c2898
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [0x5ea024], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x5eaa50]
call fcn.00411570
mov ecx, dword [0x5eaa50]
call fcn.00401600
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00568f03
lea edx, [ebp - 0xb4]
push edx
push 0x3ec
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x3ec
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00568f03
push 0x899
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00411570
mov ecx, dword [ebp - 0x220]
call fcn.00401600
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00568f03
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x1d8], ecx
lea edx, [ebp - 0xa4]
push edx
push 0x45b
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x45b
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00568f03
mov ecx, dword [ebp - 0x9c]
sub ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0xa0]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xb4]
push eax
push 0x412
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00411570
push 0x412
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.00401600
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00568f03
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
and edx, reloc.WSOCK32.dll_closesocket
jns 0x4a972e
dec edx
or edx, 0xfffffffc
inc edx
sub eax, edx
sub eax, 0x1c
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x14]
add eax, 0xe
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
add ecx, dword [ebp - 0x228]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f4]
add edx, dword [ebp - 0x228]
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
add eax, dword [ebp - 0x228]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0x10]
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4a97a3
dec ecx
or ecx, 0xfffffffc
inc ecx
sub eax, ecx
sub eax, 0x1c
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x10]
add edx, 0xe
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x228]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
add ecx, dword [ebp - 0x228]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
add edx, dword [ebp - 0x228]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x21c], 1
jmp 0x4a981e
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x11
jge 0x4a9984
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4a9841
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
jne 0x4a9854
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp + edx*4 - 0xd4]
push eax
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4a9885
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [ebp + ecx*4 - 0x1f8]
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x45a
push eax
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.005656ee
push 1
push 0x14
mov eax, dword [ebp - 0xc4]
cdq
sub eax, edx
sar eax, 1
sub eax, 4
push eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp + ecx*4 - 0xd4]
push edx
mov eax, dword [ebp - 0x21c]
sub eax, 1
mov ecx, eax
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4a98e4
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, dword [ebp - 0xc4]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp + ecx*4 - 0x1f8]
add edx, eax
push edx
mov eax, dword [ebp - 0x21c]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + eax + 0x10e0]
call fcn.005656ee
mov edx, dword [ebp - 0x21c]
add edx, 0x898
push edx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x220], eax
push 1
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp + edx*4 - 0xd4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4a9969
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [ebp + ecx*4 - 0x1f8]
add edx, 0xa
push edx
mov ecx, dword [ebp - 0x220]
call fcn.005656ee
jmp 0x4a980f
cmp dword [0x5ea028], 0
je 0x4a9a28
mov dword [ebp - 0x22c], 1
jmp 0x4a99ac
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0x11
jge 0x4a9a23
push 0
mov ecx, dword [ebp - 0x22c]
add ecx, 0x45a
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.0056577e
push 0
mov edx, dword [ebp - 0x22c]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x230]
lea ecx, [eax + edx + 0x10e0]
call fcn.0056577e
mov ecx, dword [ebp - 0x22c]
add ecx, 0x898
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp - 0x220]
call fcn.0056577e
jmp 0x4a999d
jmp 0x4a9ae0
mov dword [ebp - 0x21c], 1
jmp 0x4a9a43
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [0x673b98]
add eax, 1
cmp dword [ebp - 0x21c], eax
jge 0x4a9ae0
push 5
mov ecx, dword [ebp - 0x21c]
add ecx, 0x45a
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov ecx, eax
call fcn.0056577e
push 0x6784a8
push 0
push 0x5c28a0
push 0x5c28b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4a9ab0
push 5
mov edx, dword [ebp - 0x21c]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x230]
lea ecx, [eax + edx + 0x10e0]
call fcn.0056577e
mov ecx, dword [ebp - 0x21c]
add ecx, 0x898
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005654d4
mov dword [ebp - 0x220], eax
push 5
mov ecx, dword [ebp - 0x220]
call fcn.0056577e
jmp 0x4a9a34
push 0
mov ecx, dword [0x5eaa50]
call fcn.0056577e
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.004be000
mov ecx, dword [ebp - 0x230]
call fcn.004b9087
push 0x105
push 0
push 0
mov ecx, dword [ebp - 0x230]
call fcn.00411670
mov esp, ebp
pop ebp
ret 4