Function at 0x431b94
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 0x431b9d
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 0x431eeb
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 0x431ef8
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 0x431f04
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40014], eax
cmp dword [ebp - 0x40014], 0
jne 0x431c62
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50040
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x431f28
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 0x431ecd
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 0x431d1c
push 0x50044
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x432014
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x431d0d
mov ecx, 0x432050
mov edx, 0x432068
mov eax, 0x43208c
call fcn.0040f8ec
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b33c
jmp 0x431ecd
cmp byte [0x442b6c], 0
je 0x431dcc
mov al, byte [0x442b6c]
dec eax
test al, al
jb 0x431d86
inc eax
mov edx, 0x442b70
mov ecx, dword [edx]
cmp byte [ecx + 0x6be], 0
je 0x431d7f
cmp dword [ecx + 0x6c0], 0
jne 0x431d7f
push 0x50040
mov eax, dword [0x442c44]
call fcn.00403fa8
push eax
push 0x4320a4
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 0x431ecd
add edx, 4
dec al
jne 0x431d39
mov al, byte [0x442b6c]
dec eax
test al, al
jb 0x431dbf
inc eax
mov edx, 0x442b70
mov ecx, dword [edx]
cmp byte [ecx + 0x6e7], 0
je 0x431db1
mov byte [ecx + 0x6e6], 0
mov byte [ecx + 0x6e7], 0
jmp 0x431db8
mov byte [ecx + 0x6e6], 1
add edx, 4
dec al
jne 0x431d96
mov eax, dword [esi + 0x18]
call fcn.00408748
call fcn.004304bc
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 0x431e00
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.0040c028
mov eax, dword [esi + 0x30]
call fcn.00408910
jmp 0x431e0b
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042cbd8
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 0x431e54
push ebp
call fcn.00431188
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, 0x430b78
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 0x431ec2
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.0040c028
mov eax, dword [esi + 0x30]
call fcn.00408910
jmp 0x431ecd
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042cbd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431ef2
lea eax, [ebp - 0x40038]
mov edx, 2
call fcn.00403b30
ret