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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x14]
mov dword [ebp - 0x28], eax
mov dword [esp], eax
call sub.KERNEL32.dll_EnterCriticalSection
sub esp, 4
mov byte [ebp - 0x24], 1
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
sub edx, ecx
sar edx, 3
mov eax, edi
mov ebx, edx
mov edx, 0
div ebx
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
lea edx, [esi + 0x40]
mov dword [ebp - 0x40], edx
cmp ecx, edx
jne 0x63a8a6
jmp 0x63a98a
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x63a98a
cmp edi, dword [ecx + 8]
jne 0x63a8bf
jmp 0x63a8d3
cmp edi, dword [ecx + 8]
je 0x63a8ca
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x63a8ba
jmp 0x63a98a
cmp dword [ebp - 0x40], ecx
je 0x63a98a
mov dword [ebp - 0x3c], ecx
mov ebx, dword [ecx + 0xc]
mov eax, esi
mov esi, ebx
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x63a8db
mov ebx, esi
mov esi, eax
mov eax, dword [eax + 0x5c]
mov dword [ebx + 0x1c], eax
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x5c], eax
mov ebx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
sub eax, ebx
sar eax, 3
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
mov edx, 0
div dword [ebp - 0x4c]
lea eax, [ebx + edx*8]
mov edx, dword [eax]
cmp ecx, edx
sete byte [ebp - 0x41]
mov ebx, dword [eax + 4]
cmp ecx, ebx
sete byte [ebp - 0x42]
cmp byte [ebp - 0x41], 0
je 0x63a949
cmp byte [ebp - 0x42], 0
je 0x63a93d
mov ebx, dword [ebp - 0x40]
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x63a955
cmp byte [ebp - 0x41], 0
je 0x63a949
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x63a955
cmp byte [ebp - 0x42], 0
je 0x63a955
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov eax, dword [esi + 0x48]
mov edx, dword [ecx]
cmp ecx, eax
je 0x63a983
cmp eax, edx
je 0x63a983
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0071704c
dec dword [esi + 0x3c]
mov bl, 1
jmp 0x63a98c
mov bl, 0
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x80]
sub edx, ecx
sar edx, 3
mov dword [ebp - 0x3c], edx
mov eax, edi
mov edx, 0
div dword [ebp - 0x3c]
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
lea edx, [esi + 0x6c]
mov dword [ebp - 0x40], edx
cmp ecx, edx
je 0x63aaa5
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x63aaa5
cmp edi, dword [ecx + 8]
jne 0x63a9d3
jmp 0x63a9e7
cmp edi, dword [ecx + 8]
je 0x63a9de
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x63a9ce
jmp 0x63aaa5
cmp dword [ebp - 0x40], ecx
je 0x63aaa5
mov dword [ebp - 0x3c], ecx
mov ebx, dword [ecx + 0xc]
mov eax, esi
mov esi, ebx
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x63a9ef
mov ebx, esi
mov esi, eax
mov eax, dword [eax + 0x88]
mov dword [ebx + 0x1c], eax
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x88], eax
mov ebx, dword [esi + 0x7c]
mov eax, dword [esi + 0x80]
sub eax, ebx
sar eax, 3
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
mov edx, 0
div dword [ebp - 0x4c]
lea eax, [ebx + edx*8]
mov edx, dword [eax]
cmp ecx, edx
sete byte [ebp - 0x41]
mov ebx, dword [eax + 4]
cmp ecx, ebx
sete byte [ebp - 0x42]
cmp byte [ebp - 0x41], 0
je 0x63aa66
cmp byte [ebp - 0x42], 0
je 0x63aa5a
mov ebx, dword [ebp - 0x40]
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x63aa72
cmp byte [ebp - 0x41], 0
je 0x63aa66
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x63aa72
cmp byte [ebp - 0x42], 0
je 0x63aa72
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov eax, dword [esi + 0x74]
mov edx, dword [ecx]
cmp ecx, eax
je 0x63aaa0
cmp eax, edx
je 0x63aaa0
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0071704c
dec dword [esi + 0x68]
mov bl, 1
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
sub edx, ecx
sar edx, 3
mov dword [ebp - 0x3c], edx
mov eax, edi
mov edx, 0
div dword [ebp - 0x3c]
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
lea edx, [esi + 0x98]
mov dword [ebp - 0x40], edx
cmp ecx, edx
je 0x63abc5
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x63abc5
cmp edi, dword [ecx + 8]
jne 0x63aaf2
jmp 0x63ab06
cmp edi, dword [ecx + 8]
je 0x63aafd
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x63aaed
jmp 0x63abc5
cmp dword [ebp - 0x40], ecx
je 0x63abc5
mov dword [ebp - 0x3c], ecx
mov ebx, dword [ecx + 0xc]
mov edi, ebx
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x63ab0c
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x1c], eax
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xb4], eax
mov ebx, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
sub edx, ebx
sar edx, 3
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi + 8]
mov edi, edx
mov edx, 0
div edi
lea eax, [ebx + edx*8]
mov edx, dword [eax]
cmp ecx, edx
sete byte [ebp - 0x41]
mov ebx, dword [eax + 4]
cmp ecx, ebx
sete byte [ebp - 0x42]
cmp byte [ebp - 0x41], 0
je 0x63ab80
cmp byte [ebp - 0x42], 0
je 0x63ab74
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax], edx
jmp 0x63ab8c
cmp byte [ebp - 0x41], 0
je 0x63ab80
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x63ab8c
cmp byte [ebp - 0x42], 0
je 0x63ab8c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov eax, dword [esi + 0xa0]
mov edx, dword [ecx]
cmp ecx, eax
je 0x63abbd
cmp eax, edx
je 0x63abbd
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0071704c
dec dword [esi + 0x94]
jmp 0x63abcd
test bl, bl
je 0x63ac75
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x19]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 1
call fcn.00597864
mov ebx, dword [esi + 0x34]
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
call fcn.00597864
mov dword [ebp - 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.WS2_32.DLL_WSASend
sub esp, 0x1c
mov ebx, eax
call fcn.00597864
call sub.WSOCK32.DLL_WSAGetLastError
test ebx, ebx
jne 0x63ac75
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
call fcn.00597864
jmp 0x63ac75
cmp byte [ebp - 0x24], 0
je 0x63ac93
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
jmp 0x63ac93
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret