Function at 0x402610
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425a03
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x432014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
push 0xa
mov dword [ebp - 4], 1
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebp + 0x30]
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
movq qword [ebp - 0x1f], xmm0
mov dword [ebp - 0x17], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.0040e318
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x7c], 0
add esp, 0x10
lea edx, [ecx + 1]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402695
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00406510
mov byte [ebp - 4], 2
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
mov dword [ebp - 0x40], edx
cmp eax, 4
jb 0x402b3e
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [edx + 4]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp + 8]
lea edi, [ebp - 0x58]
mov esi, 0xf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], ecx
movups xmmword [ebp - 0x58], xmm0
cmp ecx, esi
jbe 0x402776
mov esi, ecx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x402739
mov ecx, connect
mov esi, closesocket
add ecx, 0x23
push ecx
call fcn.00409866
add esp, 4
test eax, eax
je 0x402b48
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x40]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x402773
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x40275a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x402b43
jmp 0x402717
test eax, eax
je 0x402771
push eax
call fcn.00409866
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov edx, dword [ebp - 0x40]
mov edi, eax
jmp 0x402773
xor edi, edi
mov dword [ebp - 0x58], edi
push edx
push dword [ebp - 0x3c]
lea eax, [edi + 4]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
push eax
mov dword [edi], 0x20544547
call fcn.0040ad20
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov byte [edi + eax + 4], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push 0x34
push str._HTTP___1.1_nContent_Type:_image_png_nContent_Length:
cmp eax, 0x34
jb 0x4027d8
cmp edx, 0x10
lea esi, [ebp - 0x58]
lea eax, [ecx + 0x34]
cmovae esi, dword [ebp - 0x58]
add esi, ecx
mov dword [ebp - 0x48], eax
push esi
call fcn.0040ad20
add esp, 0xc
mov byte [esi + 0x34], 0
lea eax, [ebp - 0x58]
jmp 0x4027e9
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x3c]
push 0x34
call fcn.004069d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.00407180
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x64]
mov eax, edx
mov ecx, dword [ebp - 0x68]
sub eax, ecx
cmp eax, 2
jb 0x402864
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x68], eax
mov edx, 0xa0a
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x78]
jmp 0x40287c
push 2
push 0x42eb14
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x78]
push dword [ebp - 0x3c]
push 2
call fcn.004069d0
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x4028eb
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4028e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b48
push ecx
push edx
call fcn.00409896
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x40293b
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402931
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b48
push ecx
push edx
call fcn.00409896
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x402973
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b48
push ecx
push edx
call fcn.00409896
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x4029c0
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b48
push ecx
push edx
call fcn.00409896
add esp, 8
mov edx, dword [ebp + 0x30]
lea ecx, [ebp + 0x20]
call fcn.004024e0
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
mov esi, dword [ebp - 0x24]
mov eax, esi
cmovae ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x30]
mov edx, dword [ebp - 0x28]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x402a0b
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
lea esi, [eax + edx]
push esi
call fcn.0040ad20
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x402a1b
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x3c]
push edi
call fcn.004069d0
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push 0
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x402a64
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, str.send_failed:
mov ecx, 0x4330d0
call fcn.00406020
mov ecx, eax
call fcn.00404080
push eax
call fcn.00405f80
add esp, 4
xor esi, esi
jmp 0x402a69
mov esi, 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x402a9d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b4d
push ecx
push edx
call fcn.00409896
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x402adf
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ad5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b4d
push ecx
push edx
call fcn.00409896
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x402b21
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b4d
push ecx
push edx
call fcn.00409896
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409853
mov esp, ebp
pop ebp
ret
call fcn.00401360
call fcn.004012c0
call fcn.00410e4d
call fcn.00410e4d
int3