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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x118]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 2
jge 0x423633
mov al, 1
jmp 0x42386a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
je 0x423868
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 0x40]
jbe 0x42381d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x7c], 0
je 0x4236bd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 0x44]
jbe 0x4236bd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 0x44]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x44]
push edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x44]
push eax
call fcn.0041afa0
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x44], eax
mov ecx, 0x462364
call fcn.0040d0d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jae 0x4236ef
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x118], ecx
jmp 0x4236f8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x42373d
mov esi, esp
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x40]
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x2c], eax
jmp 0x423763
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x40]
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call fcn.0042a120
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4237d8
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2733
je 0x4237d6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0
je 0x4237c5
mov esi, esp
push 1
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x118], eax
jmp 0x4237cf
mov dword [ebp - 0x118], 0
xor al, al
jmp 0x42386a
jmp 0x42381d
cmp dword [ebp - 0x2c], 0
jle 0x423816
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 0
je 0x4237f6
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x78]
call fcn.0040ce10
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x5c
call fcn.0040ce10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
add ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
jmp 0x423818
jmp 0x42381d
jmp 0x423640
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x40]
cmp eax, dword [ecx + 0xc]
je 0x42383a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0x4000
jbe 0x423868
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x3c]
call fcn.004023f0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x44]
sub edx, dword [ecx + 0x40]
mov eax, dword [ebp - 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x118
cmp ebp, esp
call fcn.0043234a
mov esp, ebp
pop ebp
ret 4