Function at 0x41e430
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1488
call fcn.00447370
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1480], ecx
mov ecx, dword [ebp - 0x1480]
add ecx, 0x4c
call fcn.004076d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041e930
test eax, eax
jne 0x41e478
mov eax, SysReAllocStringLen
jmp 0x41e91c
mov ecx, dword [ebp - 0x1480]
call fcn.0041da10
test eax, eax
jne 0x41e48f
or eax, 0xffffffff
jmp 0x41e91c
mov ecx, dword [ebp - 0x1480]
cmp dword [ecx + 0x44], 0
je 0x41e4b0
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
mov eax, 2
jmp 0x41e91c
mov dword [ebp - 0x1010], 0x4400010
cmp dword [ebp + 0x14], 0
jne 0x41e4d2
mov edx, dword [ebp - 0x1010]
or edx, 0x200000
mov dword [ebp - 0x1010], edx
mov eax, dword [ebp - 0x1480]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x143c], ecx
push 0
mov edx, dword [ebp - 0x1010]
push edx
push 0x488fe4
push 0
push str.HTTP_1.0
mov eax, dword [ebp - 0x143c]
push eax
push 0x476d28
mov ecx, dword [ebp - 0x1480]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x1480]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1480]
cmp dword [edx + 0xc], 0
jne 0x41e549
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1480]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
or eax, 0xffffffff
jmp 0x41e91c
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x1480]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41e5d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1480]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
mov edx, dword [ebp - 0x1480]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x1484], eax
cmp dword [ebp - 0x1484], 0x2ee2
je 0x41e5be
cmp dword [ebp - 0x1484], 0x2ee7
je 0x41e5b4
cmp dword [ebp - 0x1484], 0x2efd
je 0x41e5b4
jmp 0x41e5c8
mov eax, reloc.OLEAUT32.dll_VariantClear
jmp 0x41e91c
mov eax, VariantInit
jmp 0x41e91c
or eax, 0xffffffff
jmp 0x41e91c
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x100c], 4
push 0
lea ecx, [ebp - 0x100c]
push ecx
lea edx, [ebp - 0x1018]
push edx
push 0x20000013
mov eax, dword [ebp - 0x1480]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41e62f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1480]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
or eax, 0xffffffff
jmp 0x41e91c
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1488], eax
cmp dword [ebp - 0x1488], 0xc8
je 0x41e755
cmp dword [ebp - 0x1488], 0x12c
jbe 0x41e757
cmp dword [ebp - 0x1488], 0x12e
jbe 0x41e66c
jmp 0x41e757
mov byte [ebp - 0x1428], 0
push 0x400
push 0
lea ecx, [ebp - 0x1427]
push ecx
call fcn.004472f0
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
push 0
lea edx, [ebp - 0x100c]
push edx
lea eax, [ebp - 0x1428]
push eax
push 0x21
mov ecx, dword [ebp - 0x1480]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41e6db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1480]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
or eax, 0xffffffff
jmp 0x41e91c
mov edx, dword [ebp - 0x1480]
add edx, 0x4c
mov dword [ebp - 0x147c], edx
lea eax, [ebp - 0x1428]
test eax, eax
jne 0x41e700
mov dword [ebp - 0x1440], 0
jmp 0x41e715
lea ecx, [ebp - 0x1428]
push ecx
call fcn.004482c0
add esp, 4
mov dword [ebp - 0x1440], eax
mov edx, dword [ebp - 0x1440]
push edx
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x147c]
call fcn.004075a0
mov ecx, dword [ebp - 0x1480]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1480]
mov dword [eax + 0xc], 0
mov eax, 1
jmp 0x41e91c
jmp 0x41e76a
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
or eax, 0xffffffff
jmp 0x41e91c
mov ecx, dword [ebp - 0x1480]
cmp dword [ecx + 0x44], 0
je 0x41e78b
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
mov eax, 2
jmp 0x41e91c
push 0x1000
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.004472f0
add esp, 0xc
mov dword [ebp - 0x1020], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x101c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x1014], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x1020], 0
mov ecx, dword [ebp - 0x1480]
cmp dword [ecx + 0x44], 0
je 0x41e7f3
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
mov eax, 2
jmp 0x41e91c
lea edx, [ebp - 0x1020]
push edx
push 0xfff
lea eax, [ebp - 0x1008]
push eax
mov ecx, dword [ebp - 0x1480]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41e8c1
cmp dword [ebp - 0x1020], 0
jbe 0x41e8bf
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1020]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x1014]
ja 0x41e87f
mov edx, dword [ebp - 0x1020]
push edx
lea eax, [ebp - 0x1008]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call fcn.004478e0
add esp, 0xc
mov edx, dword [ebp - 0x101c]
add edx, dword [ebp - 0x1020]
mov dword [ebp - 0x101c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x1020]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e8bf
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1014]
sub ecx, dword [eax]
mov dword [ebp - 0x142c], ecx
mov edx, dword [ebp - 0x142c]
push edx
lea eax, [ebp - 0x1008]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call fcn.004478e0
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp - 0x142c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x41e8ed
jmp 0x41e8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1480]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x1480]
call fcn.0041ef90
or eax, 0xffffffff
jmp 0x41e91c
cmp dword [ebp - 0x1020], 0
ja 0x41e7c8
mov eax, dword [ebp - 0x1480]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1480]
mov dword [edx + 0xc], 0
cmp dword [ebp - 0x1020], 0
jbe 0x41e91a
mov eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x41e91c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret 0x10