Function at 0x41dc10
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x45bfc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push 0x8020
mov esi, ecx
push eax
call fcn.00420b20
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x98]
push eax
mov dword [esp + 0x5c], 0
call fcn.0044e637
or edi, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], edi
call fcn.0044b0ed
call fcn.0045667c
mov eax, dword [eax + 0x10]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.wininet.dll_InternetOpenA]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xe4], eax
test ecx, ecx
jne 0x41e082
test eax, eax
jne 0x41dcc4
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x61ab
push ecx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret
push esi
push 0x84400100
push 3
push 0
push 0
push 0x50
push 0x4736a8
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xe8], eax
test ecx, ecx
jne 0x41e082
test eax, eax
jne 0x41dd26
push 1
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push 0x61ab
push edx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret
push esi
push 0x84400100
push 0
push 0
push 0
push 0x473698
push 0x473690
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xec], eax
test ecx, ecx
jne 0x41e082
test eax, eax
jne 0x41dd8b
push 1
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x61ab
push eax
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret
push ecx
lea edx, [esi + 0xd8]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0044ae62
push ecx
lea eax, [esi + 0xdc]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov dword [esp + 0x64], 1
call fcn.0044ae62
mov ecx, dword [esi + 0xf4]
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x68], edi
call fcn.0041d4f0
add esp, 0x10
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 2
mov eax, dword [eax - 8]
push eax
push 0
call fcn.0044b51d
mov ecx, dword [esi + 0xec]
push eax
push 0
push 0
push ecx
call dword [sym.imp.wininet.dll_HttpSendRequestA]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x41dee6
mov edi, dword [sym.imp.wininet.dll_InternetReadFile]
mov ebx, dword [sym.imp.wininet.dll_InternetErrorDlg]
test eax, eax
je 0x41deef
mov ecx, dword [esi + 0xec]
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x34]
push edx
push eax
push 0x13
push ecx
mov dword [esp + 0x38], 0x20
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
je 0x41df12
lea edx, [esp + 0x30]
push edx
call fcn.00427b5a
add esp, 4
cmp eax, 0x197
je 0x41de6a
cmp eax, 0x191
jne 0x41df35
mov edx, dword [esi + 0xec]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x13]
push 1
push ecx
push edx
call edi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41de6a
test esi, esi
jne 0x41de8f
xor eax, eax
jmp 0x41de92
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xec]
push 0
push 7
push 0x2eee
push ecx
push eax
call ebx
cmp eax, 0x2f00
jne 0x41df5f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
push 0
call fcn.0044b51d
push eax
mov eax, dword [esi + 0xec]
push 0
push 0
push eax
call dword [sym.imp.wininet.dll_HttpSendRequestA]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x41de18
or edi, 0xffffffff
mov dword [esp + 0x58], edi
jmp 0x41e079
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x61ab
push ecx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
jmp 0x41e071
push 1
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push 0x61ac
push edx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
jmp 0x41e071
cmp eax, 0xc8
je 0x41df5f
push 1
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x61ad
push eax
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
jmp 0x41e071
lea ecx, [esp + 0x28]
push 0x8021
push ecx
call fcn.00420b20
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x98]
push eax
mov byte [esp + 0x5c], 3
call fcn.0044e637
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 2
call fcn.0044b0ed
mov edx, dword [0x473e34]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xec]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
mov byte [esp + 0x68], 4
mov dword [esp + 0x28], 0
call edi
test eax, eax
je 0x41e03b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e063
mov eax, dword [esp + 0x1c]
cmp al, 0xa
jne 0x41e006
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
test edx, edx
je 0x41e006
push 2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0044ae62
mov ecx, esi
call fcn.0041db80
lea ecx, [esp + 0x14]
call fcn.0044b078
jmp 0x41e010
push eax
lea ecx, [esp + 0x18]
call fcn.0044b4f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e063
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x41e063
mov edx, dword [esi + 0xec]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
call edi
test eax, eax
jne 0x41dfc2
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x41e063
push 1
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x61ae
push eax
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041db80
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call fcn.0044b0ed
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0044b0ed
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret