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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac101
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x7994f4]
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.006051c2
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x6564c1
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 0x6564c3
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 0x6564f6
mov ecx, dword [edx]
mov byte [ecx], 0
test edi, edi
je 0x6569da
cmp dword [ebp - 0x6c], 0
je 0x6569da
test eax, eax
je 0x6569da
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0
jne 0x656551
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 0x656594
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00656f20
add esp, 4
mov esi, eax
jmp 0x6569df
push str.Using_proxy_server.
push 4
call fcn.006491a0
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 0x656594
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00656f20
add esp, 4
mov esi, eax
jmp 0x6569df
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 0x6565d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00656f20
add esp, 4
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x6569df
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 0x656613
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00656f20
add esp, 4
mov esi, eax
jmp 0x65689c
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 0x656689
push str.ClientVersion:
lea ecx, [ebp - 0x48]
call fcn.004b3f60
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.004a0cc0
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 0x6566dd
push str.InvocationAgent:
lea ecx, [ebp - 0x48]
call fcn.004b3f60
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.004a0cc0
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 0x656731
push str.AgsServiceStatus:
lea ecx, [ebp - 0x48]
call fcn.004b3f60
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.004a0cc0
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 0x65677c
push str.IsCCInstalled:
lea ecx, [ebp - 0x48]
call fcn.004b3f60
cmp byte [ebp - 0x4a], 0
mov ecx, 0x72d9a4
mov eax, 0x72d998
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.00656360
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.004b3f60
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 0x72d9c8
push eax
call fcn.00655c20
add esp, 0xc
lea ecx, [ebp - 0x48]
push str.Content_Length:
call fcn.004b3f60
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00656360
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.00658c90
mov edx, dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x656837
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x65682d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x656b31
push edx
push ecx
call fcn.006051f2
add esp, 8
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x6568b3
cmp dword [ebp - 0x70], 0
je 0x6568b3
cmp word [eax], 0
je 0x6568b3
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.006491a0
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 0x6568b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x656888
lea esi, [eax - 0x4f]
jmp 0x656893
push eax
call fcn.00656f20
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 0x6569df
mov eax, dword [ebp + 0x30]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x6568de
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 0x6568f9
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 0x656fa0
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 0x65698d
cmp eax, 1
jne 0x65697f
mov esi, eax
jmp 0x6569df
cmp eax, 0x102
jne 0x65698d
mov esi, 2
jmp 0x6569df
mov eax, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0x54], eax
cmp eax, 1
je 0x6569df
cmp eax, 2
je 0x6569df
mov eax, dword [edi]
test eax, eax
je 0x6569c8
cmp dword [edi + 0xc], 1
jne 0x6569b9
push dword [edi + 8]
mov ecx, dword [ebp - 0x78]
push eax
call fcn.0048bc90
mov eax, dword [edi]
push eax
call fcn.00619f90
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.006051f2
mov esi, dword [ebp - 0x54]
add esp, 8
xor edi, edi
jmp 0x6569df
mov esi, 5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x6569f3
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x656a16
cmp esi, 2
je 0x656a16
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x656a07
push ecx
call eax
test edi, edi
je 0x656a16
push 0x1c
push edi
call fcn.006051f2
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.0064a110
mov edx, dword [ebp + 0x124]
cmp edx, 8
jb 0x656a5e
mov ecx, dword [ebp + 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x656a54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x656b36
push edx
push ecx
call fcn.006051f2
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 0x656abb
mov ecx, dword [ebp + 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x656ab1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x656b36
push edx
push ecx
call fcn.006051f2
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 0x656b14
mov ecx, dword [ebp + 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x656b0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x656b36
push edx
push ecx
call fcn.006051f2
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.0060565a
mov esp, ebp
pop ebp
ret
call fcn.00611192
call fcn.00611192
int3