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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526498
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x80]
push eax
push 0x549fb4
lea edi, [esp + 0x1c]
call fcn.00448430
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
add esp, 8
cmp eax, ebx
jl 0x4468fb
push str.wbf_ap_17164
push esi
call fcn.00502c74
add esp, 8
cmp eax, ebx
je 0x4468fb
sub eax, esi
cmp eax, 0xffffffff
jne 0x4469e8
cmp dword [esi - 0xc], ebx
jl 0x44691d
push str.wbf_ap_17165
push esi
call fcn.00502c74
add esp, 8
cmp eax, ebx
je 0x44691d
sub eax, esi
cmp eax, 0xffffffff
jne 0x4469e8
mov eax, dword [ebp + 0x48]
cmp eax, ebx
jne 0x446933
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
jmp 0x446aa8
mov ebx, dword [0x531550]
lea esp, [esp]
mov ecx, dword [ebp + 0x40]
push 0
push eax
push ecx
mov ecx, dword [ebp + 0x6c]
push ecx
call ebx
mov edi, eax
test edi, edi
jle 0x446983
mov eax, dword [ebp + 0x48]
cmp eax, edi
jbe 0x44696d
mov ecx, dword [ebp + 0x40]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.00502d60
add esp, 0xc
mov eax, dword [ebp + 0x48]
cmp eax, edi
jb 0x446999
sub eax, edi
push 0
push eax
lea esi, [ebp + 0x3c]
call fcn.004451d0
jmp 0x446999
jge 0x446999
call dword [0x53157c]
mov esi, eax
cmp esi, 0x2733
jne 0x4469c2
mov byte [ebp + 0x76], 1
test edi, edi
jle 0x4469a4
mov eax, dword [ebp + 0x48]
test eax, eax
ja 0x446940
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x6c]
push 0x23
push 0x81da
push eax
push ecx
call dword [0x53155c]
mov esi, dword [esp + 0x14]
jmp 0x446a9e
test esi, esi
jne 0x4469c9
or esi, 0xffffffff
lea eax, [esp + 0x14]
call fcn.0043a2c0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x48], ebx
jne 0x4469fc
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
jmp 0x446aa8
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x40]
push 0
push eax
push ecx
mov ecx, dword [ebp + 0x6c]
push ecx
call dword [0x531550]
mov edi, eax
test edi, edi
jle 0x446a4a
mov eax, dword [ebp + 0x48]
cmp eax, edi
jbe 0x446a34
mov ecx, dword [ebp + 0x40]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.00502d60
add esp, 0xc
mov eax, dword [ebp + 0x48]
cmp eax, edi
jb 0x446a6d
sub eax, edi
push 0
push eax
lea esi, [ebp + 0x3c]
call fcn.004451d0
jmp 0x446a6d
jge 0x446a75
call dword [0x53157c]
mov esi, eax
cmp esi, 0x2733
jne 0x446ae2
mov ebx, 1
add dword [esp + 0x18], ebx
mov byte [ebp + 0x76], 1
test edi, edi
mov esi, dword [esp + 0x14]
jl 0x446a7a
cmp edi, dword [ebp + 0x48]
je 0x446a89
test ebx, ebx
je 0x446a89
cmp dword [esp + 0x18], 5
jl 0x446a00
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x6c]
push 0x21
push 0x81da
push ecx
push edx
call dword [0x53155c]
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, ebp
call edx
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446acc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x446ae9
or esi, 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446b11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret