Function at 0x4e1c20
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545a48
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x58f070]
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 esi, edx
mov dword [ebp - 0x68], esi
mov ebx, ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x48]
push 0xa
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x575c90
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00412ae0
lea eax, [ebp - 0x48]
push eax
lea edi, [esi + 0x48]
mov esi, dword [edi]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.00414660
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
sete byte [ebp - 0x2d]
cmp eax, 8
jb 0x4e1cab
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
cmp byte [ebp - 0x2d], 0
je 0x4e1d2c
push 0x575cd8
lea ecx, [ebp - 0x60]
call fcn.00412950
push 0x575c90
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00412950
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004e2880
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 8
jb 0x4e1cfc
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4e1d2c
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004132e0
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push str.Content_Type
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00412ae0
mov esi, dword [edi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.00414660
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
sete byte [ebp - 0x2d]
cmp eax, 8
jb 0x4e1d7b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
cmp byte [ebp - 0x2d], 0
je 0x4e1dfc
push str.text_xml__charsetutf_8
lea ecx, [ebp - 0x60]
call fcn.00412950
push str.Content_Type
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.00412950
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004e2880
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 8
jb 0x4e1dcc
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4e1dfc
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004132e0
push 0xa
xor eax, eax
mov dword [ebp - 0x34], 7
push str.Connection
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00412ae0
mov esi, dword [edi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.00414660
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
sete byte [ebp - 0x2d]
cmp eax, 8
jb 0x4e1e4b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
cmp byte [ebp - 0x2d], 0
je 0x4e1ecc
push str.close
lea ecx, [ebp - 0x60]
call fcn.00412950
push str.Connection
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.00412950
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004e2880
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 8
jb 0x4e1e9c
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4e1ecc
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004132e0
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x74], 0
je 0x4e1f02
push str.Accept_Encoding
lea ecx, [ebp - 0x60]
call fcn.00412950
lea eax, [ebp - 0x60]
mov dword [ebp - 0x14], 1
mov esi, dword [edi]
mov ecx, edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00414660
mov byte [ebp - 0x2d], 1
cmp dword [eax], esi
je 0x4e1f06
mov byte [ebp - 0x2d], 0
test byte [ebp - 0x14], 1
je 0x4e1f21
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x4e1f21
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004132e0
cmp byte [ebp - 0x2d], 0
je 0x4e1fa2
push str.compress__gzip
lea ecx, [ebp - 0x60]
call fcn.00412950
push str.Accept_Encoding
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 6
call fcn.00412950
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004e2880
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 8
jb 0x4e1f72
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4e1fa2
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004132e0
cmp dword [edi + 4], 0
sete al
test al, al
jne 0x4e2048
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi]
je 0x4e2048
lea esi, [eax + 0x10]
push 0x55f590
mov edx, esi
lea ecx, [ebp - 0x80]
call fcn.00413420
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00414d30
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x4e2006
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004132e0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0xa0000000
cmovae eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4e2035
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004132e0
lea ecx, [ebp - 0x14]
call fcn.0040f150
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi]
jne 0x4e1fc0
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.0050ce8d
mov esp, ebp
pop ebp
ret