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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6650a1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x738844]
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.005d2f18
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x5b80f1
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 0x5b80f3
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 0x5b8126
mov ecx, dword [edx]
mov byte [ecx], 0
test edi, edi
je 0x5b860a
cmp dword [ebp - 0x6c], 0
je 0x5b860a
test eax, eax
je 0x5b860a
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0
jne 0x5b8181
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 0x5b81c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b8b60
add esp, 4
mov esi, eax
jmp 0x5b860f
push str.Using_proxy_server.
push 4
call fcn.005aaa30
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 0x5b81c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b8b60
add esp, 4
mov esi, eax
jmp 0x5b860f
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 0x5b8209
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b8b60
add esp, 4
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x5b860f
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 0x5b8243
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b8b60
add esp, 4
mov esi, eax
jmp 0x5b84cc
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 0x5b82b9
push str.ClientVersion:
lea ecx, [ebp - 0x48]
call fcn.0059d2b0
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.00457cc0
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 0x5b830d
push str.InvocationAgent:
lea ecx, [ebp - 0x48]
call fcn.0059d2b0
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.00457cc0
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 0x5b8361
push str.AgsServiceStatus:
lea ecx, [ebp - 0x48]
call fcn.0059d2b0
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.00457cc0
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 0x5b83ac
push str.IsCCInstalled:
lea ecx, [ebp - 0x48]
call fcn.0059d2b0
cmp byte [ebp - 0x4a], 0
mov ecx, 0x6d50e0
mov eax, 0x6d50d4
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.005b7f70
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.0059d2b0
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 0x6d5104
push eax
call fcn.005b7830
add esp, 0xc
lea ecx, [ebp - 0x48]
push str.Content_Length:
call fcn.0059d2b0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.005b7f70
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.005ba510
mov edx, dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x5b8467
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5b845d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b8761
push edx
push ecx
call fcn.005d2f48
add esp, 8
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5b84e3
cmp dword [ebp - 0x70], 0
je 0x5b84e3
cmp word [eax], 0
je 0x5b84e3
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.005aaa30
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 0x5b84e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5b84b8
lea esi, [eax - 0x4f]
jmp 0x5b84c3
push eax
call fcn.005b8b60
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 0x5b860f
mov eax, dword [ebp + 0x30]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x5b850e
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 0x5b8529
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 0x5b8be0
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 0x5b85bd
cmp eax, 1
jne 0x5b85af
mov esi, eax
jmp 0x5b860f
cmp eax, 0x102
jne 0x5b85bd
mov esi, 2
jmp 0x5b860f
mov eax, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0x54], eax
cmp eax, 1
je 0x5b860f
cmp eax, 2
je 0x5b860f
mov eax, dword [edi]
test eax, eax
je 0x5b85f8
cmp dword [edi + 0xc], 1
jne 0x5b85e9
push dword [edi + 8]
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00453520
mov eax, dword [edi]
push eax
call fcn.005fd500
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.005d2f48
mov esi, dword [ebp - 0x54]
add esp, 8
xor edi, edi
jmp 0x5b860f
mov esi, 5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x5b8623
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x5b8646
cmp esi, 2
je 0x5b8646
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x5b8637
push ecx
call eax
test edi, edi
je 0x5b8646
push 0x1c
push edi
call fcn.005d2f48
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.005ad6a0
mov edx, dword [ebp + 0x124]
cmp edx, 8
jb 0x5b868e
mov ecx, dword [ebp + 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5b8684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b8766
push edx
push ecx
call fcn.005d2f48
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 0x5b86eb
mov ecx, dword [ebp + 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5b86e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b8766
push edx
push ecx
call fcn.005d2f48
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 0x5b8744
mov ecx, dword [ebp + 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5b873a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b8766
push edx
push ecx
call fcn.005d2f48
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.005d2f07
mov esp, ebp
pop ebp
ret
call fcn.005f1c34
call fcn.005f1c34
int3