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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4498de
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x18], 0
je 0x40c1d1
cmp dword [ebp + 0x30], 0
je 0x40c1d1
cmp dword [ebp + 0x48], 0
je 0x40c1d1
xor esi, esi
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], esi
mov byte [ebp - 0x42c], 0
push 0x5dc
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push esi
push esi
push 0x458dc8
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
mov ecx, eax
push 1
push esi
push 3
push esi
push esi
lea eax, [ebp + 8]
mov dword [ebp - 0x438], ecx
cmovae eax, dword [ebp + 8]
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
push 1
push esi
push esi
push esi
mov dword [ebp - 0x440], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push esi
push eax
sub esp, 0x18
mov ecx, esp
push 0x463550
call fcn.00417a50
lea ecx, [ebp - 0x458]
call fcn.00405960
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40be7e
mov eax, dword [eax]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x430], eax
cmp edx, 0x10
jb 0x40becb
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c290
push edx
push ecx
call fcn.0041d6b3
add esp, 8
push dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x448], 0
cmovae eax, dword [ebp + 0x38]
push eax
sub esp, 0x18
mov dword [ebp - 0x444], 0xf
mov ecx, esp
mov byte [ebp - 0x458], 0
push 0x4629fc
call fcn.00417a50
lea ecx, [ebp - 0x488]
call fcn.00405960
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax + 0x10]
sub esp, 0x18
mov ecx, esp
push 0x4629fc
call fcn.00417a50
lea ecx, [ebp - 0x470]
call fcn.00405960
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40bf3e
mov eax, dword [eax]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [ebp - 0x45c]
cmp edx, 0x10
jb 0x40bf85
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c295
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
cmp edx, 0x10
jb 0x40bfde
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c295
push edx
push ecx
call fcn.0041d6b3
add esp, 8
lea eax, [ebp - 0x414]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40c0cb
nop word [eax + eax]
mov edi, dword [ebp - 0x414]
test edi, edi
je 0x40c0c5
mov ecx, dword [ebp - 0x418]
mov eax, ecx
sub eax, esi
push edi
cmp edi, eax
ja 0x40c05e
lea eax, [esi + edi]
cmp ecx, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
add esi, eax
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.004342b0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40c07e
lea eax, [ebp - 0x410]
mov byte [ebp - 0x434], 0
push eax
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
push edi
call fcn.00418f90
mov eax, dword [ebp - 0x414]
cmp eax, 0x400
jae 0x40c29a
mov byte [ebp + eax - 0x410], 0
lea eax, [ebp - 0x414]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40c0c5
mov esi, dword [ebp - 0x41c]
jmp 0x40c010
mov edi, dword [ebp - 0x43c]
push dword [ebp - 0x430]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x440]
call esi
push dword [ebp - 0x438]
call esi
movups xmm0, xmmword [ebp - 0x42c]
mov edx, dword [ebp + 0x1c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x41c]
movq qword [edi + 0x10], xmm0
cmp edx, 0x10
jb 0x40c142
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c138
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c29f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40c188
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c29f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40c273
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c29f
jmp 0x40c269
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x45816b
mov byte [edi], 0
call fcn.00418110
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40c224
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c21a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c29f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40c188
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c29f
jmp 0x40c17e
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov eax, edi
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.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00436cca
call fcn.00436cca
call fcn.0041d358
call fcn.00436cca
int3