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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
mov eax, dword [0x10035448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7f
xor edi, edi
lea eax, [ebp - 0x103]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x90c], ebx
mov byte [ebp - 0x104], 0
call sub.MSVCR100.dll_memset
push 0x7f
lea eax, [ebp - 0x83]
push edi
push eax
mov byte [ebp - 0x84], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x128]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
mov dword [ebp - 0x908], ecx
add eax, 2
push eax
push 0x3c
lea eax, [esi + 0x1cb0]
push ecx
call fcn.100247e8
mov eax, dword [esi + 0x1eb0]
movzx ecx, byte [eax]
add esp, 0x24
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x10024f2d
cmp ecx, 0x23
je 0x10024f09
cmp ecx, 0x27
jne 0x10024fc1
push edi
push ecx
push 0xfa
mov edi, 0xff
push edi
push 0x10035584
lea eax, [ebp - 0x904]
push 0x800
push eax
call sym.libcurl.dll_curl_msnprintf
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
push 4
pop ebx
jmp 0x10024e9d
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10024e29
sub eax, ecx
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x910], eax
cmp eax, 0x7fa
jae 0x10024e9a
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x1003cc84
push dword [esi]
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x10
test eax, eax
je 0x10024e9a
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push 0x1003cc78
push eax
lea eax, [ebp + ebx - 0x904]
push eax
call sym.libcurl.dll_curl_msnprintf
mov ebx, dword [ebp - 0x910]
add esp, 0x1c
mov esi, dword [esi + 4]
test esi, esi
jne 0x10024e24
push 0xf0
push edi
mov eax, 0x800
sub eax, ebx
push 0x1003cc70
push eax
lea eax, [ebp + ebx - 0x904]
push eax
call sym.libcurl.dll_curl_msnprintf
add esp, 0x14
push esi
add ebx, 2
push ebx
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x190]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10024f00
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x1003caf8
push dword [ebp - 0x908]
call fcn.1001e441
add esp, 0xc
add ebx, 0xfffffffe
push ebx
jmp 0x10024fab
lea ecx, [esi + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10024f14
push 0xf0
mov edi, 0xff
push edi
push ecx
push 0
push 0x23
jmp 0x10024f4f
lea ecx, [esi + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10024f38
push 0xf0
mov edi, 0xff
push edi
push ecx
push 0
push 0x18
push 0xfa
push edi
sub eax, esi
push 0x1003cc60
lea esi, [eax + 6]
lea eax, [ebp - 0x904]
push 0x800
push eax
call sym.libcurl.dll_curl_msnprintf
add esp, 0x28
push 0
push esi
lea eax, [ebp - 0x904]
push eax
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10024fa7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x1003caf8
push dword [ebp - 0x908]
call fcn.1001e441
add esp, 0xc
add esi, 0xfffffffe
push esi
push 0x3e
push dword [ebp - 0x908]
lea eax, [ebp - 0x902]
call fcn.100247e8
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033b66
leave
ret