Function at 0x471a40
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc421
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x848]
mov esi, dword [ebp + 0xc]
push 0
push 0x4e0600
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
call fcn.004642f0
lea eax, [ebp - 0x848]
cmp esi, eax
je 0x471ae9
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x471abe
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00464490
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x471ad6
mov eax, dword [esi]
jmp 0x471ad8
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0x848]
push eax
call fcn.00463e40
mov eax, dword [ebp - 0x834]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x471b0e
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00464490
cmp dword [0x520008], 0x10
mov eax, 0x51fff4
push 0
cmovae eax, dword [0x51fff4]
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x84000000
push 0
push 0
mov ebx, eax
push edi
push ebx
mov dword [ebp - 0x884], ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x471cd5
push 0
lea eax, [ebp - 0x880]
mov dword [ebp - 0x880], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x471cce
lea eax, [ebp - 0x30]
push eax
call fcn.004b7a30
add esp, 4
cmp eax, 0xc8
jne 0x471cce
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x84c], 0xf
mov dword [ebp - 0x850], 0
mov byte [ebp - 0x860], 0
push 0x800
lea eax, [ebp - 0x830]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0048e7f0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x87c]
add esp, 0xc
push eax
push 0x7ff
lea eax, [ebp - 0x830]
push eax
push edi
call ebx
test eax, eax
je 0x471c6d
mov eax, dword [ebp - 0x87c]
test eax, eax
je 0x471c6d
cmp eax, 0x800
jae 0x471c77
mov byte [ebp + eax - 0x830], 0
cmp byte [ebp - 0x830], 0
jne 0x471c1c
xor ecx, ecx
jmp 0x471c2e
lea ecx, [ebp - 0x830]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471c25
sub ecx, edx
push ecx
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.00472db0
push 0x800
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0048e7f0
add esp, 0xc
lea eax, [ebp - 0x87c]
push eax
push 0x7ff
lea eax, [ebp - 0x830]
push eax
push edi
call ebx
test eax, eax
jne 0x471bf6
cmp dword [esi + 0x14], 0x10
jb 0x471c7c
mov ecx, dword [esi]
jmp 0x471c7e
call fcn.00489e3a
mov ecx, esi
mov al, byte [ecx]
test al, al
je 0x471c98
cmp al, 0x20
je 0x471c90
cmp al, 0xd
je 0x471c90
cmp al, 0xa
jne 0x471c98
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x471c84
push ecx
lea ecx, [ebp - 0x878]
call fcn.00460690
lea eax, [ebp - 0x878]
mov ecx, esi
push eax
call fcn.00460d30
lea ecx, [ebp - 0x878]
call fcn.00460af0
lea ecx, [ebp - 0x860]
call fcn.00460af0
mov ebx, dword [ebp - 0x884]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x471ce0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret