Function at 0x5257a0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c488
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 0x5db9c0
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 0x525815
mov eax, dword [ebp - 0x3c]
sub edi, ecx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar edi, 1
cmp edi, eax
ja 0x5258bd
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 0x525872
lea eax, [ecx + edx]
cmp esi, eax
ja 0x525872
cmp edx, esi
ja 0x525866
xor esi, esi
mov dword [ebp - 0x2c], esi
jmp 0x525877
mov esi, edx
sub esi, dword [ebp - 0x30]
sar esi, 1
mov dword [ebp - 0x2c], esi
jmp 0x525877
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.00555c60
add esi, esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.00555c60
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.00555c60
add esp, 0x24
lea eax, [ebp - 0x50]
jmp 0x5258d1
push edi
push esi
push 0
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x34]
push edi
call fcn.004349a0
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 0x52591c
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 0x52599d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525993
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525a82
push edx
push ecx
call fcn.005541c2
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 0x5259ef
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5259e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525a82
push edx
push ecx
call fcn.005541c2
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 0x525a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x525a87
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x525a67
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525a5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525ad2
push edx
push ecx
call fcn.005541c2
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.00553d2a
mov esp, ebp
pop ebp
ret
call fcn.0055eb97
push esi
lea eax, [ebp - 0x98]
push str.WinHttp:_Failed_to_set__ls_request_header
push eax
call fcn.0050ceb0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00521ea0
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.0051fd70
push 0x608ef0
lea eax, [ebp - 0x80]
push eax
call fcn.00555bec
call fcn.0055eb97
int3