Function at 0x446ae0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8dad
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x545100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
je 0x446d2b
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 0x446b4c
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 0x446b74
lock inc dword [eax + 4]
mov eax, dword [edi]
push dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 4]
push dword [ebp - 0x28]
mov dword [edx + 4], eax
call fcn.00448270
cmp dword [esi + 0x10], 0
je 0x446bb5
cmp dword [esi + 0x14], 7
jbe 0x446b97
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 0x446d42
jmp 0x446bb8
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.00448690
push dword [edi + 0x11c]
lea eax, [edi + 0x104]
mov ecx, esi
push eax
lea eax, [edi + 0xec]
push eax
call fcn.00448850
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x446c50
cmp eax, 0x7fffffff
ja 0x446d64
push eax
lea ecx, [ebp - 0x20]
call fcn.004244f0
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x14]
push esi
call fcn.004a8710
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], 0
add eax, esi
mov dword [ebp - 0x1c], eax
call fcn.00424360
lea esi, [edi + 0x10]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x3c]
call fcn.0042bfc0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446cb3
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x446c94
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446d69
push edx
push ecx
call fcn.004a5ea3
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x1c], 0
je 0x446ce7
push 0xc
call fcn.004a5e73
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 0x446ce7
push ecx
call fcn.00447930
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x446d04
lea ecx, [edi + 0x68]
cmp ecx, ebx
je 0x446d04
cmp dword [ebx + 0x14], 7
jbe 0x446cfd
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0040a6f0
mov eax, dword [edi + 0x120]
mov ecx, esi
mov dword [edi + 0x84], eax
call fcn.004485e0
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 - 0x3c]
call fcn.004990c0
push 0x542628
mov eax, ecx
push eax
call fcn.004a869b
push str.Unable_to_add_headers_to_the_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x3c]
push eax
call fcn.004a869b
call fcn.0040d690
call fcn.004b26bf
int3