Function at 0x4946b1
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e70fb
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x78], eax
xor eax, eax
cmp dword [ebp - 0x78], 0
sete al
movzx eax, al
test eax, eax
je 0x494720
and dword [ebp - 0x64], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0040110c
mov eax, dword [ebp - 0x64]
jmp 0x494944
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
add eax, 0x10
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x60]
call fcn.00405374
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
sub eax, 0x10
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.0040110c
push 0
push 0
push 0
push 1
push 0x5036b4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x38], eax
push 1
lea eax, [ebp - 0xd]
push eax
push 0x41
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
setne al
mov byte [ebp - 0x41], al
mov dword [ebp - 0x40], 0x1d4c0
push 4
lea eax, [ebp - 0x40]
push eax
push 6
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x49481b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ee9
jne 0x49481b
and dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.00406cea
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040110c
mov eax, dword [ebp - 0x6c]
jmp 0x494944
push str.Accept_Encoding:_gzip
lea ecx, [ebp - 0x34]
call fcn.00405374
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x49483d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xf0], eax
jmp 0x494846
lea eax, [ebp - 0x30]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0x48], 0x10
jb 0x494857
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xf4], eax
jmp 0x494860
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xf4], eax
push 0
push 0x80000100
push 0xffffffffffffffff
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4948dd
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
and dword [ebp - 0x70], 0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00406cea
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.00406cea
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.0040110c
mov eax, dword [ebp - 0x70]
jmp 0x494944
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xec]
call fcn.00494edd
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00406cea
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.00406cea
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
call fcn.0040110c
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004bc439
leave
ret 4