Function at 0x454490
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9fae
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x68]
call fcn.004104d0
mov dword [ebp - 4], 0
push 0
push 0xfa0
push 8
movzx eax, word [0x64375c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x652448
call fcn.004065b0
mov dword [ebp - 0x134], eax
call fcn.00443870
add esp, 0x28
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0xffffffff
jne 0x454566
mov byte [ebp - 0x68], 0
push 0x615265
lea ecx, [ebp - 0x64]
call fcn.00408b60
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x454ca9
mov dword [ebp - 0x14], 0x7d0
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x1005
push 0xffff
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x20]
call fcn.00453250
mov edx, dword [0x65204c]
mov dword [ebp - 0x1a], edx
mov dword [ebp - 0x12c], 0xa
push 0
push 0xa
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x84], 0
push 0x8000
call fcn.004606f2
add esp, 4
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 0
push 0
mov ecx, 4
sub ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jle 0x454672
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 4
jne 0x454670
jmp 0x454672
jmp 0x45461c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x84], 0
jne 0x454714
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004606fb
add esp, 4
cmp dword [ebp - 0xa0], 0
jne 0x4546bb
mov dword [ebp - 0xbc], 0
jmp 0x4546d1
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0x68], 0
push 0x616c9c
lea ecx, [ebp - 0x64]
call fcn.00408b60
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x454ca9
cmp dword [ebp - 0x84], 4
jge 0x4547cd
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004087a0
add esp, 8
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc4]
push ecx
push 0x616c84
lea edx, [ebp - 0x224]
push edx
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040f610
lea ecx, [ebp - 0x224]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004066d0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x454ca9
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
add ecx, 4
mov dword [ebp - 0x9c], ecx
push 0
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jle 0x45483a
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x90]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x9c]
jne 0x454838
jmp 0x45483a
jmp 0x4547de
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x9c]
je 0x4549fb
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004606fb
add esp, 4
cmp dword [ebp - 0xa8], 0
jne 0x45487c
mov dword [ebp - 0xcc], 0
jmp 0x454892
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 0x68], 0
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x14c]
push eax
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.004087a0
add esp, 8
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10c]
push edx
push 0x616cac
lea eax, [ebp - 0x23c]
push eax
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 4
push str._receiveOverSize:
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x194]
push eax
call fcn.00408bc0
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x1f4]
push ecx
call fcn.00408c00
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x64]
call fcn.0040f610
lea ecx, [ebp - 0x1f4]
call fcn.004066d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
call fcn.004066d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.004066d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.004066d0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x454ca9
push 8
call fcn.004606f2
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x98], edx
push 0
push 8
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 8
jl 0x454a4c
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
mov dword [0x64378c], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.004606fb
add esp, 4
cmp dword [ebp - 0xa4], 0
jne 0x454a7c
mov dword [ebp - 0xf8], 0
jmp 0x454a92
mov dword [ebp - 0x98], 0x8123
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x65204c]
push edx
lea eax, [ebp - 0x1dc]
push eax
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x1ac]
push edx
call fcn.00451ad0
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 7
push 0x616cec
mov ecx, dword [ebp - 0x118]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00408bc0
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.00408c00
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 9
push 0x616cfc
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00408bc0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.004066d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x17c]
call fcn.004066d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1ac]
call fcn.004066d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1dc]
call fcn.004066d0
push 0
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406750
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0043d750
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.00409a40
push 0x6527e8
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.00453bc0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00411a30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2cc]
call fcn.00409a40
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.004606fb
add esp, 4
cmp dword [ebp - 0xac], 0
jne 0x454c5a
mov dword [ebp - 0xd8], 0
jmp 0x454c70
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xd8], ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.004066d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588606
mov esp, ebp
pop ebp
ret