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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], edx
push edi
mov edi, ecx
mov dword [ebp - 8], eax
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x47270a
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x4722e0
push 1
push esi
push ebx
push edx
push 3
push edi
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jle 0x47270c
mov edx, dword [ebp - 4]
nop
test esi, esi
js 0x472609
mov eax, dword [edi + 4]
test eax, eax
je 0x472306
mov eax, dword [eax + 0x104]
test eax, eax
je 0x472306
push ebx
push edx
push edi
call eax
add esp, 0xc
jmp 0x4725fc
mov cl, byte [edi + 0x4c]
movzx eax, cl
add eax, 0xfffffffe
cmp eax, 6
ja case.default.0x472318
jmp dword [eax*4 + 0x472714]
mov dword [ebp - 8], 0
test edx, edx
je 0x4723e6
test byte [edi + 0x48], 1
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, ebx
je 0x47235b
push 2
push eax
push 0
call fcn.004b5d30
add esp, 0xc
cmp eax, 0xffffff36
je 0x47235f
mov edx, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x4723eb
push 0
jmp 0x47233e
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x47236e
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
jmp 0x4723eb
call fcn.00472840
mov esi, eax
test esi, esi
je 0x472350
test byte [edi + 0x48], 1
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, ebx
je 0x4723a6
push 2
push eax
push esi
call fcn.004b5d30
add esp, 0xc
test eax, eax
jns 0x4723c5
mov ecx, esi
call fcn.00472860
mov edx, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x4723eb
push 0
push eax
push esi
call fcn.004b5d30
add esp, 0xc
test eax, eax
jns 0x4723c5
mov ecx, esi
call fcn.00472860
mov edx, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x4723eb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4723d3
mov ecx, eax
call fcn.00472860
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ebx
jmp 0x4723ee
mov ecx, 0xffffff53
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x18]
test ecx, ecx
mov esi, ecx
cmovle eax, ebx
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmovle eax, edx
mov dword [ebp - 4], eax
jmp case.default.0x472318
test edx, edx
je 0x4724cc
mov esi, 0xfffffffe
cmp cl, 5
je 0x472421
xor esi, esi
jmp case.default.0x472318
cmp dword [edi + 0x10], 0
je 0x4724b2
mov eax, dword [edi + 0x34]
test ebx, ebx
jne 0x472441
mov ecx, dword [edi + 0x18]
add ecx, eax
xor esi, esi
mov dword [ebp - 0x1c], ecx
jmp case.default.0x472318
mov ecx, dword [edi + 0x38]
cmp eax, ecx
jge 0x472451
mov esi, dword [edi + 0x30]
mov edx, ecx
sub edx, eax
jmp 0x472483
test ecx, ecx
jle 0x472461
cmp eax, ecx
jne 0x472461
or esi, 0xffffffff
jmp case.default.0x472318
mov esi, dword [edi + 0x30]
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], esi
test edx, edx
jg 0x472486
test ecx, ecx
jne 0x47247b
or esi, 0xffffffff
jmp case.default.0x472318
mov edx, ecx
jg 0x472481
mov edx, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov ecx, dword [edi + 0x18]
cmp ebx, edx
mov esi, ebx
cmovge esi, edx
add ecx, eax
add eax, esi
mov dword [ebp - 0x1c], ecx
mov edx, esi
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x34], eax
cmp eax, dword [ebp - 0x10]
jne 0x4724af
test ecx, ecx
jle 0x4724af
mov dword [edi + 0x34], 0
mov edx, dword [ebp - 4]
test esi, esi
jle case.default.0x472318
push esi
push edx
push dword [ebp - 0x1c]
call fcn.0041d170
add esp, 0xc
jmp case.default.0x472318
mov esi, 0xffffff53
jmp case.default.0x472318
mov ecx, dword [edi]
test ecx, ecx
je 0x4724fe
test edx, edx
je 0x4724fe
test ebx, ebx
jne 0x4724ec
lea esi, [ebx + 1]
jmp case.default.0x472318
mov edx, dword [edi + 0x30]
push ecx
add edx, ebx
call fcn.00462f40
add esp, 4
test eax, eax
jne 0x472505
xor esi, esi
jmp case.default.0x472318
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jne 0x472514
xor esi, esi
jmp case.default.0x472318
mov eax, dword [edi + 0x30]
push ebx
push dword [ebp - 4]
add eax, ecx
push eax
call fcn.0041d170
mov ecx, dword [edi]
add esp, 0xc
mov esi, ebx
mov eax, dword [ecx]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 8]
add dword [edi + 0x30], ebx
mov dword [edi + 0x40], eax
jmp case.default.0x472318
mov eax, dword [edi + 0x18]
test eax, eax
je 0x472556
push eax
push ebx
push 1
push edx
call fcn.004300d9
add esp, 0x10
jmp 0x4725fc
mov esi, 0xffffff52
jmp case.default.0x472318
cmp dword [edi + 0xc], 0
je case.default.0x472318
xor esi, esi
test edx, edx
je 0x4724cc
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4725d9
cmp dword [ecx + 0x230], esi
jne 0x4725c7
mov eax, 0x4fd750
cmp dword [0x4fd758], esi
je 0x4725b6
add ecx, 0x228
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
nop dword [eax + eax]
cmp ecx, dword [eax]
je 0x4725b1
add eax, 0xc
cmp dword [eax + 8], esi
jne 0x4725a0
mov eax, dword [ebp - 0x10]
jmp 0x4725bc
add eax, 4
jmp 0x4725bc
lea eax, [ecx + 0x228]
cmp dword [eax], 0x357
mov ecx, dword [edi + 0x18]
jne 0x4725d9
push ebx
call fcn.0046faf0
add esp, 4
lea esi, [eax - 1]
neg esi
sbb esi, esi
jmp case.default.0x472318
push ebx
call fcn.0046ecb0
add esp, 4
cmp eax, 1
mov eax, 0xffffffff
cmovne esi, eax
jmp case.default.0x472318
push 0
push ebx
push edx
push dword [edi + 0x40]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4722dc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x472629
push esi
push 0
push ebx
push dword [ebp - 4]
push 0x83
push ecx
call eax
add esp, 0x18
mov esi, eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4726ff
mov eax, dword [0x55587c]
push ecx
test eax, eax
je 0x4726f7
call eax
jmp 0x4726fc
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x44], 0
je 0x472657
or esi, 0xffffffff
jmp 0x47260c
mov esi, dword [edi + 0x18]
test esi, esi
jne 0x472665
mov esi, 0xffffff53
jmp 0x47260c
and dword [edi + 0x48], 0xffffffef
test edx, edx
je 0x4726bd
test ebx, ebx
js 0x4726bd
mov eax, dword [esi + 0x444]
test eax, eax
je 0x472692
push 1
push 8
push esi
call eax
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x448], 8
push ebx
mov ecx, esi
call fcn.0048d740
mov ecx, dword [ebp - 0xc]
mov esi, eax
add esp, 4
test esi, esi
jns 0x4726ab
or esi, 0xffffffff
jmp 0x4726c2
jne 0x47260c
mov dword [ecx + 0x44], 1
jmp 0x47260c
mov esi, 0xffffff53
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4726b1
mov eax, dword [eax + 0x2b8]
cmp eax, 0xfffffebd
je 0x4726ee
cmp eax, 0xfffffeb9
je 0x4726ee
cmp eax, 0xfffffea9
je 0x4726b1
cmp eax, 2
je 0x4726ee
cmp eax, 3
jne 0x4726b1
or dword [edi + 0x48], 0x10
jmp 0x47260c
call fcn.0042a4fb
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
jle 0x47270a
test esi, esi
jg 0x47270c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret