Function at 0x4104d0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
mov ecx, 7
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x48], ecx
lea eax, [ebp + 0x38]
push esi
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push edi
cmovae eax, dword [ebp + 0x38]
push ecx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00414eb0
sub esp, 0x18
mov ecx, esp
push 0x448640
call fcn.00414750
lea ecx, [ebp - 0x70]
call fcn.004034e0
add esp, 0x18
lea ecx, [ebp - 0x40]
mov edx, eax
mov ebx, 3
call fcn.00415810
test al, al
jne 0x4105a3
mov ecx, 8
mov byte [ebp - 0x28], al
cmp dword [ebp + 0x48], ecx
lea eax, [ebp + 0x38]
mov dword [ebp - 0x18], 0
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
call fcn.00414eb0
sub esp, 0x18
mov ecx, esp
push 0x447ab8
call fcn.00414750
lea ecx, [ebp - 0x58]
call fcn.004034e0
add esp, 0x18
lea ecx, [ebp - 0x28]
mov edx, eax
mov ebx, 0xf
call fcn.00415810
mov byte [ebp - 1], 1
test al, al
je 0x4105a7
mov byte [ebp - 1], 0
test bl, 8
je 0x4105e3
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffff7
cmp edx, 0x10
jb 0x4105e3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a9
push edx
push ecx
call fcn.00417582
add esp, 8
test bl, 4
je 0x41062e
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41061c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410612
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a9
push edx
push ecx
call fcn.00417582
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x410662
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a9
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x410696
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41068c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a9
push edx
push ecx
call fcn.00417582
add esp, 8
cmp byte [ebp - 1], 0
je 0x41074e
lea eax, [ebp + 0x38]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x448640
call fcn.00414750
lea ecx, [ebp - 0x70]
call fcn.004034e0
add esp, 0x1c
lea ecx, [ebp - 0x58]
mov edx, eax
call fcn.00415380
add esp, 4
lea ecx, [ebp + 0x38]
push eax
call fcn.004145b0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x410708
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109ae
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x41074e
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109ae
push edx
push ecx
call fcn.00417582
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.00414750
push 0x3e80000
mov dword [ebp - 8], 0x3e80000
call fcn.00417590
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 0
push eax
call fcn.00419150
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x44358f
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
mov ebx, eax
push 0
push 0
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], eax
push ecx
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
push ebx
test eax, eax
je 0x4107e4
call esi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0xc]
call fcn.004044a0
mov byte [ebp - 1], al
jmp 0x4107eb
call esi
push dword [ebp - 0x10]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41081f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410815
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a9
push edx
push ecx
call fcn.00417582
add esp, 8
cmp byte [ebp - 1], 0
jne 0x41084b
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x410756
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x448418
jmp 0x41085a
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x447de8
call fcn.00414750
mov ecx, esi
call fcn.004034e0
mov ecx, esp
push 0x447d70
call fcn.00414750
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00414750
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00414750
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00414750
call fcn.0040d250
mov edx, dword [ebp + 0x1c]
add esp, 0x78
cmp edx, 0x10
jb 0x4108d8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4108ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b3
push edx
push ecx
call fcn.00417582
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 0x41091e
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410914
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b3
push edx
push ecx
call fcn.00417582
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 0x410960
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410956
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b3
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x4109a2
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410998
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b3
push edx
push ecx
call fcn.00417582
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
int3