Function at 0x5bd4e0
Capabilities:
Initialize winhttp library
Prepare http request
Reference sql statements
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6996f1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x7851cc]
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.0062703d
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x5bd5a1
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 0x5bd5a3
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 0x5bd5d6
mov ecx, dword [edx]
mov byte [ecx], 0
test edi, edi
je 0x5bdaba
cmp dword [ebp - 0x6c], 0
je 0x5bdaba
test eax, eax
je 0x5bdaba
mov esi, dword [ebp - 0x5c]
cmp word [esi], 0
jne 0x5bd631
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 0x5bd674
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005be000
add esp, 4
mov esi, eax
jmp 0x5bdabf
push str.Using_proxy_server.
push 4
call fcn.005b0880
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 0x5bd674
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005be000
add esp, 4
mov esi, eax
jmp 0x5bdabf
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 0x5bd6b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005be000
add esp, 4
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x5bdabf
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 0x5bd6f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005be000
add esp, 4
mov esi, eax
jmp 0x5bd97c
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 0x5bd769
push str.ClientVersion:
lea ecx, [ebp - 0x48]
call fcn.00472b50
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.0046a530
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 0x5bd7bd
push str.InvocationAgent:
lea ecx, [ebp - 0x48]
call fcn.00472b50
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.0046a530
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 0x5bd811
push str.AgsServiceStatus:
lea ecx, [ebp - 0x48]
call fcn.00472b50
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.0046a530
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 0x5bd85c
push str.IsCCInstalled:
lea ecx, [ebp - 0x48]
call fcn.00472b50
cmp byte [ebp - 0x4a], 0
mov ecx, 0x7113ac
mov eax, 0x7113a0
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.005bd440
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.00472b50
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 0x7113d0
push eax
call fcn.005bcc20
add esp, 0xc
lea ecx, [ebp - 0x48]
push str.Content_Length:
call fcn.00472b50
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.005bd440
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.005bfef0
mov edx, dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x5bd917
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bd90d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bdc11
push edx
push ecx
call fcn.0062706d
add esp, 8
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5bd993
cmp dword [ebp - 0x70], 0
je 0x5bd993
cmp word [eax], 0
je 0x5bd993
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 4
call fcn.005b0880
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 0x5bd993
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5bd968
lea esi, [eax - 0x4f]
jmp 0x5bd973
push eax
call fcn.005be000
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 0x5bdabf
mov eax, dword [ebp + 0x30]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add eax, 0xffffffa1
cmp eax, 0x1e
jle 0x5bd9be
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 0x5bd9d9
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 0x5be080
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 0x5bda6d
cmp eax, 1
jne 0x5bda5f
mov esi, eax
jmp 0x5bdabf
cmp eax, 0x102
jne 0x5bda6d
mov esi, 2
jmp 0x5bdabf
mov eax, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0x54], eax
cmp eax, 1
je 0x5bdabf
cmp eax, 2
je 0x5bdabf
mov eax, dword [edi]
test eax, eax
je 0x5bdaa8
cmp dword [edi + 0xc], 1
jne 0x5bda99
push dword [edi + 8]
mov ecx, dword [ebp - 0x78]
push eax
call fcn.0045e120
mov eax, dword [edi]
push eax
call fcn.00651bd0
add esp, 4
mov dword [edi], 0
push 0x1c
push edi
call fcn.0062706d
mov esi, dword [ebp - 0x54]
add esp, 8
xor edi, edi
jmp 0x5bdabf
mov esi, 5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x5bdad3
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
je 0x5bdaf6
cmp esi, 2
je 0x5bdaf6
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x5bdae7
push ecx
call eax
test edi, edi
je 0x5bdaf6
push 0x1c
push edi
call fcn.0062706d
add esp, 8
lea ecx, [ebp + 0x38]
call fcn.005b17f0
mov edx, dword [ebp + 0x124]
cmp edx, 8
jb 0x5bdb3e
mov ecx, dword [ebp + 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bdb34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bdc16
push edx
push ecx
call fcn.0062706d
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 0x5bdb9b
mov ecx, dword [ebp + 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bdb91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bdc16
push edx
push ecx
call fcn.0062706d
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 0x5bdbf4
mov ecx, dword [ebp + 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bdbea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bdc16
push edx
push ecx
call fcn.0062706d
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.0062702c
mov esp, ebp
pop ebp
ret
call fcn.00646804
call fcn.00646804
int3