Function at 0x1007e110
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e32ab
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1050
call fcn.100db720
mov eax, dword [0x10122064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1058], edi
mov eax, dword [ebx + 8]
push 0
push 0
push 0
push 1
push str.9dragonsbot
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x105c], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x104c], eax
test eax, eax
jne 0x1007e1df
mov edx, str.Error_InternetOpen._n
call fcn.1006d840
push 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e1c7
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.1001de90
jmp 0x1007e4bf
push 0
push 0
push 3
push 0x10103fad
push 0x10103fad
push 0x1bb
push str.9dragonsbot.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x1054], eax
test eax, eax
jne 0x1007e268
mov edx, str.Error_InternetConnect._n
call fcn.1006d840
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call esi
push dword [ebp - 0x104c]
call esi
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e250
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.1001de90
jmp 0x1007e4bf
push 0
push 0x800000
push 0
push 0x10103fad
push str.HTTP_1.0
push esi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x1007e2f8
mov edx, str.Error_HttpOpenRequest._n
call fcn.1006d840
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1054]
call esi
push dword [ebp - 0x104c]
call esi
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e2e0
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.1001de90
jmp 0x1007e4bf
mov ecx, dword [ebp - 0x105c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e301
sub ecx, edx
mov edx, str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea eax, [edx + 1]
mov dword [ebp - 0x1058], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1007e318
sub edx, dword [ebp - 0x1058]
push ecx
push dword [ebp - 0x105c]
push edx
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1007e3a8
mov edx, str.Error_HttpSendRequest._n
call fcn.1006d840
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1054]
call esi
push dword [ebp - 0x104c]
call esi
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e390
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.1001de90
jmp 0x1007e4bf
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0xf
mov byte [ebp - 0x1048], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
push 0x1000
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x1050], 0
lea eax, [ebp - 0x1050]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1007e47b
nop dword [eax + eax]
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x1007e47b
push eax
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1030]
call fcn.1001e0f0
lea eax, [ebp - 0x1050]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1007e440
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1054]
call esi
push dword [ebp - 0x104c]
call esi
movups xmm0, xmmword [ebp - 0x1030]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [edi + 0x10], xmm0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008a020
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret