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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x100d1444]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x68]
push edi
xor edi, edi
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0x95], 0
test esi, esi
je 0x10029d13
cmp dword [esi], 0xbab1e
jne 0x10029d13
cmp byte [esi + 0xe2], 0
je 0x10029630
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc4], eax
test eax, eax
jns 0x10029653
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x100296cd
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.100282b0
add esp, 8
mov ebx, eax
xor edx, edx
mov eax, 1
or esi, 0xffffffff
test ebx, eax
je 0x10029689
mov ecx, dword [ebp + edx*4 - 0x18]
cmp ecx, 0xffffffff
jae 0x10029689
inc edi
mov esi, ecx
mov ecx, eax
rol ecx, 0x10
test ebx, ecx
je 0x1002969e
mov ecx, dword [ebp + edx*4 - 0x18]
cmp ecx, 0xffffffff
jae 0x1002969e
inc edi
mov esi, ecx
cmp esi, 0xffffffff
je 0x100296ab
inc edx
rol eax, 1
cmp edx, 5
jb 0x10029676
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], edi
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x10029660
mov esi, dword [ebp - 0xa4]
lea ebx, [ebp - 0x68]
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.100294a0
mov eax, dword [ebp - 0xac]
add esp, 8
test eax, eax
js 0x100296f8
mov ecx, dword [ebp - 0xc4]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp + 0x10]
add eax, edi
cmp byte [ebp + 0x20], 0
lea ecx, [eax + 1]
cmove ecx, eax
cmp ecx, 0xa
jbe 0x10029744
lea eax, [ecx*8]
push eax
call dword [0x100d0008]
mov ebx, eax
add esp, 4
mov dword [ebp - 0xa8], ebx
test ebx, ebx
jne 0x1002973d
pop edi
pop esi
lea eax, [ebx + 3]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x95], 1
mov eax, dword [sym.imp.WS2_32.dll_WSAEventSelect]
xor edx, edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xb4], eax
test edi, edi
je 0x1002986e
mov eax, dword [esi + 4]
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x1002986e
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.100282b0
add esp, 8
mov dword [ebp - 0xa0], eax
xor esi, esi
mov edx, 1
mov ecx, esi
shl edx, cl
or edi, 0xffffffff
xor ebx, ebx
test eax, edx
mov edx, dword [ebp - 0x9c]
je 0x100297c7
mov eax, dword [ebp + esi*4 - 0x18]
cmp eax, 0xffffffff
jae 0x100297c7
mov edi, eax
mov ecx, 0x300
mov eax, dword [ebp - 0xa8]
mov ebx, 0x29
mov dword [eax + edx*8], edi
mov word [eax + edx*8 + 4], cx
inc edx
mov dword [ebp - 0x9c], edx
lea ecx, [esi + 0x10]
mov eax, 1
shl eax, cl
test dword [ebp - 0xa0], eax
je 0x10029814
mov eax, dword [ebp + esi*4 - 0x18]
cmp eax, 0xffffffff
jae 0x10029814
push 0
push 0
mov edi, eax
or ebx, 0x32
push 0
push edi
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0x9c]
mov ecx, 0x10
mov eax, dword [ebp - 0xa8]
mov dword [eax + edx*8], edi
mov word [eax + edx*8 + 4], cx
inc edx
mov dword [ebp - 0x9c], edx
cmp edi, 0xffffffff
je 0x1002984b
mov eax, dword [ebp - 0xa4]
push ebx
push dword [eax + 0xdc]
push edi
call dword [ebp - 0xb4]
test eax, eax
jne 0x10029aa7
mov eax, dword [ebp - 0xa0]
inc esi
cmp esi, 5
jb 0x10029785
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x10029770
mov edi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xa8]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0xa0], 0
jbe 0x10029983
mov esi, dword [ebp - 0xc8]
lea eax, [edx*8 + 4]
add eax, ebx
add esi, 4
mov dword [ebp - 0xb0], eax
nop word [eax + eax]
movzx edx, word [esi]
mov al, dl
and al, 1
movzx ecx, al
mov al, dl
neg ecx
sbb ecx, ecx
and ecx, 0x29
mov ebx, ecx
or ebx, 4
and al, 2
cmove ebx, ecx
test dl, 4
je 0x100298d4
push 0
push 0
push 0
push dword [esi - 4]
or ebx, 0x32
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp - 0xa4]
push ebx
push dword [eax + 0xdc]
push dword [esi - 4]
call dword [ebp - 0xb4]
test eax, eax
jne 0x10029aa7
mov ecx, dword [ebp - 0xb0]
xor edx, edx
mov eax, dword [esi - 4]
mov dword [ecx - 4], eax
xor eax, eax
mov word [ecx], ax
movzx eax, word [esi]
mov ebx, eax
test al, 1
je 0x1002991b
mov eax, 0x300
mov word [ecx], ax
mov edx, eax
movzx ebx, word [esi]
movzx eax, bx
movzx ebx, dx
mov edi, eax
mov dword [ebp - 0xac], edi
mov edi, dword [ebp - 0xbc]
test al, 2
je 0x10029944
or edx, 0x400
mov word [ecx], dx
movzx eax, word [esi]
movzx ebx, dx
jmp 0x1002994a
mov eax, dword [ebp - 0xac]
test al, 4
je 0x10029954
or ebx, 0x10
mov word [ecx], bx
mov eax, dword [ebp - 0xa0]
add ecx, 8
mov edx, dword [ebp - 0x9c]
inc eax
inc edx
mov dword [ebp - 0xb0], ecx
add esi, 8
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp + 0x10]
jb 0x100298a0
test edx, edx
jne 0x10029ad5
cmp byte [ebp + 0x20], dl
je 0x10029c78
mov esi, dword [ebp - 0xa8]
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov eax, dword [ebp - 0xa4]
push 0
push dword [ebp - 0xc4]
add eax, 0xdc
push 0
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp dword [ebp + 0x10], 0
mov ecx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov dword [ebp - 0xac], ecx
jbe 0x10029ba0
lea eax, [edi*8 + 6]
add eax, esi
xor edi, edi
mov dword [ebp - 0xc0], eax
nop word [eax + eax]
movsx eax, word [eax]
lea edx, [ebp - 0x94]
mov dword [ebp - 0xb0], eax
xor esi, esi
mov eax, dword [ebp - 0xc8]
push edx
push esi
mov dword [ebp - 0x94], esi
mov eax, dword [eax + edi*8]
push eax
mov dword [ebp - 0xd0], eax
call ecx
test eax, eax
jne 0x10029a81
mov ecx, dword [ebp - 0x94]
mov eax, esi
test cl, 0x29
mov ebx, ecx
setne al
movzx edx, ax
mov eax, edx
or eax, 4
and bl, 0x32
mov ebx, dword [ebp - 0x94]
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
and bl, 4
mov ebx, dword [ebp - 0xa0]
movzx ecx, ax
mov eax, edx
cmove ecx, eax
cmp dword [ebp - 0xcc], 0
movzx eax, cx
mov esi, eax
je 0x10029a81
test ebx, ebx
jne 0x10029a81
cmp dword [ebp - 0x94], ebx
je 0x10029a81
inc dword [ebp - 0xb8]
mov eax, dword [ebp - 0xa4]
push 0
push dword [eax + 0xdc]
push dword [ebp - 0xd0]
call dword [ebp - 0xb4]
test ebx, ebx
jne 0x10029b1c
movzx eax, si
jmp 0x10029b70
cmp byte [ebp - 0x95], 0
je 0x10029abf
push dword [ebp - 0xa8]
call dword [0x100d000c]
add esp, 4
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xa8]
push 0
push 0
push edx
push esi
call fcn.1002efc0
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0xa0], ebx
test ebx, ebx
jns 0x10029b0b
pop edi
pop esi
mov eax, 0xc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
jle 0x100299a2
mov dword [ebp - 0xb8], ebx
jmp 0x100299c0
mov edx, dword [ebp - 0xb0]
mov eax, esi
or eax, 1
and edx, 0x300
movzx ecx, ax
movzx eax, si
mov esi, dword [ebp - 0xb0]
cmove ecx, eax
movzx edx, cx
mov ebx, esi
mov eax, edx
or eax, 4
and bl, 0x10
mov ebx, dword [ebp - 0xa0]
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
and esi, 0x400
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0xc8]
mov word [ecx + edi*8 + 6], ax
inc edi
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
add eax, 8
mov dword [ebp - 0xc0], eax
cmp edi, dword [ebp + 0x10]
jb 0x100299f0
mov edi, dword [ebp - 0xbc]
test edi, edi
je 0x10029c64
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10029c64
nop
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.100282b0
add esp, 8
mov dword [ebp - 0xd0], eax
xor esi, esi
mov edi, 1
nop word [eax + eax]
lea ecx, [esi + 0x10]
mov edx, edi
bts edx, ecx
test eax, edx
je 0x10029c4d
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push dword [ebp + esi*4 - 0x18]
call dword [ebp - 0xac]
test eax, eax
jne 0x10029c27
cmp dword [ebp - 0xcc], eax
je 0x10029c27
test ebx, ebx
jne 0x10029c27
cmp dword [ebp - 0x94], ebx
je 0x10029c27
inc dword [ebp - 0xb8]
mov eax, dword [ebp - 0xa4]
push 0
push dword [eax + 0xdc]
push dword [ebp + esi*4 - 0x18]
call dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd0]
inc esi
rol edi, 1
cmp esi, 5
jb 0x10029be0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x10029bc0
mov ebx, dword [ebp - 0xa4]
push dword [ebx + 0xdc]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
jmp 0x10029c7e
mov ebx, dword [ebp - 0xa4]
cmp byte [ebp - 0x95], 0
je 0x10029c96
push dword [ebp - 0xa8]
call dword [0x100d000c]
add esp, 4
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x10029ca8
mov eax, dword [ebp - 0xb8]
mov dword [ecx], eax
cmp byte [ebp + 0x1c], 0
je 0x10029d00
cmp dword [ebp - 0x9c], 0
jne 0x10029d00
cmp byte [ebp + 0x20], 0
jne 0x10029d00
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0
push eax
push ebx
call sym.libcurl.dll_curl_multi_timeout
add esp, 8
test eax, eax
jne 0x10029d00
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x10029d00
mov ecx, dword [ebp - 0xc4]
cmp eax, ecx
jg 0x10029cf3
test eax, eax
jns 0x10029cf5
mov eax, ecx
cdq
push edx
push eax
call fcn.1002f3f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e4a8
mov esp, ebp
pop ebp
ret