Function at 0x44cdc0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xd8
mov eax, dword [0x55f904]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xe0]
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
xor ebp, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x44d374
cmp dword [ebx], 0xbab1e
jne 0x44d374
cmp byte [ebx + 0x167], 0
je 0x44ce34
lea eax, [ebp + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004edf30
add esp, 0xd8
ret
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x20], ecx
test ecx, ecx
jns 0x44ce5f
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004edf30
add esp, 0xd8
ret
push esi
push edi
push 0xa
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00474a20
lea eax, [ebx + 0x1c]
push eax
call fcn.0044d770
mov edi, eax
add esp, 0x10
test edi, edi
je 0x44cebc
push edi
call fcn.0044d820
lea esi, [eax + 0x60]
push esi
push eax
call fcn.0044b790
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004748b0
add esp, 0x14
test eax, eax
jne 0x44d154
push edi
call fcn.0044d6c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x44ce87
lea eax, [esp + 0x3c]
push eax
lea eax, [ebx + 0xc8]
push eax
call fcn.004533f0
add esp, 8
test eax, eax
jne 0x44d154
mov eax, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x20], eax
cmp dword [esp + 0xf4], edi
je 0x44cf6e
nop
mov eax, dword [esp + 0x1c]
lea esi, [edi*8]
movzx ecx, word [esi + eax + 4]
mov al, cl
mov bl, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x300
mov edx, eax
or eax, 0x400
movzx ecx, ax
and bl, 2
mov eax, edx
cmove ecx, eax
mov eax, dword [esp + 0x1c]
movzx edx, cx
movzx ebx, word [esi + eax + 4]
mov eax, edx
or eax, 0x10
and bl, 4
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx eax, cx
push eax
mov eax, dword [esp + 0x20]
push dword [esi + eax]
lea eax, [esp + 0x44]
push eax
call fcn.004749e0
add esp, 0xc
test eax, eax
jne 0x44d154
inc edi
cmp edi, dword [esp + 0xf4]
jb 0x44cef0
mov ebx, dword [esp + 0x14]
mov eax, dword [sym.imp.WS2_32.dll_WSAEventSelect]
xor edi, edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x40], edi
jbe 0x44d027
mov eax, dword [esp + 0x3c]
movzx edx, word [eax + edi*8 + 4]
lea eax, [eax + edi*8]
mov ecx, edx
mov dword [esp + 0x10], eax
and ecx, 0x300
mov eax, edx
neg ecx
sbb ecx, ecx
and ecx, 0x29
mov esi, ecx
or esi, 4
and eax, 0x400
cmove esi, ecx
test dl, 0x10
je 0x44cffe
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 4
push ecx
mov eax, dword [eax]
or esi, 0x32
push 0x1008
push 0xffff
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x44cffe
cmp dword [esp + 0x30], 1
jne 0x44cffe
push eax
push eax
push eax
push dword [esp + 0x38]
call dword [sym.imp.WS2_32.dll_send]
test esi, esi
je 0x44d01c
mov eax, dword [esp + 0x3c]
push esi
push dword [ebx + 0x158]
push dword [eax + edi*8]
call dword [esp + 0x30]
test eax, eax
jne 0x44d154
inc edi
cmp edi, dword [esp + 0x40]
jb 0x44cf83
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.0044ccb0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x28]
test eax, eax
js 0x44d04f
cmp eax, edi
cmovl edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x40]
mov dl, byte [esp + 0x104]
test eax, eax
jne 0x44d161
test dl, dl
je 0x44d2e2
xor esi, esi
mov dword [esp + 0x10], esi
push 0
push edi
push 0
lea eax, [ebx + 0x158]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov edx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], edx
cmp dword [esp + 0xf4], ecx
jbe 0x44d233
mov edi, dword [esp + 0x20]
shl edi, 3
mov dword [esp + 0x2c], edi
nop dword [eax]
mov eax, dword [esp + 0x3c]
movsx eax, word [edi + eax + 6]
xor edi, edi
mov dword [esp + 0x50], eax
lea eax, [ecx*8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], edi
mov eax, dword [eax + ecx]
lea ecx, [esp + 0x68]
push ecx
push edi
push eax
mov dword [esp + 0x58], eax
call edx
test eax, eax
jne 0x44d19a
mov ecx, dword [esp + 0x68]
mov eax, edi
test cl, 0x29
mov ebx, ecx
setne al
movzx edx, ax
mov eax, edx
or eax, 4
and bl, 0x32
mov ebx, dword [esp + 0x68]
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
and bl, 4
movzx ecx, ax
mov eax, edx
cmove ecx, eax
cmp dword [esp + 0x34], 0
movzx eax, cx
mov edi, eax
je 0x44d196
test esi, esi
jne 0x44d196
cmp dword [esp + 0x68], esi
je 0x44d196
mov eax, dword [esp + 0x14]
inc ebp
push esi
push dword [eax + 0x158]
push dword [esp + 0x54]
call dword [esp + 0x30]
movzx eax, di
jmp 0x44d1fd
mov dword [esp + 0x18], 3
jmp 0x44d34a
push 0
push 0
push eax
push dword [esp + 0x48]
call fcn.004744e0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
jns 0x44d189
mov dword [esp + 0x18], 0xc
jmp 0x44d34a
jle 0x44d070
mov ebp, esi
jmp 0x44d084
mov ebx, dword [esp + 0x14]
push 0
push dword [ebx + 0x158]
push dword [esp + 0x54]
call dword [esp + 0x30]
test esi, esi
jne 0x44d1b3
movzx eax, di
jmp 0x44d1fd
mov edx, dword [esp + 0x50]
mov eax, edi
or eax, 1
and edx, 0x300
movzx ecx, ax
movzx eax, di
mov edi, dword [esp + 0x50]
cmove ecx, eax
movzx edx, cx
mov ebx, edi
mov eax, edx
or eax, 4
and bl, 0x10
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
and edi, 0x400
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx eax, cx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add edi, 8
mov dword [esp + 0x2c], edi
mov word [ecx + edx + 6], ax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x54], ecx
cmp ecx, dword [esp + 0xf4]
jb 0x44d0b0
cmp dword [esp + 0x20], 0
je 0x44d2cb
lea eax, [ebx + 0x1c]
push eax
call fcn.0044d770
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x44d2cb
push eax
call fcn.0044d820
xor edi, edi
mov dword [esp + 0x3c], eax
add esp, 4
cmp dword [eax + 0x74], edi
jbe 0x44d2b7
lea esi, [eax + 0x60]
nop dword [eax]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
push 0
push dword [esi]
call dword [esp + 0x3c]
test eax, eax
jne 0x44d29c
cmp dword [esp + 0x34], eax
je 0x44d29c
cmp dword [esp + 0x10], eax
jne 0x44d29c
cmp dword [esp + 0x68], eax
je 0x44d29c
inc ebp
push 0
push dword [ebx + 0x158]
push dword [esi]
call dword [esp + 0x30]
mov eax, dword [esp + 0x38]
inc edi
add esi, 4
cmp edi, dword [eax + 0x74]
jb 0x44d270
push dword [esp + 0x20]
call fcn.0044d6c0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44d256
push dword [ebx + 0x158]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov eax, dword [esp + 0x40]
mov dl, byte [esp + 0x104]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44d2ec
mov dword [ecx], ebp
cmp byte [esp + 0x100], 0
je 0x44d34a
test eax, eax
jne 0x44d34a
test dl, dl
jne 0x44d34a
cmp dword [ebx], 0xbab1e
mov dword [esp + 0x10], eax
jne 0x44d34a
cmp byte [ebx + 0x167], dl
jne 0x44d34a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.0044ccb0
add esp, 0xc
test eax, eax
jne 0x44d34a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d34a
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x44d33d
test eax, eax
jns 0x44d33f
mov eax, ecx
cdq
push edx
push eax
call fcn.00474b80
add esp, 8
lea eax, [esp + 0x3c]
push eax
call fcn.00474a00
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004edf30
add esp, 0xd8
ret
mov ecx, dword [esp + 0xdc]
mov eax, 1
pop ebp
pop ebx
xor ecx, esp
call fcn.004edf30
add esp, 0xd8
ret