Function at 0x430eb0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x3ec
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push esi
push edi
mov edi, ecx
mov ecx, ebx
mov esi, edx
mov dword [esp + 0x10], edi
call fcn.004f0af0
test eax, eax
jne 0x430ef2
mov ecx, edi
call fcn.004f0c40
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
jne 0x430ef4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
xor ebp, ebp
cmp dword [esp + 0x400], ebp
mov al, byte [0x5ee6d8]
jne 0x430f34
test al, 0x20
je 0x430f67
lea edx, [esp + 0x14]
mov ecx, 0x534
call fcn.0041f1a0
mov eax, dword [0x5c9d48]
mov ecx, dword [ebx]
push eax
lea edx, [esp + 0x18]
call fcn.00514ad0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
test al, 0x10
je 0x430f67
lea edx, [esp + 0x14]
mov ecx, 0x535
call fcn.0041f1a0
mov ecx, dword [0x5c9d48]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
call fcn.00514ad0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov edx, 0x64
mov ecx, 0x5c81a8
call fcn.00420e60
cmp esi, ebp
je 0x430f8a
push esi
mov edx, 0x64
mov ecx, 0x5c81a8
call fcn.00420d70
mov al, byte [0x5c81a8]
test al, al
mov edi, dword [esp + 0x404]
jne 0x430ff0
cmp edi, ebp
jne 0x431409
mov ecx, dword [0x5f92ec]
push ebp
push 0x46ccf0
mov edx, 0x122
call fcn.0046c300
mov al, byte [0x5c81a8]
test al, al
je 0x431409
mov ecx, ebx
call fcn.004f0af0
test eax, eax
jne 0x430ff0
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004f0c40
mov ebx, eax
cmp ebx, ebp
jne 0x430ff4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov esi, dword [esp + 0x10]
mov edx, ebx
mov ecx, 0x5c81a8
call fcn.0050fa60
test al, al
jne 0x431409
push 0x2c
push 0x5c81a8
call fcn.005912e0
add esp, 8
cmp eax, ebp
je 0x43102b
mov byte [eax], 0
mov al, byte [0x5c81a8]
test al, al
je 0x431409
push 0x2e
push 0x5c81a8
call fcn.005912e0
add esp, 8
test eax, eax
jne 0x431437
cmp dword [esp + 0x400], 2
je 0x431437
mov edx, ebx
mov ecx, esi
call fcn.004f1130
test eax, eax
jne 0x431409
mov edx, ebx
mov ecx, esi
call fcn.004f0d80
test eax, eax
jne 0x431409
call fcn.0042e950
mov esi, eax
cmp esi, ebp
jne 0x43109b
mov ecx, dword [ebx]
push 2
push ebp
mov edx, str.dcc_chat
call fcn.004803b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov dword [esi + 0x528], edi
lea edi, [esi + 0x3f0]
push 0x5c81a8
mov edx, 0x64
mov ecx, edi
mov dword [esi + 0x520], 1
mov dword [esi + 0x878], ebp
mov dword [esi + 0x87c], ebp
mov dword [esi + 0x88c], ebx
mov dword [esi + 0x534], ebp
call fcn.00420d70
mov edx, 0x64
mov ecx, 0x5c81a8
call fcn.00420e60
mov eax, dword [esp + 0x400]
mov ecx, 1
cmp eax, ecx
jne 0x43122e
mov eax, dword [esp + 0x410]
cmp eax, ecx
mov dword [esi + 0x528], ecx
mov dword [esi + 0x540], ecx
mov dword [esi + 0x868], eax
jge 0x431122
mov dword [esi + 0x868], ecx
jmp 0x431131
cmp eax, 0x14
jle 0x431131
mov dword [esi + 0x868], 0x14
mov edx, dword [esp + 0x408]
lea ebp, [esi + 0x544]
push edx
mov edx, 0x104
mov ecx, ebp
call fcn.00420d70
push ebp
lea ecx, [esi + 0x648]
mov edx, 0x104
call fcn.00420d70
mov eax, dword [esp + 0x40c]
push eax
lea ecx, [esi + 0x74c]
mov edx, 0x104
call fcn.00420d70
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea ecx, [esp + 0x18]
push str.Serve__s
push ecx
call ebp
add esp, 0xc
xor edx, edx
mov ecx, esi
call fcn.0042f030
test eax, eax
mov dword [esi], eax
jne 0x4311d1
mov edx, dword [esi + 0x88c]
push esi
push edx
push 1
push 4
mov edx, 2
lea ecx, [esp + 0x24]
call fcn.005677e0
test eax, eax
mov dword [esi], eax
jne 0x4311f3
xor edx, edx
mov ecx, esi
call fcn.0042ef20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov ecx, eax
call fcn.00561000
test eax, eax
je 0x4311f3
mov ecx, dword [eax + 0x6cc]
test ecx, ecx
je 0x4311f3
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
push edi
xor edx, edx
mov ecx, 0x533
call fcn.0041f1a0
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
mov ecx, dword [0x5c9d48]
add esp, 0xc
mov dword [0x5bfd5c], 0
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x18]
call fcn.00513d20
xor ebp, ebp
jmp 0x4312e3
push edi
lea edx, [esp + 0x18]
push str.Chat__s
push edx
mov dword [esi + 0x540], ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor edx, edx
mov ecx, esi
call fcn.0042f030
cmp eax, ebp
mov dword [esi], eax
jne 0x43128f
mov eax, dword [esi + 0x88c]
push esi
push eax
push 5
push 3
mov edx, 2
lea ecx, [esp + 0x24]
call fcn.005677e0
cmp eax, ebp
mov dword [esi], eax
jne 0x4312af
xor edx, edx
mov ecx, esi
call fcn.0042ef20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov ecx, eax
call fcn.00561000
cmp eax, ebp
je 0x4312af
cmp dword [eax + 0x6cc], ebp
je 0x4312af
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
push edi
xor edx, edx
mov ecx, 0x532
call fcn.0041f1a0
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x5c9d48]
add esp, 0xc
mov dword [0x5bfd5c], ebp
mov ecx, dword [esi]
push edx
lea edx, [esp + 0x18]
call fcn.00513d20
xor edx, edx
mov ecx, esi
call fcn.0042eb90
cmp dword [0x5f92f4], ebp
je 0x431317
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x431317
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x431317
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp dword [esp + 0x414], ebp
je 0x431373
mov dword [esi + 0x884], 1
mov word [esi + 0x51c], bp
call fcn.00420bb0
add ebx, 0x8a4
lea edi, [esi + 0x4b8]
push ebx
mov edx, 0x64
mov ecx, edi
mov dword [esi + 0x52c], eax
call fcn.00420d70
push 5
push ebp
mov edx, edi
mov ecx, esi
call fcn.0042ebf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3ec
ret 0x1c
cmp dword [0x5cd3e0], ebp
je 0x431418
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
xor edx, edx
xor ecx, ecx
call fcn.0048ab30
mov al, byte [0x5cd2a8]
test al, al
je 0x4313f4
cmp dword [0x5cd3e8], ebp
lea edi, [esi + 0x4b8]
mov edx, 0x64
mov ecx, edi
je 0x4313b2
push 0x5cd2a8
jmp 0x4313b9
lea eax, [ebx + 0x8a4]
push eax
call fcn.00420d70
mov word [esi + 0x51c], bp
call fcn.00420bb0
push edi
mov dword [esi + 0x52c], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x431355
mov ecx, dword [ebx]
push 9
push ebp
push edi
mov edx, str.firewall
call fcn.00475c40
test eax, eax
jne 0x431449
xor edx, edx
mov ecx, 0x519
call fcn.0041f1a0
mov edx, eax
mov ecx, esi
call fcn.0042f110
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov edx, 3
mov ecx, esi
call fcn.0042f530
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x3ec
ret 0x1c
mov edx, dword [esp + 0x400]
push ebx
mov ecx, 0x5c81a8
call fcn.00430cd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3ec
ret 0x1c