Function at 0x11043be0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1109eb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov ebx, ecx
mov dword [0x51c714], 0
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
mov edi, edi
xor esi, esi
mov dword [ebp - 0x24], esi
jmp 0x11043c40
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call dword [0x110af2b8]
test eax, eax
je 0x11043c6f
cmp byte [eax + 0x67], 1
jne 0x11043c65
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x3c]
push eax
call fcn.110143d0
call dword [0x110af2b0]
test eax, eax
jne 0x11043c50
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x9c40
jl 0x11043c40
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 3
jl 0x11043c30
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebx]
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
sar eax, 2
xor esi, esi
mov dword [ebp - 0x30], eax
mov eax, dword [0x5186c4]
mov dword [ebp - 0x34], eax
mov eax, dword [0x519574]
mov dword [ebp - 0x38], eax
mov eax, dword [0x110e4da4]
mov dword [ebp - 0x28], eax
mov eax, dword [0x110e5884]
mov dword [ebp - 0x2c], eax
mov eax, 4
mov dword [ebp - 0x3c], ecx
push 0
sub eax, esi
push eax
lea eax, [ebp - 0x34]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043cde
add esi, eax
jmp 0x11043cee
call edi
cmp eax, 0x2733
je 0x11043cee
cmp eax, 0x2747
jne 0x11043cfb
mov ecx, dword [ebp - 0x3c]
mov eax, 4
cmp esi, 4
jl 0x11043cc8
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [ecx]
mov dword [ebp - 0x3c], ecx
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [ebp - 0x38]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043d20
add esi, eax
jmp 0x11043d30
call edi
cmp eax, 0x2733
je 0x11043d30
cmp eax, 0x2747
jne 0x11043d38
mov ecx, dword [ebp - 0x3c]
cmp esi, 4
jl 0x11043d05
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [ebp - 0x28]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043d5d
add esi, eax
jmp 0x11043d6d
call edi
cmp eax, 0x2733
je 0x11043d6d
cmp eax, 0x2747
jne 0x11043d75
mov ecx, dword [ebp - 0x3c]
cmp esi, 4
jl 0x11043d42
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
nop
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [ebp - 0x2c]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043d9b
add esi, eax
jmp 0x11043dab
call edi
cmp eax, 0x2733
je 0x11043dab
cmp eax, 0x2747
jne 0x11043db3
mov ecx, dword [ebp - 0x3c]
cmp esi, 4
jl 0x11043d80
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
lea ecx, [ecx]
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [ebp - 0x30]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043ddb
add esi, eax
jmp 0x11043deb
call edi
cmp eax, 0x2733
je 0x11043deb
cmp eax, 0x2747
jne 0x11043df3
mov ecx, dword [ebp - 0x3c]
cmp esi, 4
jl 0x11043dc0
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov esi, 0x10
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1107e661
mov edx, dword [0x110e4da0]
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [edx]
cmp ecx, edx
je 0x11043e3f
mov edx, eax
mov eax, dword [ecx + 8]
lea edx, [edx + 0x10]
mov dword [edx - 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx - 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [ecx]
cmp ecx, dword [0x110e4da0]
jne 0x11043e20
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1107e661
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.110759d0
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov edx, dword [0x5186c0]
shl ecx, 2
push ecx
mov ecx, dword [esi]
call fcn.11043ae0
mov ecx, dword [ebp - 0x38]
mov edx, dword [0x51956c]
shl ecx, 2
push ecx
mov ecx, dword [esi]
call fcn.11043ae0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.11043ae0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.11043ae0
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
jle 0x11043f60
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi]
xor esi, esi
mov edx, dword [eax]
add edx, 0x64
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [esi + edx]
push eax
push ecx
call ebx
test eax, eax
jle 0x11043eec
add esi, eax
jmp 0x11043efc
call edi
cmp eax, 0x2733
je 0x11043efc
cmp eax, 0x2747
jne 0x11043f07
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
cmp esi, 4
jl 0x11043ed3
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
push 0
mov eax, 4
sub eax, esi
push eax
mov eax, dword [ebp - 0x1c]
add eax, esi
push eax
push ecx
call ebx
test eax, eax
jle 0x11043f2c
add esi, eax
jmp 0x11043f3c
call edi
cmp eax, 0x2733
je 0x11043f3c
cmp eax, 0x2747
jne 0x11043f44
mov ecx, dword [ebp - 0x40]
cmp esi, 4
jl 0x11043f11
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc ecx
mov esi, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, dword [ebp - 0x30]
jl 0x11043ec4
mov ebx, dword [esi]
xor esi, esi
push 0
mov eax, 1
sub eax, esi
push eax
lea eax, [ebp - 0xd]
add eax, esi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x11043f83
add esi, eax
jmp 0x11043f93
call edi
cmp eax, 0x2733
je 0x11043f93
cmp eax, 0x2747
jne 0x11043f98
cmp esi, 1
jl 0x11043f64
mov al, byte [ebp - 0xd]
cmp al, 0xfe
je 0x1104430d
movzx eax, al
cmp eax, 0xc
ja case.0x11043faf.5
jmp dword [eax*4 + 0x11044384]
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push 4
call fcn.11043b60
mov ecx, dword [ebp - 0x18]
mov eax, 0x5186c0
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push 4
call fcn.11043b60
mov ecx, dword [ebp - 0x18]
mov eax, 0x51956c
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov ecx, dword [esi]
push 0x84
mov edx, dword [eax + edx*4]
call fcn.11043ae0
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov ecx, dword [esi]
push 0x84
mov edx, dword [eax + edx*4]
call fcn.11043b60
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push 4
call fcn.11043b60
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add ecx, ecx
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx*8 + 8], eax
jmp 0x11044302
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [eax]
call fcn.11043b60
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov ebx, dword [ebp - 0x20]
add eax, eax
mov edx, 4
mov eax, dword [ebx + eax*8 + 8]
add eax, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1107e661
mov ecx, dword [ebp - 0x18]
add esp, 4
add ecx, ecx
mov esi, eax
mov edx, esi
mov dword [ebp - 0x3c], esi
push 0
mov ecx, dword [ebx + ecx*8]
call fcn.11075a20
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [ebp - 0x20]
add ecx, ecx
mov ecx, dword [eax + ecx*8 + 8]
test ecx, ecx
jle 0x11044102
lea eax, [esi + 4]
add ebx, dword [eax]
lea eax, [eax + 8]
sub ecx, 1
jne 0x110440f8
push ebx
call fcn.1107e661
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x20]
add esp, 4
add ecx, ecx
xor edx, edx
push esi
mov ecx, dword [eax + ecx*8]
call fcn.11075a20
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ecx, ecx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax + ecx*8 + 8]
mov eax, dword [ebp - 0x14]
shl ecx, 3
push ecx
mov ecx, dword [eax]
call fcn.11043ae0
mov eax, dword [ebp - 0x14]
mov edx, esi
push ebx
mov ecx, dword [eax]
call fcn.11043ae0
push esi
call fcn.1107e309
add esp, 4
push dword [ebp - 0x3c]
call fcn.1107e309
add esp, 4
jmp case.0x11043faf.5
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [ebx]
call fcn.11043b60
mov ecx, dword [ebx]
lea edx, [ebp - 0x1c]
push 4
call fcn.11043b60
push dword [ebp - 0x1c]
call fcn.1107e661
mov ecx, dword [ebx]
add esp, 4
mov esi, eax
mov edx, esi
push dword [ebp - 0x1c]
call fcn.11043b60
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ecx, ecx
push esi
mov ecx, dword [eax + ecx*8]
call fcn.11075c50
push esi
call fcn.1107e309
add esp, 4
mov esi, ebx
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
call dword [0x110af10c]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x110441f2
mov eax, dword [eax + 0x24]
jmp 0x110441f4
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push 4
mov dword [ebp - 0x1c], eax
call fcn.11043ae0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x11044302
push eax
lea ecx, [ebp - 0x60]
call fcn.11044e00
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov ebx, dword [ebp - 0x60]
test eax, eax
jle 0x1104423f
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
mov edx, esi
call fcn.11014ca0
mov eax, dword [ebp - 0x48]
mov dword [ebx + esi*4], eax
inc esi
mov eax, dword [ebp - 0x1c]
cmp esi, eax
jl 0x11044223
mov esi, dword [ebp - 0x14]
mov edx, ebx
shl eax, 2
push eax
mov ecx, dword [esi]
call fcn.11043ae0
test ebx, ebx
je 0x11044302
mov edx, dword [ebp - 0x58]
mov ecx, ebx
sub edx, ebx
push 4
sar edx, 2
call fcn.11004ac0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jmp 0x11044302
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
mov ecx, dword [esi]
call fcn.11043b60
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push 4
call fcn.11043b60
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.11044e00
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x6c]
mov edx, ebx
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.11043b60
xor esi, esi
cmp dword [ebp - 0x1c], esi
jle 0x110442d5
push dword [ebx + esi*4]
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.11014cc0
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x110442c2
test ebx, ebx
je case.0x11043faf.5
mov edx, dword [ebp - 0x64]
mov ecx, ebx
sub edx, ebx
push 4
sar edx, 2
call fcn.11004ac0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x14]
call dword [0x110af804]
jmp 0x11043f60
mov ecx, dword [0x110e4da0]
mov eax, dword [ecx]
cmp eax, ecx
je 0x11044332
mov edx, dword [ebp - 0x24]
add edx, 8
nop
mov ecx, dword [edx]
lea edx, [edx + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [eax]
cmp eax, dword [0x110e4da0]
jne 0x11044320
push dword [ebp - 0x24]
call fcn.1107e309
add esp, 4
push dword [ebp - 0x20]
call fcn.1107e309
add esp, 4
call dword [0x110aeee8]
mov eax, dword [ebp - 0x54]
mov dword [0x51c714], 1
test eax, eax
je 0x11044370
mov edx, dword [ebp - 0x4c]
mov ecx, eax
sub edx, eax
push 4
sar edx, 2
call fcn.11004ac0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret