Function at 0x436f90
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x1068
call fcn.005d9990
push ebx
push ebp
mov ebp, dword [esp + 0x1094]
xor ebx, ebx
cmp ebp, ebx
jne 0x436fc2
lea eax, [esp + 0x1074]
push eax
call fcn.00508c40
add esp, 4
mov dword [esp + 0x1094], eax
mov ebp, eax
push ebp
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x436fd8
pop ebp
pop ebx
add esp, 0x1068
ret
cmp dword [esp + 0x1074], ebx
jne 0x436feb
mov ecx, dword [ebp]
mov dword [esp + 0x1074], ecx
mov al, byte [0x673f54]
push esi
mov esi, dword [esp + 0x1080]
cmp esi, ebx
push edi
jne 0x437034
test al, 0x20
je 0x43706c
lea edx, [esp + 0x10]
push edx
push 0x534
call fcn.00424130
mov eax, dword [0x63caa0]
mov edx, dword [ebp]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0052eb30
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
test al, 0x10
je 0x43706c
lea eax, [esp + 0x10]
push eax
push 0x535
call fcn.00424130
mov ecx, dword [0x63caa0]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0052eb30
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
push 0x132
push 0x634568
call fcn.004232e0
mov eax, dword [esp + 0x1088]
add esp, 8
cmp eax, ebx
je 0x43709c
push eax
push 0x132
push 0x634568
call fcn.00425550
add esp, 0xc
cmp byte [0x634568], bl
mov edi, dword [esp + 0x1088]
jne 0x437157
cmp edi, ebx
jne 0x437027
mov ecx, dword [esp + 0x107c]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4370f6
mov edx, dword [esp + 0x107c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4370f6
mov eax, dword [esp + 0x107c]
push eax
call fcn.0058ee70
add esp, 4
test eax, eax
mov eax, dword [esp + 0x107c]
je 0x4370fb
mov eax, dword [0x6a0f40]
cmp dword [0x63469c], ebx
push ebx
jne 0x437142
push 0x476cf0
push 0x122
push eax
mov dword [0x63469c], 1
call fcn.004762c0
mov al, byte [0x634568]
add esp, 0x10
cmp al, bl
mov dword [0x63469c], ebx
je 0x437027
push ebp
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x437157
push ebx
call fcn.00421dc0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
push ebp
push 0x634568
call fcn.005295b0
add esp, 8
test al, al
jne 0x437027
push 0x2c
push 0x634568
call fcn.005d9b20
add esp, 8
cmp eax, ebx
je 0x43718e
mov byte [eax], bl
cmp byte [0x634568], bl
je 0x437027
push 0x2e
push 0x634568
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x437562
cmp esi, 2
je 0x437562
mov ecx, dword [esp + 0x107c]
push ebp
push ecx
call fcn.005090e0
add esp, 8
test eax, eax
jne 0x437027
mov edx, dword [esp + 0x107c]
push ebp
push edx
call fcn.00508d80
add esp, 8
test eax, eax
jne 0x437027
call fcn.004346d0
mov esi, eax
cmp esi, ebx
jne 0x43720c
mov eax, dword [ebp]
push 2
push str.chat
push ebx
push eax
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
push 0x634568
mov dword [esi + 0x1410], edi
lea edi, [esi + 0x1070]
push 0x132
push edi
mov dword [esi + 0x1408], 1
mov dword [esi + 0x20ec], ebx
mov dword [esi + 0x20f0], ebx
mov dword [esi + 0x2100], ebp
mov dword [esi + 0x141c], ebx
call fcn.00425550
push 0x132
push 0x634568
call fcn.004232e0
mov eax, dword [esp + 0x1098]
mov ecx, 1
add esp, 0x14
cmp eax, ecx
jne 0x437392
mov eax, dword [esp + 0x1094]
cmp eax, ecx
mov dword [esi + 0x1410], ecx
mov dword [esi + 0x1428], ecx
mov dword [esi + 0x20dc], eax
jge 0x437295
mov dword [esi + 0x20dc], ecx
jmp 0x4372a4
cmp eax, 0x14
jle 0x4372a4
mov dword [esi + 0x20dc], 0x14
mov ecx, dword [esp + 0x108c]
push ecx
lea ebp, [esi + 0x142c]
push 0x432
push ebp
call fcn.00425550
push ebp
lea edx, [esi + 0x185e]
push 0x432
push edx
call fcn.00425550
mov eax, dword [esp + 0x10a8]
push eax
lea ecx, [esi + 0x1c90]
push 0x432
push ecx
call fcn.00425550
push edi
lea edx, [esp + 0x38]
push str.Serve__s
push edx
call fcn.005d9929
push ebx
push esi
call fcn.00434be0
add esp, 0x38
cmp eax, ebx
mov dword [esi], eax
jne 0x437340
mov eax, dword [esi + 0x2100]
push esi
push eax
push 1
push 4
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.00596330
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
jne 0x437340
push ebx
push esi
call fcn.00434ac0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
mov edx, dword [0x63ca9c]
mov eax, dword [esi]
push edx
push eax
call fcn.0052dc60
add esp, 8
push edi
push ebx
push 0x533
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.005d9929
mov edx, dword [0x63caa0]
push edx
lea eax, [esp + 0x20]
mov dword [0x6870cc], ebx
mov ecx, dword [esi]
push eax
push ecx
call fcn.0052ddc0
mov ebp, dword [esp + 0x10b4]
jmp 0x437423
push edi
lea edx, [esp + 0x14]
push str.Chat__s
push edx
mov dword [esi + 0x1428], ebx
call fcn.005d9929
push ebx
push esi
call fcn.00434be0
add esp, 0x14
cmp eax, ebx
mov dword [esi], eax
jne 0x4373dd
mov eax, dword [esi + 0x2100]
push esi
push eax
push 5
push 3
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.00596330
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
je 0x437329
mov edx, dword [0x63ca9c]
mov eax, dword [esi]
push edx
push eax
call fcn.0052dc60
add esp, 8
push edi
push ebx
push 0x532
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.005d9929
mov edx, dword [0x63caa0]
push edx
lea eax, [esp + 0x20]
mov dword [0x6870cc], ebx
mov ecx, dword [esi]
push eax
push ecx
call fcn.0052ddc0
mov eax, dword [esp + 0x10b0]
add esp, 0x18
cmp eax, ebx
je 0x437482
mov dword [esi + 0x20f8], 1
mov word [esi + 0x1406], bx
call fcn.004230d0
add ebp, 0x15ee
push ebp
lea edi, [esi + 0x12d4]
push 0x132
push edi
mov dword [esi + 0x1414], eax
call fcn.00425550
push 5
push ebx
push edi
push esi
call fcn.004348f0
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1068
ret
cmp dword [0x649040], ebx
je 0x437546
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
call fcn.00497450
mov al, byte [0x648c98]
add esp, 0x14
cmp al, bl
je 0x437507
cmp dword [0x649048], ebx
lea edi, [esi + 0x12d4]
je 0x4374bb
push 0x648c98
jmp 0x4374c2
lea edx, [ebp + 0x15ee]
push edx
push 0x132
push edi
call fcn.00425550
add esp, 0xc
mov word [esi + 0x1406], bx
call fcn.004230d0
push edi
mov dword [esi + 0x1414], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x437529
mov eax, dword [ebp]
push 9
push ebx
push edi
push str.firewall
push eax
call fcn.0047fc10
add esp, 0x14
test eax, eax
jne 0x437571
push ebx
push 0x519
call fcn.00424130
push eax
push esi
call fcn.00434cd0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1068
ret
push 5
push ebx
push edi
push esi
call fcn.004348f0
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1068
ret
push 3
push esi
call fcn.00435200
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x1068
ret
push ebp
push esi
push 0x634568
call fcn.00436da0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1068
ret