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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd74
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x26c], ecx
xor eax, eax
push ebp
push 0x4373b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x443b78]
dec eax
test al, al
jb 0x4370b7
inc eax
mov byte [ebp - 0x19], al
mov esi, 0x443b7c
mov eax, dword [esi]
mov edi, eax
cmp byte [edi + 0x6f4], 0
jne 0x4370ab
xor ebx, ebx
jmp 0x436c91
inc ebx
mov eax, dword [0x4438a8]
call fcn.0040882c
push 0xfa
call sub.kernel32.dll_Sleep
lea eax, [edi + 0x6d8]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.kernel32.dll_GetDevicePowerState
test eax, eax
jne 0x436caa
cmp bl, 0x28
jne 0x436c7c
cmp bl, 0x28
jne 0x436cce
mov byte [edi + 0x6f4], 1
mov edx, dword [esi]
mov eax, 0x4373d0
call fcn.0041ef40
mov eax, edi
call fcn.00426e1c
jmp 0x4370ab
cmp byte [edi + 0x70b], 0
jne 0x436cf0
cmp byte [edi + 0x6c0], 0
je 0x436cf0
cmp dword [edi + 0x6c4], 0
jne 0x436cf0
mov eax, edi
call fcn.00423b80
xor ebx, ebx
jmp 0x436d19
inc ebx
mov eax, dword [0x4438a8]
call fcn.0040882c
push 0xfa
call sub.kernel32.dll_Sleep
lea eax, [edi + 0x6d8]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.kernel32.dll_GetDevicePowerState
cmp dword [edi + 0x6d8], 0
jne 0x436d27
cmp bl, 0x28
jne 0x436cf4
mov eax, dword [edi + 0x6d8]
cmp eax, 1
sbb eax, eax
neg eax
neg al
sbb eax, eax
mov dword [edi + 0x6d8], eax
test eax, eax
je 0x436d6d
cmp byte [edi + 0x6dc], 0
jne 0x436f14
mov byte [edi + 0x6dc], 1
mov ecx, 1
mov edx, 0x4373f4
mov eax, dword [edi + 0x24]
call fcn.0040688c
jmp 0x436f14
mov ebx, dword [edi + 0x6e0]
mov al, byte [edi + 0xa6]
mov byte [ebp - 1], al
mov al, byte [edi + 0xa9]
mov byte [ebp - 2], al
mov al, byte [edi + 0x8e]
mov byte [ebp - 3], al
mov eax, edi
call fcn.00423ab0
cmp byte [edi + 0x70b], 0
jne 0x436df1
cmp byte [edi + 0x2733], 0
jne 0x436dca
mov eax, edi
call fcn.004271ac
test al, al
jne 0x436dca
mov byte [edi + 0x2733], 1
mov edx, dword [esi]
mov eax, 0x437410
call fcn.0041ef40
jmp 0x437389
mov eax, edi
call fcn.0042718c
mov byte [edi + 0x2ac], al
cmp byte [edi + 0x2ac], 0
jne 0x436df1
mov edx, dword [esi]
mov eax, 0x437440
call fcn.0041ef40
jmp 0x437389
mov eax, edi
call fcn.004271dc
mov eax, edi
call fcn.00420b64
mov al, byte [edi + 0x8e]
cmp al, byte [ebp - 3]
je 0x436e11
mov byte [edi + 0x2732], 1
mov al, byte [edi + 0x8e]
test al, al
je 0x436e5c
cmp al, byte [edi + 0x8f]
jbe 0x436e3e
mov byte [edi + 0x8f], al
xor ecx, ecx
mov cl, byte [edi + 0x8e]
mov edx, 0x437464
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [edi + 0x6e9], 0
jne 0x436e5c
mov al, byte [edi + 0x8e]
cmp al, byte [edi + 0x94]
jb 0x436e5c
mov eax, edi
call fcn.00426e68
cmp byte [0x443c44], 0
je 0x436e7d
cmp byte [edi + 0x6dd], 0
je 0x436e7d
cmp ebx, dword [edi + 0x6e0]
je 0x436e7d
mov eax, edi
call fcn.00426e28
cmp byte [ebp - 1], 0
je 0x436ea2
cmp byte [edi + 0xa6], 0
jne 0x436ea2
mov byte [edi + 0xa8], 0
xor ecx, ecx
mov edx, 0x43747c
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [0x443c44], 0
je 0x436ec4
cmp byte [edi + 0xa6], 0
je 0x436ec4
cmp byte [edi + 0xa8], 0
jne 0x436ec4
mov eax, edi
call fcn.00426ec8
cmp byte [ebp - 2], 0
je 0x436ee9
cmp byte [edi + 0xa9], 0
jne 0x436ee9
mov byte [edi + 0xab], 0
xor ecx, ecx
mov edx, 0x437498
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [0x443c44], 0
je 0x436f14
cmp byte [edi + 0xa6], 0
jne 0x436f14
cmp byte [edi + 0xa9], 0
je 0x436f14
cmp byte [edi + 0xab], 0
jne 0x436f14
mov eax, edi
call fcn.00426ee0
cmp byte [0x443c44], 0
je 0x4370ab
cmp byte [edi + 0x6af], 0
jne 0x436f37
cmp byte [edi + 0x6b0], 0
je 0x4370ab
cmp byte [edi + 0x70b], 0
je 0x437022
lea eax, [ebp - 0x264]
xor ecx, ecx
mov edx, 0x234
call fcn.00402b54
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 0x12], 0xb0
mov byte [ebp - 0x18], 0xd5
mov byte [ebp - 0x16], 6
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x18]
mov eax, edi
call fcn.00420068
test al, al
je 0x4370ab
test byte [ebp - 0x264], 0xf
jne 0x4370ab
mov byte [edi + 0x6af], 0
mov byte [edi + 0x6b0], 0
test byte [ebp - 0x260], 0xf
jne 0x436fb9
mov eax, edi
call fcn.00426e80
jmp 0x4370ab
mov al, byte [ebp - 0x260]
and al, 0xf
mov edx, eax
dec edx
sub dl, 4
jb 0x436fcf
add al, 0xf8
sub al, 2
jae 0x436fdb
mov eax, edi
call fcn.00426e98
jmp 0x4370ab
mov eax, edi
call fcn.00426eb0
mov al, byte [ebp - 0x260]
and al, 0xf
and eax, 0xff
lea edx, [ebp - 0x26c]
call fcn.0040628c
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
mov edx, 0x4374b0
call fcn.00403df4
mov eax, dword [ebp - 0x268]
mov edx, dword [esi]
call fcn.0041ef40
jmp 0x4370ab
xor eax, eax
mov al, byte [edi + 0x418]
shr eax, 4
mov byte [edi + 0x418], al
cmp al, 0xf
je 0x4370a4
mov byte [edi + 0x6af], 0
mov byte [edi + 0x6b0], 0
mov al, byte [edi + 0x418]
test al, al
jne 0x437058
mov eax, edi
call fcn.00426e80
jmp 0x4370ab
cmp al, 1
jne 0x437065
mov eax, edi
call fcn.00426e98
jmp 0x4370ab
mov eax, edi
call fcn.00426eb0
lea edx, [ebp - 0x274]
xor eax, eax
mov al, byte [edi + 0x418]
call fcn.0040628c
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x270]
mov edx, 0x4374b0
call fcn.00403df4
mov eax, dword [ebp - 0x270]
mov edx, dword [esi]
call fcn.0041ef40
jmp 0x4370ab
mov eax, edi
call fcn.00423b80
add esi, 4
dec byte [ebp - 0x19]
jne 0x436c67
call fcn.004327b0
cmp byte [0x443c7c], 0
je 0x4370d1
mov byte [0x443c7c], 0
jmp 0x437389
inc dword [0x443c74]
mov eax, dword [0x443c74]
mov dword [ebp - 0x27c], eax
xor eax, eax
mov dword [ebp - 0x278], eax
fild qword [ebp - 0x27c]
fdiv dword [0x4374d4]
call fcn.00402a3c
fcomp dword [0x4374d8]
fnstsw ax
sahf
jne 0x437389
xor ebx, ebx
mov byte [0x443c7b], 0
mov al, byte [0x443b78]
dec eax
test al, al
jb 0x43720a
inc eax
mov byte [ebp - 0x19], al
mov esi, 0x443b7c
mov eax, dword [esi]
mov edi, eax
cmp byte [edi + 0x6f4], 0
jne 0x4371fe
cmp byte [edi + 0x6c0], 0
je 0x4371a8
cmp dword [edi + 0x6c4], 0
jne 0x4371a8
mov edx, dword [edi + 0x6c8]
cmp edx, dword [edi + 0x6cc]
jbe 0x437175
mov edx, eax
mov eax, 0x4374e4
call fcn.0041ef40
mov eax, dword [edi + 0x6cc]
mov dword [edi + 0x6c8], eax
jmp 0x4371a8
mov eax, dword [edi + 0x6cc]
sub eax, dword [edi + 0x6c8]
mov dword [edi + 0x6c4], eax
test eax, eax
jne 0x437195
mov dword [edi + 0x6c4], 1
mov ecx, dword [edi + 0x6c4]
mov eax, dword [edi + 0x24]
mov edx, 0x437500
call fcn.0040688c
lea ecx, [ebp - 0x280]
mov eax, dword [edi + 0x24]
mov edx, 0x43751c
call fcn.00406828
mov edx, dword [ebp - 0x280]
mov eax, dword [0x4439f4]
call fcn.00403ef4
je 0x4371ce
inc ebx
cmp byte [edi + 0x8e], 0
je 0x4371fe
mov al, byte [edi + 0x8f]
cmp al, byte [edi + 0x90]
jbe 0x4371fe
mov al, byte [edi + 0x8f]
cmp al, byte [0x443c7b]
jbe 0x4371fe
mov al, byte [edi + 0x8f]
mov byte [0x443c7b], al
add esi, 4
dec byte [ebp - 0x19]
jne 0x43712a
test bl, bl
je 0x437243
cmp byte [0x443c78], 0
jne 0x437389
lea ecx, [ebp - 0x27c]
mov edx, 0x436968
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x437389
cmp byte [0x443c7b], 0
je 0x437281
cmp byte [0x443c79], 0
jne 0x437389
lea ecx, [ebp - 0x27c]
mov edx, 0x436760
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x437389
cmp byte [0x443bff], 0
je 0x437389
cmp byte [0x443c7a], 0
jne 0x437389
push 0
push 0
push 0
push 0
push 0x437530
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040e868
push 0
push 0x80000000
push 0
push 0
push 0x43753c
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x437380
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x17
call fcn.00402b54
lea eax, [ebp - 0x10]
push eax
push 0x17
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x30]
mov ecx, 0x17
call fcn.00403d60
mov eax, dword [ebp - 0x288]
lea edx, [ebp - 0x284]
call fcn.00436b84
mov eax, dword [ebp - 0x284]
push eax
lea edx, [ebp - 0x28c]
mov eax, dword [0x4439f4]
call fcn.00436b84
mov edx, dword [ebp - 0x28c]
pop eax
call fcn.00403ef4
jbe 0x437389
lea ecx, [ebp - 0x27c]
mov edx, 0x4368b4
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x437389
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4373be
lea eax, [ebp - 0x28c]
mov edx, 4
call fcn.00403b30
lea eax, [ebp - 0x274]
mov edx, 4
call fcn.00403b30
ret