Function at 0x5c8850
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [0x6d3034]
mov dword [ebp - 0x50], eax
mov eax, 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov esi, dword [edi]
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
cmp esi, edi
je 0x5c8aad
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x5c88c2
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.005c8b20
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x4c], edx
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
cmp ecx, edx
ja 0x5c8918
lea ebx, [ecx + ecx]
mov dword [ebp - 0x18], ecx
cmp edx, 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
push eax
call fcn.00572090
mov eax, dword [ebp - 0x44]
add esp, 0xc
xor ecx, ecx
mov word [eax + ebx], cx
jmp 0x5c89cc
cmp ecx, 0x7ffffffe
ja 0x5c8b17
mov ebx, ecx
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x5c8938
mov ebx, SysReAllocString
jmp 0x5c8956
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x5c894e
mov ebx, SysReAllocString
jmp 0x5c8956
lea eax, [ecx + edx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00439880
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], ecx
lea ebx, [ecx + ecx]
push ebx
push dword [ebp - 0x48]
push eax
call fcn.00571b10
mov ecx, dword [ebp - 0x44]
xor eax, eax
add esp, 0xc
mov word [ecx + ebx], ax
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x5c89c9
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c89b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c8b12
push edx
push ecx
call fcn.0055d3b2
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x5c89cc
mov dword [ebp - 0x28], ecx
push 2
push 0x67b7bc
lea ecx, [ebp - 0x28]
call fcn.00452c10
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x5c89e6
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.005c8b20
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push eax
call fcn.00452c10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x5c8a54
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x5c8a50
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x5c8a50
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x5c8a40
mov esi, eax
jmp 0x5c8a6c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x5c8a6c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x5c8a60
cmp esi, edi
jne 0x5c88b7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5c8aaa
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c8aa0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c8b12
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
cmp eax, 8
jb 0x5c8af4
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c8aea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c8b12
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
call fcn.0057bc5b
call fcn.0044b380
int3