Function at 0x450163
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1ac4
call fcn.0045d6c0
mov dx, word [0x47e03c]
push ebx
push esi
mov esi, 0x208
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xa72]
mov word [ebp - 0xa74], dx
mov word [ebp - 0x129c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x129a]
mov word [ebp - 0x1ac4], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1ac2]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14a]
mov word [ebp - 0x14c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x24a]
mov word [ebp - 0x24c], dx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1ac4]
lea ecx, [ebp - 0xa74]
mov dword [ebp - 0x48], eax
mov eax, 0x824
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x129c]
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
xor ebx, ebx
mov eax, 0xff
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0045b670
pop ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0x10000000
push eax
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
test eax, eax
je 0x450369
push ebx
push ebx
push ebx
push ebx
push 0x46e644
call dword [sym.imp.wininet.dll_InternetOpenA]
mov esi, dword [sym.imp.wininet.dll_InternetCloseHandle]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x45034a
push ebx
push ebx
lea ecx, [ebp - 0x14c]
push 3
push ecx
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0xa74]
push dword [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
mov edi, eax
cmp edi, ebx
je 0x45034d
push ebx
push 0x4400000
push ebx
push ebx
lea eax, [ebp - 0x129c]
push str.HTTP_1.0
push eax
push 0x478390
push edi
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x450352
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_HttpSendRequestA]
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x10]
cmp eax, 0x191
je 0x450319
cmp eax, 0x197
jne 0x450336
push ebx
push 7
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.wininet.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x450345
jmp 0x4502e4
xor ecx, ecx
cmp eax, 0xc8
sete cl
mov dword [ebp - 4], ecx
jmp 0x45034d
mov dword [ebp - 4], ebx
jmp 0x45034d
mov edi, dword [ebp + 8]
cmp dword [ebp + 8], ebx
jne 0x450355
push ebx
call esi
cmp edi, ebx
jne 0x45035c
push ebx
call esi
cmp dword [ebp - 4], ebx
jne 0x45036d
cmp dword [ebp - 8], ebx
jne 0x450369
push ebx
call esi
xor eax, eax
jmp 0x450370
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret