Function at 0x4319a8
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 0x4319b1
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 0x431cff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x38]
xor edx, edx
call fcn.0040b33c
push 0
push 0
push 0
push 0
push 0x431d0c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x40010], eax
mov eax, dword [ebp - 0x40010]
call fcn.0040e810
push 0
push 0x80000000
push 0
push 0
push 0x431d18
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40014], eax
cmp dword [ebp - 0x40014], 0
jne 0x431a76
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50040
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x431d3c
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b33c
jmp 0x431ce1
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 [0x4429ec]
call fcn.00403ef4
jbe 0x431b30
push 0x50044
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x431e10
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x431b21
mov ecx, 0x431e50
mov edx, 0x431e68
mov eax, 0x431e68
call fcn.0040f8fc
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b33c
jmp 0x431ce1
cmp byte [0x442b6c], 0
je 0x431be0
mov al, byte [0x442b6c]
dec eax
test al, al
jb 0x431b9a
inc eax
mov edx, 0x442b70
mov ecx, dword [edx]
cmp byte [ecx + 0x6be], 0
je 0x431b93
cmp dword [ecx + 0x6c0], 0
jne 0x431b93
push 0x50040
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x431e80
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b33c
jmp 0x431ce1
add edx, 4
dec al
jne 0x431b4d
mov al, byte [0x442b6c]
dec eax
test al, al
jb 0x431bd3
inc eax
mov edx, 0x442b70
mov ecx, dword [edx]
cmp byte [ecx + 0x6eb], 0
je 0x431bc5
mov byte [ecx + 0x6ea], 0
mov byte [ecx + 0x6eb], 0
jmp 0x431bcc
mov byte [ecx + 0x6ea], 1
add edx, 4
dec al
jne 0x431baa
mov eax, dword [esi + 0x18]
call fcn.00408748
call fcn.00430308
mov byte [0x442c5c], 1
mov eax, dword [esi + 0x30]
call fcn.0040c004
xor al, 1
mov byte [ebp - 0x40005], al
cmp byte [ebp - 0x40005], 0
je 0x431c14
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.0040c028
mov eax, dword [esi + 0x30]
call fcn.00408910
jmp 0x431c1f
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042ce8c
lea eax, [ebp - 0x40038]
push eax
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.00409754
mov edx, dword [ebp - 0x40038]
mov eax, 0x442c84
call fcn.00403b60
cmp byte [0x442b6c], 0
je 0x431c68
push ebp
call fcn.00430f9c
pop ecx
lea edx, [ebp - 0x40000]
mov eax, 0x442c88
mov ecx, dword [ebp - 0x40004]
call fcn.00403bfc
call fcn.00406aa0
mov dword [ebp - 0x4000c], eax
lea ecx, [ebp - 0x40040]
mov edx, 0x4309a8
xor eax, eax
call fcn.00405c3c
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.00406bb8
mov byte [0x442c5c], 0
cmp byte [ebp - 0x40005], 0
je 0x431cd6
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.0040c028
mov eax, dword [esi + 0x30]
call fcn.00408910
jmp 0x431ce1
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042ce8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431d06
lea eax, [ebp - 0x40038]
mov edx, 2
call fcn.00403b30
ret