Function at 0x525740
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c038
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 0x5dba90
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00425790
mov edi, esi
mov dword [ebp - 4], 0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x5257b5
mov eax, dword [ebp - 0x3c]
sub edi, ecx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar edi, 1
cmp edi, eax
ja 0x52585d
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 0x525812
lea eax, [ecx + edx]
cmp esi, eax
ja 0x525812
cmp edx, esi
ja 0x525806
xor esi, esi
mov dword [ebp - 0x2c], esi
jmp 0x525817
mov esi, edx
sub esi, dword [ebp - 0x30]
sar esi, 1
mov dword [ebp - 0x2c], esi
jmp 0x525817
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.00555c00
add esi, esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.00555c00
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.00555c00
add esp, 0x24
lea eax, [ebp - 0x50]
jmp 0x525871
push edi
push esi
push 0
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x34]
push edi
call fcn.00434980
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 0x5258bc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004258a0
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 0x52593d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525a22
push edx
push ecx
call fcn.00554162
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 0x52598f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525a22
push edx
push ecx
call fcn.00554162
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 0x5259d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x525a27
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x525a07
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5259fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525a72
push edx
push ecx
call fcn.00554162
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.00553cca
mov esp, ebp
pop ebp
ret
call fcn.0055eb27
push esi
lea eax, [ebp - 0x98]
push str.WinHttp:_Failed_to_set__ls_request_header
push eax
call fcn.0050ce30
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00521e40
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.0051fd10
push 0x608ae8
lea eax, [ebp - 0x80]
push eax
call fcn.00555b8c
call fcn.0055eb27
int3