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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x40
add esp, 0xfffff004
push eax
dec eax
jne 0x43768d
mov eax, dword [ebp - 4]
add esp, 0xffffffc4
push esi
xor ecx, ecx
mov dword [ebp - 0x40038], ecx
mov dword [ebp - 0x40034], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4379e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x38]
xor edx, edx
call fcn.0040b424
push 0
push 0
push 0
push 0
push 0x4379f0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x40010], eax
mov eax, dword [ebp - 0x40010]
call fcn.0040e900
push 0
push 0x80000000
push 0
push 0
push 0x4379fc
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40014], eax
cmp dword [ebp - 0x40014], 0
jne 0x437752
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50040
mov eax, dword [0x447c80]
call fcn.00403fa8
push eax
push 0x437a20
mov eax, dword [0x4478a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b424
jmp 0x4379c6
lea eax, [ebp - 0x4002f]
xor ecx, ecx
mov edx, 0x17
call fcn.00402b54
lea eax, [ebp - 0x40018]
push eax
push 0x17
lea eax, [ebp - 0x4002f]
push eax
mov eax, dword [ebp - 0x40014]
push eax
call sub.wininet.dll_InternetReadFile
mov eax, dword [ebp - 0x40014]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x40034]
lea edx, [ebp - 0x4002f]
mov ecx, 0x17
call fcn.00403d60
mov eax, dword [ebp - 0x40034]
mov edx, dword [0x4479f4]
call fcn.00403ef4
jbe 0x43780c
push 0x50044
mov eax, dword [0x447c80]
call fcn.00403fa8
push eax
push 0x437af4
mov eax, dword [0x4478a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x4377fd
mov ecx, 0x437b34
mov edx, 0x437b4c
mov eax, 0x437b4c
call fcn.0040f9ec
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b424
jmp 0x4379c6
cmp byte [0x447b78], 0
je 0x4378c5
mov al, byte [0x447b78]
dec eax
test al, al
jb 0x43787f
inc eax
mov edx, 0x447b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x707], 0
jne 0x437878
cmp byte [ecx + 0x6be], 0
je 0x437878
cmp dword [ecx + 0x6c0], 0
jne 0x437878
push 0x50040
mov eax, dword [0x447c80]
call fcn.00403fa8
push eax
push 0x437b64
mov eax, dword [0x4478a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b424
jmp 0x4379c6
add edx, 4
dec al
jne 0x437829
mov al, byte [0x447b78]
dec eax
test al, al
jb 0x4378b8
inc eax
mov edx, 0x447b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x6e7], 0
je 0x4378aa
mov byte [ecx + 0x6e6], 0
mov byte [ecx + 0x6e7], 0
jmp 0x4378b1
mov byte [ecx + 0x6e6], 1
add edx, 4
dec al
jne 0x43788f
mov eax, dword [esi + 0x18]
call fcn.00408798
call fcn.00435d18
mov byte [0x447c98], 1
mov eax, dword [esi + 0x30]
call fcn.0040c0ec
xor al, 1
mov byte [ebp - 0x40005], al
cmp byte [ebp - 0x40005], 0
je 0x4378f9
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.0040c110
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x437904
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.004317cc
lea eax, [ebp - 0x40038]
push eax
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.0040983c
mov edx, dword [ebp - 0x40038]
mov eax, 0x447cbc
call fcn.00403b60
cmp byte [0x447b78], 0
je 0x43794d
push ebp
call fcn.00436968
pop ecx
lea edx, [ebp - 0x40000]
mov eax, 0x447cc0
mov ecx, dword [ebp - 0x40004]
call fcn.00403bfc
call fcn.00406af0
mov dword [ebp - 0x4000c], eax
lea ecx, [ebp - 0x40040]
mov edx, 0x436368
xor eax, eax
call fcn.00405c8c
mov eax, dword [ebp - 0x4000c]
mov edx, dword [ebp - 0x40040]
mov dword [eax + 0x36], edx
mov edx, dword [ebp - 0x4003c]
mov dword [eax + 0x3a], edx
mov eax, dword [ebp - 0x4000c]
mov byte [eax + 0x4e], 1
mov eax, dword [ebp - 0x4000c]
call fcn.00406c08
mov byte [0x447c98], 0
cmp byte [ebp - 0x40005], 0
je 0x4379bb
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.0040c110
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x4379c6
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.004317cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4379eb
lea eax, [ebp - 0x40038]
mov edx, 2
call fcn.00403b30
ret