Function at 0x454120
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 0x5c9cce
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x641490]
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.00410490
mov dword [ebp - 4], 0
push 0
push 0xfa0
push 8
movzx eax, word [0x64275c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x6514b0
call fcn.00406580
mov dword [ebp - 0x134], eax
call fcn.00443670
add esp, 0x28
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0xffffffff
jne 0x4541f6
mov byte [ebp - 0x68], 0
push 0x614237
lea ecx, [ebp - 0x64]
call fcn.00408b30
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a10
mov eax, dword [ebp + 8]
jmp 0x454939
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.00452ed0
mov edx, dword [0x6510cc]
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.00460332
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 0x454302
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 4
jne 0x454300
jmp 0x454302
jmp 0x4542ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x84], 0
jne 0x4543a4
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0046033b
add esp, 4
cmp dword [ebp - 0xa0], 0
jne 0x45434b
mov dword [ebp - 0xbc], 0
jmp 0x454361
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0x68], 0
push 0x615978
lea ecx, [ebp - 0x64]
call fcn.00408b30
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a10
mov eax, dword [ebp + 8]
jmp 0x454939
cmp dword [ebp - 0x84], 4
jge 0x45445d
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00408770
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 0x615960
lea edx, [ebp - 0x224]
push edx
call fcn.00408b50
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040f5d0
lea ecx, [ebp - 0x224]
call fcn.004066a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004066a0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a10
mov eax, dword [ebp + 8]
jmp 0x454939
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 0x4544ca
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 0x4544c8
jmp 0x4544ca
jmp 0x45446e
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x9c]
je 0x45468b
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0046033b
add esp, 4
cmp dword [ebp - 0xa8], 0
jne 0x45450c
mov dword [ebp - 0xcc], 0
jmp 0x454522
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.00408770
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.00408770
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 0x615988
lea eax, [ebp - 0x23c]
push eax
call fcn.00408b50
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.00408b90
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.00408bd0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x64]
call fcn.0040f5d0
lea ecx, [ebp - 0x1f4]
call fcn.004066a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
call fcn.004066a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.004066a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.004066a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.004066a0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a10
mov eax, dword [ebp + 8]
jmp 0x454939
push 8
call fcn.00460332
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 0x4546dc
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
mov dword [0x64278c], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.0046033b
add esp, 4
cmp dword [ebp - 0xa4], 0
jne 0x45470c
mov dword [ebp - 0xf8], 0
jmp 0x454722
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 [0x6510cc]
push edx
lea eax, [ebp - 0x1dc]
push eax
call fcn.00408770
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.00451750
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 7
push 0x6159c8
mov ecx, dword [ebp - 0x118]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00408b90
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.00408bd0
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 9
push 0x6159d8
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00408b90
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.004066a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x17c]
call fcn.004066a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1ac]
call fcn.004066a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1dc]
call fcn.004066a0
push 0
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406720
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0043db60
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.00409a10
push 0x65183c
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.00453840
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.004119e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2cc]
call fcn.00409a10
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.0046033b
add esp, 4
cmp dword [ebp - 0xac], 0
jne 0x4548ea
mov dword [ebp - 0xd8], 0
jmp 0x454900
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.0041b490
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409a10
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.00588246
mov esp, ebp
pop ebp
ret