Function at 0x5a89e0
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x75e7a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0x14]
mov ecx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x108]
mov byte [ebp - 0xd], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], eax
push 0x1c
mov dword [ebp - 4], 0
call fcn.006129a7
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x5a8a93
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 0x5a8a95
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 - 0x1c], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], esi
mov ecx, eax
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x5a8aca
mov ecx, dword [eax]
mov byte [ecx], 0
test edi, edi
je 0x5a8d5e
cmp dword [ebp - 0x1c], 0
je 0x5a8d5e
test esi, esi
je 0x5a8d5e
cmp word [ebx], 0
jne 0x5a8b22
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 - 0x18], ecx
test ecx, ecx
jne 0x5a8b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
jmp 0x5a8d63
push str.Using_proxy_server.
push 4
call fcn.0059c9b0
add esp, 8
push 0x10000000
push 0
push ebx
push 3
push str.ADOBE_IAL_CLIENT_WIN_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x5a8b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
jmp 0x5a8d63
mov edx, dword [ebp - 0x14]
xor ebx, ebx
test edx, edx
movzx eax, dx
push 0
cmovle eax, ebx
movzx eax, ax
push eax
push dword [ebp - 0x3c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x5a8bac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
mov esi, eax
push dword [ebp - 0x18]
call ebx
jmp 0x5a8d63
movzx eax, byte [ebp - 0xd]
shl eax, 0x17
push eax
push 0
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
jne 0x5a8bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a8dc0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
mov esi, eax
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x18]
call ebx
jmp 0x5a8d63
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5a8c67
cmp dword [ebp - 0x30], 0
je 0x5a8c67
cmp word [eax], 0
je 0x5a8c67
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.0059c9b0
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [edi + 0x10], 1
push 0
push dword [ebp - 0x30]
push eax
push 1
push 1
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x5a8c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5a8c44
lea esi, [eax - 0x4f]
jmp 0x5a8c4f
push eax
call fcn.005a8dc0
add esp, 4
mov esi, eax
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x18]
call ebx
jmp 0x5a8d63
mov eax, dword [ebp + 0x30]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x5a8c8a
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 6
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 0
push 0x17f0c00
push 0x5a8e50
mov dword [edi + 0x14], esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push ebx
call esi
mov eax, dword [ebp + 0x28]
push edi
push eax
push eax
push dword [ebp - 0x24]
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
imul eax, dword [ebp + 0x30], 0x3e8
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push ebx
mov dword [ebp - 0x24], eax
call esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5a8d15
cmp eax, 1
jne 0x5a8d07
mov esi, eax
jmp 0x5a8d63
cmp eax, 0x102
jne 0x5a8d15
mov esi, 2
jmp 0x5a8d63
mov ebx, dword [edi + 0x18]
mov esi, ebx
cmp ebx, 1
je 0x5a8d63
cmp ebx, 2
je 0x5a8d63
mov eax, dword [edi]
test eax, eax
je 0x5a8d4d
cmp dword [edi + 0xc], 1
jne 0x5a8d3e
push dword [edi + 8]
mov ecx, dword [ebp - 0x38]
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
add esp, 8
mov esi, ebx
xor edi, edi
jmp 0x5a8d63
mov esi, 5
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x5a8d73
push eax
call ebx
cmp esi, 1
je 0x5a8d96
cmp esi, 2
je 0x5a8d96
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5a8d87
push eax
call ebx
test edi, edi
je 0x5a8d96
push 0x1c
push edi
call fcn.006129d7
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.0059d8a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret