Function at 0x525820
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c508
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x50]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
xor eax, eax
push 2
mov dword [ebp - 0x50], 0
push 0x5db9f8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00425810
mov edi, esi
mov dword [ebp - 4], 0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x525895
mov eax, dword [ebp - 0x3c]
sub edi, ecx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar edi, 1
cmp edi, eax
ja 0x52593d
cmp dword [ebp - 0x3c], 8
lea eax, [ecx + edi]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmovae edx, dword [ebp - 0x50]
lea eax, [esi + edi*2]
add ecx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
cmp eax, edx
jbe 0x5258f2
lea eax, [ecx + edx]
cmp esi, eax
ja 0x5258f2
cmp edx, esi
ja 0x5258e6
xor esi, esi
mov dword [ebp - 0x2c], esi
jmp 0x5258f7
mov esi, edx
sub esi, dword [ebp - 0x30]
sar esi, 1
mov dword [ebp - 0x2c], esi
jmp 0x5258f7
mov esi, edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x34]
lea ecx, [edx + edi*2]
add eax, 2
push eax
push edx
push ecx
call fcn.00555ce0
add esi, esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.00555ce0
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov ecx, dword [ebp - 0x38]
sub eax, edx
add ecx, esi
add eax, eax
mov esi, dword [ebp - 0x30]
push eax
lea eax, [edx + edi]
lea eax, [esi + eax*2]
push eax
push ecx
call fcn.00555ce0
add esp, 0x24
lea eax, [ebp - 0x50]
jmp 0x525951
push edi
push esi
push 0
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x34]
push edi
call fcn.00434a10
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x52599c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00425920
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x525a1d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525a13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525b02
push edx
push ecx
call fcn.00554242
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x525a6f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525b02
push edx
push ecx
call fcn.00554242
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x14], 8
push 0xa0000000
push dword [ebp - 0x18]
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x3c], 7
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x525ab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x525b07
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x525ae7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525add
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525b52
push edx
push ecx
call fcn.00554242
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553daa
mov esp, ebp
pop ebp
ret
call fcn.0055ec17
push esi
lea eax, [ebp - 0x98]
push str.WinHttp:_Failed_to_set__ls_request_header
push eax
call fcn.0050cf30
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00521f20
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
push eax
lea ecx, [ebp - 0x80]
call fcn.0051fdf0
push 0x608f30
lea eax, [ebp - 0x80]
push eax
call fcn.00555c6c
call fcn.0055ec17
int3