Function at 0x454c70
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7b3d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x522104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x20], ecx
je 0x454eb6
push edx
push eax
sub esp, 8
lea ecx, [edi + 0x10]
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x454cde
lock inc dword [eax + 4]
mov eax, dword [edi + 8]
sub esp, 8
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 4], eax
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x454d06
lock inc dword [eax + 4]
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
call fcn.00456370
cmp dword [esi + 0x10], 0
je 0x454d41
cmp dword [esi + 0x14], 8
jb 0x454d23
mov esi, dword [esi]
push 0x10000000
push 0xffffffffffffffff
push esi
push dword [edi + 0x20]
lea esi, [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x454ecd
jmp 0x454d44
lea esi, [edi + 0x10]
push dword [edi + 0xe8]
lea eax, [edi + 0xcc]
mov ecx, esi
push dword [edi + 0xe4]
push eax
lea eax, [edi + 0xb4]
push eax
call fcn.00456790
push dword [edi + 0x11c]
lea eax, [edi + 0x104]
mov ecx, esi
push eax
lea eax, [edi + 0xec]
push eax
call fcn.00456950
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test eax, eax
je 0x454ddb
cmp eax, 0x7fffffff
ja 0x454eef
push eax
call fcn.0040ec60
mov ecx, dword [ebp - 0x20]
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea esi, [eax + ecx]
push eax
mov dword [ebp - 0x14], esi
call fcn.004a76d0
add esp, 0xc
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.00419710
lea esi, [edi + 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x3c]
call fcn.00419680
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x454e3e
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x454e1f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454ef4
push edx
push ecx
call fcn.004a4c93
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x1c], 0
je 0x454e72
push 0xc
call fcn.004a4ca1
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x58], eax
test ecx, ecx
je 0x454e72
push ecx
call fcn.00455a00
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x454e8f
lea ecx, [edi + 0x68]
cmp ecx, ebx
je 0x454e8f
cmp dword [ebx + 0x14], 8
jb 0x454e88
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0040a770
mov eax, dword [edi + 0x120]
mov ecx, esi
mov dword [edi + 0x84], eax
call fcn.004566e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x57
lea ecx, [ebp - 0x38]
call fcn.00492470
push 0x51f1f8
mov eax, ecx
push eax
call fcn.004a765b
push str.Unable_to_add_headers_to_the_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
call fcn.00492530
push 0x51f1f8
lea eax, [ebp - 0x38]
push eax
call fcn.004a765b
call fcn.0040df60
call fcn.004b14ff
int3