Function at 0x401d60
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc1c
mov dl, byte [0x423790]
push ebx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
mov byte [esp + 0x424], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x425]
mov byte [esp + 0x824], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0xff
mov dword [esp + 0xd], eax
lea edi, [esp + 0x825]
mov dword [esp + 0x11], eax
xor ebx, ebx
mov dword [esp + 0x15], eax
mov byte [esp + 0xc], dl
mov dword [esp + 0x19], eax
mov dword [esp + 8], ebx
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401c50
push 0x41a2f8
push str.sc_serv.ban
mov dword [0x529a60], ebx
mov dword [0x52a930], ebx
call fcn.004118a7
add esp, 8
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x401e1f
push str.sc_serv.ban
push str._main__No_ban_file_found___s__n
call fcn.0040b170
add esp, 8
pop edi
pop ebx
add esp, 0xc1c
ret
push ebp
push esi
push str.sc_serv.ban
push str._main__Loading_ban_list___s__n
call fcn.0040b170
add esp, 8
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x42c]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x82c]
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
xor ecx, ecx
push esi
mov dword [esp + 0x18], ecx
push 0x400
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
call fcn.004117cd
mov al, byte [esi + 0xc]
add esp, 0xc
test al, 0x10
jne 0x40203b
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x2b], 0xa
je 0x401ec7
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x2b], 0xd
jne 0x401edb
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x2b], bl
jmp 0x401e9d
mov al, byte [esp + 0x2c]
lea ebp, [esp + 0x2c]
cmp al, bl
je 0x401ef3
cmp al, 0x3b
je 0x401ef3
mov al, byte [ebp + 1]
inc ebp
cmp al, bl
jne 0x401ee7
mov byte [ebp], bl
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x430]
push eax
push ecx
call fcn.004114b0
mov al, byte [ebp]
add esp, 0xc
cmp al, bl
mov esi, ebp
je 0x401f30
cmp al, 0x3b
je 0x401f30
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x401f24
mov byte [esi], bl
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
inc esi
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push edx
call fcn.004114b0
lea eax, [esp + 0x20]
push eax
call fcn.00411639
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x44c], bl
push ecx
lea ecx, [esp + 0x840]
push esi
push ecx
mov byte [esp + 0x34], bl
call fcn.004114b0
add esp, 0x1c
lea edx, [esp + 0x42c]
push edx
call sub.WSOCK32.dll_inet_addr
mov edi, eax
cmp edi, 0xffffffff
je 0x40202c
cmp edi, ebx
je 0x40202c
cmp ebp, 0xff
jbe 0x401fb9
mov eax, dword [esp + 0x10]
push eax
push str._ban__Line__d_of_ban_list_has_been_ignored_bad_MASK__n
jmp 0x401e2b
call fcn.00401cf0
mov esi, eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 4], edi
lea edi, [esp + 0x42c]
mov dword [esi + 8], ebp
lea edx, [esi + 0xc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x430]
push ecx
push edx
call fcn.004114b0
lea edi, [esp + 0x838]
or ecx, 0xffffffff
xor eax, eax
add esi, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x838]
push ecx
push eax
push esi
call fcn.004114b0
mov ecx, dword [0x529a60]
mov eax, dword [0x52a930]
add esp, 0x18
inc ecx
inc eax
mov dword [0x529a60], ecx
mov dword [0x52a930], eax
jmp 0x401e33
mov ecx, dword [esp + 0x10]
push ecx
push str._ban__Line__d_of_ban_list_has_been_ignored_bad_IP__n
jmp 0x401e2b
mov eax, dword [0x529a60]
cmp eax, ebx
je 0x402078
cmp eax, 1
jne 0x40206a
push str._ban__Banned_1_IP_n
call fcn.0040b170
add esp, 4
push esi
call fcn.00411750
add esp, 4
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc1c
ret
push eax
push str._ban__Banned__d_IPs_n
call fcn.0040b170
add esp, 8
push esi
call fcn.00411750
add esp, 4
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc1c
ret