Function at 0x4a5d30
Capabilities:
Access peb ldr_data
Get ntdll base address
Initialize winhttp library
Prepare http request
Set http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a290d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x80], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x24]
mov esi, dword [ebx + 0x30]
mov dword [ebp - 0x84], eax
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x4d], al
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x64], eax
mov al, byte [ebx + 0x3c]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0x4e], al
push 0x1c
mov dword [ebp - 4], 3
call fcn.00544535
add esp, 4
mov edi, eax
mov dword [ebp - 0x5c], edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
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
call esi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x58], eax
call esi
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x4a5e27
mov ecx, dword [ecx]
cmp dword [ebp - 0x58], 0
mov byte [ecx], 0
je 0x4a6287
test eax, eax
je 0x4a6287
mov esi, dword [ebp - 0x60]
cmp word [esi], 0
jne 0x4a5e78
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 - 0x6c], ecx
test ecx, ecx
jne 0x4a5ea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a5cc0
mov esi, eax
jmp 0x4a628c
push str.Using_proxy_server.
push 4
call fcn.0049bca0
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 - 0x6c], eax
jmp 0x4a5e60
mov edx, dword [ebp - 0x54]
xor esi, esi
test edx, edx
movzx eax, dx
push 0
cmovle eax, esi
movzx eax, ax
push eax
push dword [ebp - 0x80]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x60], ecx
test ecx, ecx
jne 0x4a5ee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a5cc0
push dword [ebp - 0x6c]
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4a628c
xor eax, eax
mov edx, 0x800000
cmp byte [ebp - 0x4d], al
cmovne eax, edx
push eax
push 0
push 0
push 0
push dword [ebp - 0x84]
push dword [ebp - 0x64]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x4a5f27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a5cc0
mov esi, eax
jmp 0x4a6155
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov word [ebp - 0x34], ax
movups xmmword [ebp - 0x32], xmm0
mov dword [ebp - 0x1a], eax
movq qword [ebp - 0x22], xmm0
mov word [ebp - 0x16], ax
cmp dword [ebx + 0x108], eax
je 0x4a5f99
push str.ClientVersion:
lea ecx, [ebp - 0x4c]
call fcn.0044f3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004533a0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [ebx + 0x120], 0
je 0x4a5fdd
push str.InvocationAgent:
lea ecx, [ebp - 0x4c]
call fcn.0044f3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x110]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004533a0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [ebx + 0x138], 0
je 0x4a6021
push str.AgsServiceStatus:
lea ecx, [ebp - 0x4c]
call fcn.0044f3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x128]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004533a0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp byte [ebx + 0x38], 0
je 0x4a6069
push str.IsCCInstalled:
lea ecx, [ebp - 0x4c]
call fcn.0044f3e0
cmp byte [ebp - 0x4e], 0
mov ecx, str.false
mov eax, str.true
cmove eax, ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.00452700
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push str.OSType:_WIN
lea ecx, [ebp - 0x4c]
call fcn.0044f3e0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push dword [ebx + 0x20]
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
push 0x5e1a5c
push eax
call fcn.004a7a00
add esp, 0xc
lea ecx, [ebp - 0x4c]
push str.Content_Length:
call fcn.0044f3e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00452700
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0xa0000000
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov ecx, esi
call fcn.004a9130
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0044f210
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4a616c
cmp dword [ebp - 0x74], 0
je 0x4a616c
cmp word [eax], 0
je 0x4a616c
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.0049bca0
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [edi + 0x10], 1
push 0
push dword [ebp - 0x74]
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x4a616c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a6143
lea esi, [eax - 0x4f]
jmp 0x4a614c
mov ecx, eax
call fcn.004a5cc0
mov esi, eax
push dword [ebp - 0x54]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x60]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4a628c
mov eax, dword [ebx + 0x28]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x4a6197
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 6
push esi
call ecx
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp byte [ebx + 0x34], 0
je 0x4a61af
push 4
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x1000
push eax
push 0x1f
push esi
call ecx
mov eax, dword [ebp - 0x5c]
push 0
push 0x17f0c00
push 0x4a59c0
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [edi + 0x14], eax
call esi
mov eax, dword [ebx + 0x20]
push edi
push eax
push eax
push dword [ebp - 0x70]
push 0
push 0
push dword [ebp - 0x54]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
imul eax, dword [ebx + 0x28], 0x3e8
push eax
push 0
lea eax, [ebp - 0x68]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
call esi
push dword [ebp - 0x54]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x6c]
call esi
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4a6243
cmp eax, 1
jne 0x4a6235
mov esi, eax
jmp 0x4a628c
cmp eax, 0x102
jne 0x4a6243
mov esi, 2
jmp 0x4a628c
mov esi, dword [edi + 0x18]
cmp esi, 1
je 0x4a628c
cmp esi, 2
je 0x4a628c
mov eax, dword [edi]
test eax, eax
je 0x4a6278
cmp dword [edi + 0xc], 1
jne 0x4a6268
push dword [edi + 8]
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.0044f570
push dword [edi]
call fcn.0054ca06
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.00544568
add esp, 8
xor edi, edi
jmp 0x4a628c
mov esi, 5
cmp dword [ebp - 0x58], 0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4a62a1
push dword [ebp - 0x58]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x4a62c4
cmp esi, 2
je 0x4a62c4
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4a62b5
push ecx
call eax
test edi, edi
je 0x4a62c4
push 0x1c
push edi
call fcn.00544568
add esp, 8
lea ecx, [ebx + 0x40]
call fcn.004a0610
mov eax, dword [ebx + 0x10c]
cmp eax, 8
jb 0x4a62ea
inc eax
lea ecx, [ebx + 0xf8]
push eax
push dword [ebx + 0xf8]
call fcn.0044f7a0
xor eax, eax
mov dword [ebx + 0x10c], 7
mov word [ebx + 0xf8], ax
mov eax, dword [ebx + 0x124]
mov dword [ebx + 0x108], 0
cmp eax, 8
jb 0x4a6325
inc eax
lea ecx, [ebx + 0x110]
push eax
push dword [ebx + 0x110]
call fcn.0044f7a0
xor eax, eax
mov dword [ebx + 0x124], 7
mov word [ebx + 0x110], ax
mov eax, dword [ebx + 0x13c]
mov dword [ebx + 0x120], 0
cmp eax, 8
jb 0x4a6360
inc eax
lea ecx, [ebx + 0x128]
push eax
push dword [ebx + 0x128]
call fcn.0044f7a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret