Function at 0x5ff780
Capabilities:
Initialize winhttp library
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645f31
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0x14]
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x108]
mov byte [ebp - 0x49], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov al, byte [ebp + 0x144]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0x4a], al
push 0x1c
mov dword [ebp - 4], 3
call fcn.005b5266
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x5ff841
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
jmp 0x5ff843
xor edi, edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x6c], eax
call esi
mov edx, dword [ebp - 0x78]
mov ecx, edx
mov dword [ebp - 0x58], eax
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x5ff876
mov ecx, dword [edx]
mov byte [ecx], 0
test edi, edi
je 0x5ffd5a
cmp dword [ebp - 0x6c], 0
je 0x5ffd5a
test eax, eax
je 0x5ffd5a
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0
jne 0x5ff8d1
push 0x10000000
push 0
push 0
push 0
push str.ADOBE_IAL_CLIENT_WIN_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x5ff914
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006002a0
add esp, 4
mov esi, eax
jmp 0x5ffd5f
push str.Using_proxy_server.
push 4
call fcn.005f4580
add esp, 8
push 0x10000000
push 0
push esi
push 3
push str.ADOBE_IAL_CLIENT_WIN_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, eax
mov dword [ebp - 0x68], eax
test ecx, ecx
jne 0x5ff914
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006002a0
add esp, 4
mov esi, eax
jmp 0x5ffd5f
mov edx, dword [ebp - 0x50]
xor esi, esi
test edx, edx
movzx eax, dx
push 0
cmovle eax, esi
movzx eax, ax
push eax
push dword [ebp - 0x7c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x5c], ecx
test ecx, ecx
jne 0x5ff959
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006002a0
add esp, 4
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x5ffd5f
movzx eax, byte [ebp - 0x49]
shl eax, 0x17
push eax
push 0
push 0
push 0
push dword [ebp - 0x80]
push dword [ebp - 0x60]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x5ff993
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006002a0
add esp, 4
mov esi, eax
jmp 0x5ffc1c
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
xorps xmm0, xmm0
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
cmp dword [ebp + 0x120], eax
je 0x5ffa09
push str.ClientVersion:
lea ecx, [ebp - 0x48]
call fcn.00582670
cmp dword [ebp + 0x124], 8
lea eax, [ebp + 0x110]
push dword [ebp + 0x120]
cmovae eax, dword [ebp + 0x110]
lea ecx, [ebp - 0x48]
push eax
call fcn.00457e60
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [ebp + 0x138], 0
je 0x5ffa5d
push str.InvocationAgent:
lea ecx, [ebp - 0x48]
call fcn.00582670
cmp dword [ebp + 0x13c], 8
lea eax, [ebp + 0x128]
push dword [ebp + 0x138]
cmovae eax, dword [ebp + 0x128]
lea ecx, [ebp - 0x48]
push eax
call fcn.00457e60
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [ebp + 0x158], 0
je 0x5ffab1
push str.AgsServiceStatus:
lea ecx, [ebp - 0x48]
call fcn.00582670
cmp dword [ebp + 0x15c], 8
lea eax, [ebp + 0x148]
push dword [ebp + 0x158]
cmovae eax, dword [ebp + 0x148]
lea ecx, [ebp - 0x48]
push eax
call fcn.00457e60
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp byte [ebp + 0x140], 0
je 0x5ffafc
push str.IsCCInstalled:
lea ecx, [ebp - 0x48]
call fcn.00582670
cmp byte [ebp - 0x4a], 0
mov ecx, 0x6b41dc
mov eax, 0x6b41d0
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.005ff6e0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push str.OSType:_WIN
lea ecx, [ebp - 0x48]
call fcn.00582670
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push dword [ebp + 0x28]
lea eax, [ebp - 0x30]
push 0x6b4200
push eax
call fcn.005fefa0
add esp, 0xc
lea ecx, [ebp - 0x48]
push str.Content_Length:
call fcn.00582670
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.005ff6e0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa0000000
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea eax, [ebp + 0x38]
push eax
push esi
call fcn.00601fe0
mov edx, dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x5ffbb7
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ffbad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ffeb1
push edx
push ecx
call fcn.005b5296
add esp, 8
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5ffc33
cmp dword [ebp - 0x70], 0
je 0x5ffc33
cmp word [eax], 0
je 0x5ffc33
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.005f4580
mov eax, dword [ebp - 0x74]
add esp, 8
mov dword [edi + 0x10], 1
push 0
push dword [ebp - 0x70]
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x5ffc33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5ffc08
lea esi, [eax - 0x4f]
jmp 0x5ffc13
push eax
call fcn.006002a0
add esp, 4
mov esi, eax
push dword [ebp - 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x5c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x5ffd5f
mov eax, dword [ebp + 0x30]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x5ffc5e
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 6
push esi
call ecx
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp byte [ebp + 0x10c], 0
je 0x5ffc79
push 4
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x1000
push eax
push 0x1f
push esi
call ecx
mov eax, dword [ebp - 0x58]
push 0
push 0x17f0c00
push 0x600320
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [edi + 0x14], eax
call esi
mov eax, dword [ebp + 0x28]
push edi
push eax
push eax
push dword [ebp - 0x54]
push 0
push 0
push dword [ebp - 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
imul eax, dword [ebp + 0x30], 0x3e8
push eax
push 0
lea eax, [ebp - 0x64]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
call esi
push dword [ebp - 0x50]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
push dword [ebp - 0x68]
call esi
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x5ffd0d
cmp eax, 1
jne 0x5ffcff
mov esi, eax
jmp 0x5ffd5f
cmp eax, 0x102
jne 0x5ffd0d
mov esi, 2
jmp 0x5ffd5f
mov eax, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0x54], eax
cmp eax, 1
je 0x5ffd5f
cmp eax, 2
je 0x5ffd5f
mov eax, dword [edi]
test eax, eax
je 0x5ffd48
cmp dword [edi + 0xc], 1
jne 0x5ffd39
push dword [edi + 8]
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00446290
mov eax, dword [edi]
push eax
call fcn.005c11be
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.005b5296
mov esi, dword [ebp - 0x54]
add esp, 8
xor edi, edi
jmp 0x5ffd5f
mov esi, 5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x5ffd73
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x5ffd96
cmp esi, 2
je 0x5ffd96
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x5ffd87
push ecx
call eax
test edi, edi
je 0x5ffd96
push 0x1c
push edi
call fcn.005b5296
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.005f5410
mov edx, dword [ebp + 0x124]
cmp edx, 8
jb 0x5ffdde
mov ecx, dword [ebp + 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ffdd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ffeb6
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp + 0x13c]
xor eax, eax
mov dword [ebp + 0x120], 0
mov dword [ebp + 0x124], 7
mov word [ebp + 0x110], ax
cmp edx, 8
jb 0x5ffe3b
mov ecx, dword [ebp + 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ffe31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ffeb6
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp + 0x15c]
xor eax, eax
mov dword [ebp + 0x138], 0
mov dword [ebp + 0x13c], 7
mov word [ebp + 0x128], ax
cmp edx, 8
jb 0x5ffe94
mov ecx, dword [ebp + 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ffe8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ffeb6
push edx
push ecx
call fcn.005b5296
add esp, 8
mov eax, esi
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.005b56fe
mov esp, ebp
pop ebp
ret
call fcn.005c116d
call fcn.005c116d
int3