Function at 0x436924
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 0x43692d
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 0x436c84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x38]
xor edx, edx
call fcn.0040b38c
push 0
push 0
push 0
push 0
push 0x436c90
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x40010], eax
mov eax, dword [ebp - 0x40010]
call fcn.0040e868
push 0
push 0x80000000
push 0
push 0
push 0x436c9c
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40014], eax
cmp dword [ebp - 0x40014], 0
jne 0x4369f2
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50040
mov eax, dword [0x447c50]
call fcn.00403fa8
push eax
push 0x436cc0
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.0040b38c
jmp 0x436c66
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 0x436aac
push 0x50044
mov eax, dword [0x447c50]
call fcn.00403fa8
push eax
push 0x436d94
mov eax, dword [0x4478a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x436a9d
mov ecx, 0x436dd4
mov edx, 0x436dec
mov eax, 0x436dec
call fcn.0040f954
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b38c
jmp 0x436c66
cmp byte [0x447b78], 0
je 0x436b65
mov al, byte [0x447b78]
dec eax
test al, al
jb 0x436b1f
inc eax
mov edx, 0x447b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x707], 0
jne 0x436b18
cmp byte [ecx + 0x6be], 0
je 0x436b18
cmp dword [ecx + 0x6c0], 0
jne 0x436b18
push 0x50040
mov eax, dword [0x447c50]
call fcn.00403fa8
push eax
push 0x436e04
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.0040b38c
jmp 0x436c66
add edx, 4
dec al
jne 0x436ac9
mov al, byte [0x447b78]
dec eax
test al, al
jb 0x436b58
inc eax
mov edx, 0x447b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x6e7], 0
je 0x436b4a
mov byte [ecx + 0x6e6], 0
mov byte [ecx + 0x6e7], 0
jmp 0x436b51
mov byte [ecx + 0x6e6], 1
add edx, 4
dec al
jne 0x436b2f
mov eax, dword [esi + 0x18]
call fcn.00408798
call fcn.00434fb8
mov byte [0x447c68], 1
mov eax, dword [esi + 0x30]
call fcn.0040c054
xor al, 1
mov byte [ebp - 0x40005], al
cmp byte [ebp - 0x40005], 0
je 0x436b99
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.0040c078
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x436ba4
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.00430a6c
lea eax, [ebp - 0x40038]
push eax
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004097a4
mov edx, dword [ebp - 0x40038]
mov eax, 0x447c8c
call fcn.00403b60
cmp byte [0x447b78], 0
je 0x436bed
push ebp
call fcn.00435c08
pop ecx
lea edx, [ebp - 0x40000]
mov eax, 0x447c90
mov ecx, dword [ebp - 0x40004]
call fcn.00403bfc
call fcn.00406af0
mov dword [ebp - 0x4000c], eax
lea ecx, [ebp - 0x40040]
mov edx, 0x435608
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 [0x447c68], 0
cmp byte [ebp - 0x40005], 0
je 0x436c5b
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.0040c078
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x436c66
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.00430a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436c8b
lea eax, [ebp - 0x40038]
mov edx, 2
call fcn.00403b30
ret