Function at 0x4a0c20
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 0x58114d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x5df3f4]
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.0050ada4
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 0x4a0d17
mov ecx, dword [ecx]
cmp dword [ebp - 0x58], 0
mov byte [ecx], 0
je 0x4a1177
test eax, eax
je 0x4a1177
mov esi, dword [ebp - 0x60]
cmp word [esi], 0
jne 0x4a0d68
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 0x4a0d93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a0bb0
mov esi, eax
jmp 0x4a117c
push str.Using_proxy_server.
push 4
call fcn.00496b90
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 0x4a0d50
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 0x4a0dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a0bb0
push dword [ebp - 0x6c]
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4a117c
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 0x4a0e17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004a0bb0
mov esi, eax
jmp 0x4a1045
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 0x4a0e89
push str.ClientVersion:
lea ecx, [ebp - 0x4c]
call fcn.0044d3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004504a0
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 0x4a0ecd
push str.InvocationAgent:
lea ecx, [ebp - 0x4c]
call fcn.0044d3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x110]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004504a0
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 0x4a0f11
push str.AgsServiceStatus:
lea ecx, [ebp - 0x4c]
call fcn.0044d3e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x128]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004504a0
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 0x4a0f59
push str.IsCCInstalled:
lea ecx, [ebp - 0x4c]
call fcn.0044d3e0
cmp byte [ebp - 0x4e], 0
mov ecx, str.false
mov eax, str.true
cmove eax, ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.00450320
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.0044d3e0
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 0x5be0dc
push eax
call fcn.004a28f0
add esp, 0xc
lea ecx, [ebp - 0x4c]
push str.Content_Length:
call fcn.0044d3e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00450320
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.004a3cc0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0044d0b0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4a105c
cmp dword [ebp - 0x74], 0
je 0x4a105c
cmp word [eax], 0
je 0x4a105c
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.00496b90
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 0x4a105c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a1033
lea esi, [eax - 0x4f]
jmp 0x4a103c
mov ecx, eax
call fcn.004a0bb0
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 0x4a117c
mov eax, dword [ebx + 0x28]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x4a1087
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 0x4a109f
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 0x4a08b0
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 0x4a1133
cmp eax, 1
jne 0x4a1125
mov esi, eax
jmp 0x4a117c
cmp eax, 0x102
jne 0x4a1133
mov esi, 2
jmp 0x4a117c
mov esi, dword [edi + 0x18]
cmp esi, 1
je 0x4a117c
cmp esi, 2
je 0x4a117c
mov eax, dword [edi]
test eax, eax
je 0x4a1168
cmp dword [edi + 0xc], 1
jne 0x4a1158
push dword [edi + 8]
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.0044d570
push dword [edi]
call fcn.00524165
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.00576103
add esp, 8
xor edi, edi
jmp 0x4a117c
mov esi, 5
cmp dword [ebp - 0x58], 0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4a1191
push dword [ebp - 0x58]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x4a11b4
cmp esi, 2
je 0x4a11b4
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4a11a5
push ecx
call eax
test edi, edi
je 0x4a11b4
push 0x1c
push edi
call fcn.00576103
add esp, 8
lea ecx, [ebx + 0x40]
call fcn.0049b4e0
mov eax, dword [ebx + 0x10c]
cmp eax, 8
jb 0x4a11da
inc eax
lea ecx, [ebx + 0xf8]
push eax
push dword [ebx + 0xf8]
call fcn.0044d810
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 0x4a1215
inc eax
lea ecx, [ebx + 0x110]
push eax
push dword [ebx + 0x110]
call fcn.0044d810
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 0x4a1250
inc eax
lea ecx, [ebx + 0x128]
push eax
push dword [ebx + 0x128]
call fcn.0044d810
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.0050ad85
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret