Function at 0x454400
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 0x5c9fee
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.00410520
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 0x6524f0
call fcn.00406610
mov dword [ebp - 0x134], eax
call fcn.00443960
add esp, 0x28
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0xffffffff
jne 0x4544d6
mov byte [ebp - 0x68], 0
push 0x615203
lea ecx, [ebp - 0x64]
call fcn.00408bc0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x454c19
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.004531c0
mov edx, dword [0x6520d4]
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.004605f2
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 0x4545e2
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 4
jne 0x4545e0
jmp 0x4545e2
jmp 0x45458c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x84], 0
jne 0x454684
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004605fb
add esp, 4
cmp dword [ebp - 0xa0], 0
jne 0x45462b
mov dword [ebp - 0xbc], 0
jmp 0x454641
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0x68], 0
push 0x616980
lea ecx, [ebp - 0x64]
call fcn.00408bc0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x454c19
cmp dword [ebp - 0x84], 4
jge 0x45473d
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00408800
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 0x6169a4
lea edx, [ebp - 0x224]
push edx
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040f660
lea ecx, [ebp - 0x224]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.00406730
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x454c19
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 0x4547aa
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 0x4547a8
jmp 0x4547aa
jmp 0x45474e
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x9c]
je 0x45496b
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004605fb
add esp, 4
cmp dword [ebp - 0xa8], 0
jne 0x4547ec
mov dword [ebp - 0xcc], 0
jmp 0x454802
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.00408800
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.00408800
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 0x6169c0
lea eax, [ebp - 0x23c]
push eax
call fcn.00408be0
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.00408c20
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.00408c60
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x64]
call fcn.0040f660
lea ecx, [ebp - 0x1f4]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.00406730
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x454c19
push 8
call fcn.004605f2
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 0x4549bc
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.004605fb
add esp, 4
cmp dword [ebp - 0xa4], 0
jne 0x4549ec
mov dword [ebp - 0xf8], 0
jmp 0x454a02
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 [0x6520d4]
push edx
lea eax, [ebp - 0x1dc]
push eax
call fcn.00408800
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.00451a40
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 7
push 0x6169f0
mov ecx, dword [ebp - 0x118]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00408c20
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.00408c60
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 9
push 0x6169bc
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00408c20
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.00406730
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x17c]
call fcn.00406730
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1ac]
call fcn.00406730
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1dc]
call fcn.00406730
push 0
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x80]
call fcn.004067b0
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0043de50
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.00409aa0
push 0x65287c
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.00453b30
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.00411ab0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2cc]
call fcn.00409aa0
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.004605fb
add esp, 4
cmp dword [ebp - 0xac], 0
jne 0x454bca
mov dword [ebp - 0xd8], 0
jmp 0x454be0
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.0041b560
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00409aa0
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.0058851b
mov esp, ebp
pop ebp
ret