Function at 0x42d190
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x3f0
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0x10], ecx
call fcn.004dbff0
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0xc], ebp
je 0x42d215
cmp dword [esp + 0x400], ebx
mov al, byte [0x5988d4]
jne 0x42d1f0
test al, 0x20
je 0x42d223
lea edx, [esp + 0x14]
mov ecx, 0x534
call fcn.0041c9e0
mov eax, dword [0x594098]
mov ecx, dword [ebp]
push eax
lea edx, [esp + 0x18]
call fcn.004fc570
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
test al, 0x10
je 0x42d223
lea edx, [esp + 0x14]
mov ecx, 0x535
call fcn.0041c9e0
mov ecx, dword [0x594098]
push ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x18]
call fcn.004fc570
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
mov edx, 0x64
mov ecx, 0x592648
call fcn.0041e210
cmp esi, ebx
je 0x42d246
push esi
mov edx, 0x64
mov ecx, 0x592648
call fcn.0041e120
cmp byte [0x592648], bl
push edi
mov edi, dword [esp + 0x408]
jne 0x42d2a6
cmp edi, ebx
jne 0x42d331
mov ecx, dword [0x5a1b00]
push ebx
push 0x465580
mov edx, 0x122
call fcn.00464b70
cmp byte [0x592648], bl
je 0x42d331
mov ecx, ebp
call fcn.004dbea0
test eax, eax
jne 0x42d2a6
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004dbff0
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x42d331
mov ebp, eax
jmp 0x42d2aa
mov esi, dword [esp + 0x14]
mov edx, ebp
mov ecx, 0x592648
call fcn.004f8240
test al, al
jne 0x42d331
push 0x2c
push 0x592648
call fcn.00563730
add esp, 8
cmp eax, ebx
je 0x42d2d7
mov byte [eax], bl
cmp byte [0x592648], bl
je 0x42d331
push 0x2e
push 0x592648
call fcn.00563730
add esp, 8
test eax, eax
jne 0x42d694
cmp dword [esp + 0x404], 2
je 0x42d694
mov edx, ebp
mov ecx, esi
call fcn.004dc4e0
test eax, eax
jne 0x42d331
mov edx, ebp
mov ecx, esi
call fcn.004dc130
test eax, eax
jne 0x42d331
call fcn.0042ace0
mov esi, eax
cmp esi, ebx
jne 0x42d340
mov ecx, dword [ebp]
push 2
push ebx
mov edx, str.dcc_chat
call fcn.00475f10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
mov dword [esi + 0x528], edi
lea edi, [esi + 0x3f0]
push 0x592648
mov edx, 0x64
mov ecx, edi
mov dword [esi + 0x520], 1
mov dword [esi + 0x878], ebx
mov dword [esi + 0x87c], ebx
mov dword [esi + 0x888], ebp
mov dword [esi + 0x534], ebx
call fcn.0041e120
mov edx, 0x64
mov ecx, 0x592648
call fcn.0041e210
mov eax, dword [esp + 0x404]
mov ecx, 1
cmp eax, ecx
jne 0x42d4ce
mov eax, dword [esp + 0x414]
cmp eax, ecx
mov dword [esi + 0x528], ecx
mov dword [esi + 0x540], ecx
mov dword [esi + 0x868], eax
jge 0x42d3c7
mov dword [esi + 0x868], ecx
jmp 0x42d3d6
cmp eax, 0x14
jle 0x42d3d6
mov dword [esi + 0x868], 0x14
mov edx, dword [esp + 0x40c]
lea ebp, [esi + 0x544]
push edx
mov edx, 0x104
mov ecx, ebp
call fcn.0041e120
push ebp
lea ecx, [esi + 0x648]
mov edx, 0x104
call fcn.0041e120
mov eax, dword [esp + 0x410]
push eax
lea ecx, [esi + 0x74c]
mov edx, 0x104
call fcn.0041e120
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea ecx, [esp + 0x1c]
push str.Serve__s
push ecx
call ebp
add esp, 0xc
xor edx, edx
mov ecx, esi
call fcn.0042b3c0
cmp eax, ebx
mov dword [esi], eax
jne 0x42d475
mov edx, dword [esi + 0x888]
push edx
push 1
push 4
mov edx, 2
lea ecx, [esp + 0x24]
call fcn.0053c810
cmp eax, ebx
mov dword [esi], eax
jne 0x42d495
xor edx, edx
mov ecx, esi
call fcn.0042b2c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
mov ecx, eax
call fcn.005366c0
cmp eax, ebx
je 0x42d495
cmp dword [eax + 0x6c8], ebx
je 0x42d495
mov edx, dword [0x594094]
mov ecx, dword [esi]
call fcn.004fb620
push edi
xor edx, edx
mov ecx, 0x533
call fcn.0041c9e0
push eax
lea eax, [esp + 0x20]
push eax
call ebp
mov ecx, dword [0x594098]
add esp, 0xc
mov dword [0x589b90], ebx
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
call fcn.004fb730
mov ebp, dword [esp + 0x10]
jmp 0x42d582
push edi
lea edx, [esp + 0x1c]
push str.Chat__s
push edx
mov dword [esi + 0x540], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor edx, edx
mov ecx, esi
call fcn.0042b3c0
cmp eax, ebx
mov dword [esi], eax
jne 0x42d52e
mov eax, dword [esi + 0x888]
push eax
push 5
push 3
mov edx, 2
lea ecx, [esp + 0x24]
call fcn.0053c810
cmp eax, ebx
mov dword [esi], eax
jne 0x42d54e
xor edx, edx
mov ecx, esi
call fcn.0042b2c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
mov ecx, eax
call fcn.005366c0
cmp eax, ebx
je 0x42d54e
cmp dword [eax + 0x6c8], ebx
je 0x42d54e
mov edx, dword [0x594094]
mov ecx, dword [esi]
call fcn.004fb620
push edi
xor edx, edx
mov ecx, 0x532
call fcn.0041c9e0
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x594098]
add esp, 0xc
mov dword [0x589b90], ebx
mov ecx, dword [esi]
push edx
lea edx, [esp + 0x1c]
call fcn.004fb730
xor edx, edx
mov ecx, esi
call fcn.0042af10
cmp dword [0x5a1b08], ebx
je 0x42d5b6
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42d5b6
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42d5b6
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp dword [0x597618], ebx
je 0x42d675
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
xor edx, edx
xor ecx, ecx
call fcn.00486340
cmp byte [0x5974e0], bl
je 0x42d633
cmp dword [0x597620], ebx
lea edi, [esi + 0x4b8]
mov edx, 0x64
mov ecx, edi
je 0x42d5f4
push 0x5974e0
jmp 0x42d5fb
lea eax, [ebp + 0x8a4]
push eax
call fcn.0041e120
mov word [esi + 0x51c], bx
call fcn.0041df60
push edi
mov dword [esi + 0x52c], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x42d657
mov ecx, dword [ebp]
push 9
push ebx
push edi
mov edx, str.firewall
call fcn.0046d660
test eax, eax
jne 0x42d6a6
xor edx, edx
mov ecx, 0x519
call fcn.0041c9e0
mov edx, eax
mov ecx, esi
call fcn.0042b4a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x14
push 5
push ebx
mov edx, edi
mov ecx, esi
call fcn.0042af90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3f0
ret 0x14
mov edx, 3
mov ecx, esi
call fcn.0042b8b0
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x3f0
ret 0x14
mov edx, dword [esp + 0x404]
push ebp
mov ecx, 0x592648
call fcn.0042cfb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3f0
ret 0x14