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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682da1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x75e7a4]
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.006129a7
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x5a8361
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 0x5a8363
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 0x5a8396
mov ecx, dword [edx]
mov byte [ecx], 0
test edi, edi
je 0x5a887a
cmp dword [ebp - 0x6c], 0
je 0x5a887a
test eax, eax
je 0x5a887a
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0
jne 0x5a83f1
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 0x5a8434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
jmp 0x5a887f
push str.Using_proxy_server.
push 4
call fcn.0059c9b0
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 0x5a8434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
jmp 0x5a887f
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 0x5a8479
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x5a887f
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 0x5a84b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
jmp 0x5a873c
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 0x5a8529
push str.ClientVersion:
lea ecx, [ebp - 0x48]
call fcn.00464280
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.00462620
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 0x5a857d
push str.InvocationAgent:
lea ecx, [ebp - 0x48]
call fcn.00464280
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.00462620
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 0x5a85d1
push str.AgsServiceStatus:
lea ecx, [ebp - 0x48]
call fcn.00464280
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.00462620
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 0x5a861c
push str.IsCCInstalled:
lea ecx, [ebp - 0x48]
call fcn.00464280
cmp byte [ebp - 0x4a], 0
mov ecx, 0x6f17d0
mov eax, 0x6f17c4
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.005a8200
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.00464280
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 0x6f17f4
push eax
call fcn.005a79e0
add esp, 0xc
lea ecx, [ebp - 0x48]
push str.Content_Length:
call fcn.00464280
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.005a8200
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.005aac90
mov edx, dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x5a86d7
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5a86cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a89d1
push edx
push ecx
call fcn.006129d7
add esp, 8
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5a8753
cmp dword [ebp - 0x70], 0
je 0x5a8753
cmp word [eax], 0
je 0x5a8753
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.0059c9b0
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 0x5a8753
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5a8728
lea esi, [eax - 0x4f]
jmp 0x5a8733
push eax
call fcn.005a8dc0
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 0x5a887f
mov eax, dword [ebp + 0x30]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x5a877e
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 0x5a8799
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 0x5a8e50
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 0x5a882d
cmp eax, 1
jne 0x5a881f
mov esi, eax
jmp 0x5a887f
cmp eax, 0x102
jne 0x5a882d
mov esi, 2
jmp 0x5a887f
mov eax, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0x54], eax
cmp eax, 1
je 0x5a887f
cmp eax, 2
je 0x5a887f
mov eax, dword [edi]
test eax, eax
je 0x5a8868
cmp dword [edi + 0xc], 1
jne 0x5a8859
push dword [edi + 8]
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00455da0
mov eax, dword [edi]
push eax
call fcn.0063d570
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.006129d7
mov esi, dword [ebp - 0x54]
add esp, 8
xor edi, edi
jmp 0x5a887f
mov esi, 5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x5a8893
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x5a88b6
cmp esi, 2
je 0x5a88b6
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x5a88a7
push ecx
call eax
test edi, edi
je 0x5a88b6
push 0x1c
push edi
call fcn.006129d7
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.0059d8a0
mov edx, dword [ebp + 0x124]
cmp edx, 8
jb 0x5a88fe
mov ecx, dword [ebp + 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5a88f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a89d6
push edx
push ecx
call fcn.006129d7
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 0x5a895b
mov ecx, dword [ebp + 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8951
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a89d6
push edx
push ecx
call fcn.006129d7
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 0x5a89b4
mov ecx, dword [ebp + 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5a89aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a89d6
push edx
push ecx
call fcn.006129d7
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.00612996
mov esp, ebp
pop ebp
ret
call fcn.006321a4
call fcn.006321a4
int3