Function at 0x436b30
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x3e8
push ebx
push ebp
mov ebp, dword [esp + 0x414]
xor ebx, ebx
cmp ebp, ebx
jne 0x436b5e
lea eax, [esp + 0x3f4]
push eax
call fcn.00502c00
add esp, 4
mov dword [esp + 0x414], eax
mov ebp, eax
push ebp
call fcn.00502a60
add esp, 4
test eax, eax
jne 0x436b74
pop ebp
pop ebx
add esp, 0x3e8
ret
cmp dword [esp + 0x3f4], ebx
jne 0x436b87
mov ecx, dword [ebp]
mov dword [esp + 0x3f4], ecx
mov al, byte [0x63aac8]
push esi
mov esi, dword [esp + 0x400]
cmp esi, ebx
push edi
jne 0x436bd0
test al, 0x20
je 0x436c08
lea edx, [esp + 0x10]
push edx
push 0x534
call fcn.00421db0
mov eax, dword [0x6136a0]
mov edx, dword [ebp]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.005275f0
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
test al, 0x10
je 0x436c08
lea eax, [esp + 0x10]
push eax
push 0x535
call fcn.00421db0
mov ecx, dword [0x6136a0]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.005275f0
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
push 0x64
push 0x611908
call fcn.00423a00
mov eax, dword [esp + 0x408]
add esp, 8
cmp eax, ebx
je 0x436c32
push eax
push 0x64
push 0x611908
call fcn.00423900
add esp, 0xc
cmp byte [0x611908], bl
mov edi, dword [esp + 0x408]
jne 0x436ced
cmp edi, ebx
jne 0x436bc3
mov ecx, dword [esp + 0x3fc]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x436c8c
mov edx, dword [esp + 0x3fc]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436c8c
mov eax, dword [esp + 0x3fc]
push eax
call fcn.00582c10
add esp, 4
test eax, eax
mov eax, dword [esp + 0x3fc]
je 0x436c91
mov eax, dword [0x645324]
cmp dword [0x61196c], ebx
push ebx
jne 0x436cd8
push 0x475b70
push 0x122
push eax
mov dword [0x61196c], 1
call fcn.00475160
mov al, byte [0x611908]
add esp, 0x10
cmp al, bl
mov dword [0x61196c], ebx
je 0x436bc3
push ebp
call fcn.00502a60
add esp, 4
test eax, eax
jne 0x436ced
push ebx
call fcn.00421c80
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
push ebp
push 0x611908
call fcn.00522500
add esp, 8
test al, al
jne 0x436bc3
push 0x2c
push 0x611908
call fcn.005cbf10
add esp, 8
cmp eax, ebx
je 0x436d24
mov byte [eax], bl
cmp byte [0x611908], bl
je 0x436bc3
push 0x2e
push 0x611908
call fcn.005cbf10
add esp, 8
test eax, eax
jne 0x4370ee
cmp esi, 2
je 0x4370ee
mov ecx, dword [esp + 0x3fc]
push ebp
push ecx
call fcn.005030a0
add esp, 8
test eax, eax
jne 0x436bc3
mov edx, dword [esp + 0x3fc]
push ebp
push edx
call fcn.00502d40
add esp, 8
test eax, eax
jne 0x436bc3
call fcn.00434290
mov esi, eax
cmp esi, ebx
jne 0x436da2
mov eax, dword [ebp]
push 2
push str.chat
push ebx
push eax
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
push 0x611908
mov dword [esi + 0x528], edi
lea edi, [esi + 0x3f0]
push 0x64
push edi
mov dword [esi + 0x520], 1
mov dword [esi + 0x878], ebx
mov dword [esi + 0x87c], ebx
mov dword [esi + 0x88c], ebp
mov dword [esi + 0x534], ebx
call fcn.00423900
push 0x64
push 0x611908
call fcn.00423a00
mov eax, dword [esp + 0x418]
mov ecx, 1
add esp, 0x14
cmp eax, ecx
jne 0x436f22
mov eax, dword [esp + 0x414]
cmp eax, ecx
mov dword [esi + 0x528], ecx
mov dword [esi + 0x540], ecx
mov dword [esi + 0x868], eax
jge 0x436e25
mov dword [esi + 0x868], ecx
jmp 0x436e34
cmp eax, 0x14
jle 0x436e34
mov dword [esi + 0x868], 0x14
mov ecx, dword [esp + 0x40c]
push ecx
lea ebp, [esi + 0x544]
push 0x104
push ebp
call fcn.00423900
push ebp
lea edx, [esi + 0x648]
push 0x104
push edx
call fcn.00423900
mov eax, dword [esp + 0x428]
push eax
lea ecx, [esi + 0x74c]
push 0x104
push ecx
call fcn.00423900
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea edx, [esp + 0x38]
push str.Serve__s
push edx
call ebp
push ebx
push esi
call fcn.004347a0
add esp, 0x38
cmp eax, ebx
mov dword [esi], eax
jne 0x436ed3
mov eax, dword [esi + 0x88c]
push esi
push eax
push 1
push 4
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.005899d0
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
jne 0x436ed3
push ebx
push esi
call fcn.00434680
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
mov edx, dword [0x61369c]
mov eax, dword [esi]
push edx
push eax
call fcn.00526700
add esp, 8
push edi
push ebx
push 0x533
call fcn.00421db0
add esp, 8
push eax
lea ecx, [esp + 0x18]
push ecx
call ebp
mov edx, dword [0x6136a0]
push edx
lea eax, [esp + 0x20]
mov dword [0x63f7ac], ebx
mov ecx, dword [esi]
push eax
push ecx
call fcn.00526870
mov ebp, dword [esp + 0x434]
jmp 0x436fb5
push edi
lea edx, [esp + 0x14]
push str.Chat__s
push edx
mov dword [esi + 0x540], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push esi
call fcn.004347a0
add esp, 0x14
cmp eax, ebx
mov dword [esi], eax
jne 0x436f6e
mov eax, dword [esi + 0x88c]
push esi
push eax
push 5
push 3
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.005899d0
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
je 0x436ebc
mov edx, dword [0x61369c]
mov eax, dword [esi]
push edx
push eax
call fcn.00526700
add esp, 8
push edi
push ebx
push 0x532
call fcn.00421db0
add esp, 8
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x6136a0]
push edx
lea eax, [esp + 0x20]
mov dword [0x63f7ac], ebx
mov ecx, dword [esi]
push eax
push ecx
call fcn.00526870
mov eax, dword [esp + 0x430]
add esp, 0x18
cmp eax, ebx
je 0x437011
mov dword [esi + 0x884], 1
mov word [esi + 0x51c], bx
call fcn.004236f0
add ebp, 0x8a0
push ebp
lea edi, [esi + 0x4b8]
push 0x64
push edi
mov dword [esi + 0x52c], eax
call fcn.00423900
push 5
push ebx
push edi
push esi
call fcn.004344b0
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret
cmp dword [0x617030], ebx
je 0x4370d2
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
call fcn.00495580
mov al, byte [0x616ef8]
add esp, 0x14
cmp al, bl
je 0x437093
cmp dword [0x617038], ebx
lea edi, [esi + 0x4b8]
je 0x43704a
push 0x616ef8
jmp 0x437051
lea edx, [ebp + 0x8a0]
push edx
push 0x64
push edi
call fcn.00423900
add esp, 0xc
mov word [esi + 0x51c], bx
call fcn.004236f0
push edi
mov dword [esi + 0x52c], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4370b5
mov eax, dword [ebp]
push 9
push ebx
push edi
push str.firewall
push eax
call fcn.0047e8b0
add esp, 0x14
test eax, eax
jne 0x4370fd
push ebx
push 0x519
call fcn.00421db0
push eax
push esi
call fcn.00434890
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret
push 5
push ebx
push edi
push esi
call fcn.004344b0
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret
push 3
push esi
call fcn.00434dc0
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x3e8
ret
push ebp
push esi
push 0x611908
call fcn.00436950
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret