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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427c71
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
push 0x437564
call fcn.00413830
lea ecx, [ebp - 0x88]
call fcn.004029b0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp + 0x38]
mov edx, 7
mov dword [ebp - 0x14], 1
cmp dword [ebp + 0x48], edx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
cmovb edx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push edx
cmovae eax, dword [ebp + 0x38]
push eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00413b90
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov ebx, 0x13
mov edx, esi
mov dword [ebp - 0x14], ebx
call fcn.004141b0
test al, al
jne 0x40ffe7
sub esp, 0x18
mov ecx, esp
push 0x436a6c
call fcn.00413830
lea ecx, [ebp - 0x58]
call fcn.004029b0
add esp, 0x18
mov esi, eax
mov dword [ebp - 4], 6
lea eax, [ebp + 0x38]
mov edx, 8
mov dword [ebp - 0x14], 0x17
cmp dword [ebp + 0x48], edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
cmovb edx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push edx
cmovae eax, dword [ebp + 0x38]
push eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00413b90
mov edx, esi
lea ecx, [ebp - 0x3c]
mov ebx, 0x3f
call fcn.004141b0
mov byte [ebp - 0x15], 1
test al, al
je 0x40ffeb
mov byte [ebp - 0x15], 0
test bl, 8
je 0x410027
mov edx, dword [ebp - 0x28]
and ebx, 0xfffffff7
cmp edx, 0x10
jb 0x410027
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41001d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
mov dword [ebp - 4], 5
test bl, 4
je 0x41007c
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 0x10
jb 0x41006a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410060
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x4100bf
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x4100bf
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4100b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
mov dword [ebp - 4], 3
test bl, 1
je 0x410102
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x410102
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4100f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
cmp byte [ebp - 0x15], 0
je 0x4101c8
lea eax, [ebp + 0x38]
push eax
sub esp, 0x18
mov ecx, esp
push 0x437564
call fcn.00413830
lea ecx, [ebp - 0x88]
call fcn.004029b0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00413de0
add esp, 4
lea ecx, [ebp + 0x38]
push eax
call fcn.00413770
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41017b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410171
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f0
push edx
push ecx
call fcn.00415407
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x4101c8
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f0
push edx
push ecx
call fcn.00415407
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413830
mov byte [ebp - 4], 8
push 0x3e80000
mov dword [ebp - 0x14], 0x3e80000
call fcn.00415415
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push 0
push eax
call fcn.00416460
add esp, 0x10
push 0
push 0
push 0
push 0
push 0x43136b
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push 0
cmovae ecx, dword [ebp - 0x3c]
mov ebx, eax
push 0
push 0
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
push ebx
test eax, eax
je 0x410304
call esi
push dword [ebp - 0x1c]
call esi
mov ecx, dword [ebp - 0x20]
call fcn.00403530
mov byte [ebp - 4], 3
mov bl, al
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x410298
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41028e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
test bl, bl
je 0x410343
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x436d84
call fcn.00413830
mov ecx, esi
call fcn.004029b0
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x436d0c
call fcn.00413830
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x50]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00413830
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00413830
mov byte [ebp - 4], 0xc
jmp 0x4103b7
call esi
push dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x410343
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410339
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104eb
push edx
push ecx
call fcn.00415407
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x4101d0
sub esp, 0x18
mov dword [ebp - 0x40], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x437354
call fcn.00413830
mov ecx, esi
call fcn.004029b0
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x436d0c
call fcn.00413830
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00413830
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00413830
mov byte [ebp - 4], 0x10
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413830
mov byte [ebp - 4], 3
call fcn.0040c520
mov edx, dword [ebp + 0x1c]
add esp, 0x78
cmp edx, 0x10
jb 0x410405
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4103fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f5
push edx
push ecx
call fcn.00415407
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 0x41044b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f5
push edx
push ecx
call fcn.00415407
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 0x41048d
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f5
push edx
push ecx
call fcn.00415407
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 0x4104cf
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4104c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f5
push edx
push ecx
call fcn.00415407
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
call fcn.00419a6c
call fcn.00419a6c
int3