Function at 0x430f50
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 0x478cd8
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.00433e80
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x98]
push eax
mov dword [esp + 0x5c], 0
call fcn.00468e31
or edi, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], edi
call fcn.00465892
call fcn.00471714
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 0x4313c2
test eax, eax
jne 0x431004
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x61ab
push ecx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
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 0x49a418
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xe8], eax
test ecx, ecx
jne 0x4313c2
test eax, eax
jne 0x431066
push 1
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push 0x61ab
push edx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
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 0x49a408
push 0x49a400
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xec], eax
test ecx, ecx
jne 0x4313c2
test eax, eax
jne 0x4310cb
push 1
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x61ab
push eax
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
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.00465607
push ecx
lea eax, [esi + 0xdc]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov dword [esp + 0x64], 1
call fcn.00465607
mov ecx, dword [esi + 0xf4]
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x68], edi
call fcn.00430830
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.00465cc2
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 0x431226
mov edi, dword [sym.imp.wininet.dll_InternetReadFile]
mov ebx, dword [sym.imp.wininet.dll_InternetErrorDlg]
test eax, eax
je 0x43122f
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 0x431252
lea edx, [esp + 0x30]
push edx
call fcn.00441aba
add esp, 4
cmp eax, 0x197
je 0x4311aa
cmp eax, 0x191
jne 0x431275
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 0x4311aa
test esi, esi
jne 0x4311cf
xor eax, eax
jmp 0x4311d2
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 0x43129f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
push 0
call fcn.00465cc2
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 0x431158
or edi, 0xffffffff
mov dword [esp + 0x58], edi
jmp 0x4313b9
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x61ab
push ecx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
jmp 0x4313b1
push 1
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push 0x61ac
push edx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
jmp 0x4313b1
cmp eax, 0xc8
je 0x43129f
push 1
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x61ad
push eax
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
jmp 0x4313b1
lea ecx, [esp + 0x28]
push 0x8021
push ecx
call fcn.00433e80
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x98]
push eax
mov byte [esp + 0x5c], 3
call fcn.00468e31
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 2
call fcn.00465892
mov edx, dword [0x49aec0]
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 0x43137b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4313a3
mov eax, dword [esp + 0x1c]
cmp al, 0xa
jne 0x431346
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
test edx, edx
je 0x431346
push 2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00465607
mov ecx, esi
call fcn.00430ec0
lea ecx, [esp + 0x14]
call fcn.0046581d
jmp 0x431350
push eax
lea ecx, [esp + 0x18]
call fcn.00465c95
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4313a3
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x4313a3
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 0x431302
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x4313a3
push 1
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x61ae
push eax
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.00430ec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call fcn.00465892
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465892
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret