Function at 0x691340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x150
mov eax, dword [0x759990]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x15c]
mov ebx, 0x1b
push 0xc
push str.Content_Type
push ebp
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], eax
call fcn.00665260
mov dword [esp + 0x60], eax
mov edx, 0x70d2d8
mov eax, dword [ebp + 0x178]
mov ecx, edx
test eax, eax
mov dword [esp + 0x28], 0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
cmovne ecx, eax
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 0xd04]
test eax, eax
mov dword [esp + 0x4c], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0xd08]
test eax, eax
mov dword [esp + 0x68], ecx
mov ecx, edx
push 0xd
cmovne ecx, eax
mov dword [esp + 0x34], 0
push str.Authorization
push ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], 0
mov byte [esp + 0xc8], 0
movdqu xmmword [esp + 0xc9], xmm0
mov dword [esp + 0xe1], 0
movq qword [esp + 0xd9], xmm0
mov word [esp + 0xe5], 0
mov byte [esp + 0xe7], 0
mov byte [esp + 0xe8], 0
movdqu xmmword [esp + 0xe9], xmm0
mov dword [esp + 0x101], 0
movq qword [esp + 0xf9], xmm0
mov word [esp + 0x105], 0
mov byte [esp + 0x107], 0
call fcn.00665260
add esp, 0x18
test eax, eax
je 0x6914bb
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.00622d3e
add esp, 0x150
ret
mov eax, dword [ebp + 0x638]
test eax, eax
push esi
push edi
mov edi, str.aws:amz
cmovne edi, eax
push 0x3a
push edi
call fcn.00626500
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x6914e6
mov esi, eax
sub esi, edi
jmp 0x6914f9
mov esi, edi
lea ecx, [esi + 1]
jmp 0x6914f0
mov al, byte [esi]
inc esi
test al, al
jne 0x6914f0
sub esi, ecx
cmp esi, 1
jae 0x691518
push str.first_provider_cant_be_empty
push ebp
call fcn.0065f950
add esp, 8
mov ebx, 0x2b
xor ebp, ebp
jmp 0x69166e
lea ebp, [esi + 1]
push ebp
call dword [0x75ae1c]
push ebp
mov dword [esp + 0x24], eax
call dword [0x75ae1c]
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x691511
test eax, eax
je 0x691511
push esi
push edi
push ecx
call fcn.00663dd0
mov eax, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x3c]
push edi
mov byte [esi + eax], 0
call fcn.00663e10
mov eax, dword [esp + 0x28]
add esp, 0x18
mov byte [esi + edi], 0
test eax, eax
je 0x69176c
lea ebp, [eax + 1]
push 0x3a
push ebp
call fcn.00626500
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x69158b
mov edi, eax
sub edi, ebp
jmp 0x691599
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x691590
sub edi, ecx
cmp edi, 1
jae 0x6915bc
mov edi, dword [esp + 0x18]
push str.second_provider_cant_be_empty
push edi
call fcn.0065f950
add esp, 8
mov ebx, 0x2b
xor ebp, ebp
jmp 0x69166e
lea esi, [edi + 1]
push esi
call dword [0x75ae1c]
push esi
mov dword [esp + 0x1c], eax
call dword [0x75ae1c]
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
test eax, eax
je 0x69166a
test esi, esi
je 0x69166a
push edi
push ebp
push eax
call fcn.00663dd0
mov eax, dword [esp + 0x20]
push edi
push ebp
push esi
mov byte [edi + eax], 0
call fcn.00663dd0
movzx eax, byte [esi]
push eax
call fcn.00663c60
mov byte [esi], al
add esp, 0x1c
mov byte [edi + esi], 0
mov edi, dword [esp + 0x60]
test edi, edi
je 0x6917ad
inc edi
push 0x3a
push edi
call fcn.00626500
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x69163c
mov esi, ebp
sub esi, edi
jmp 0x69164a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x691641
sub esi, ecx
cmp esi, 1
jae 0x69170b
push str.region_cant_be_empty
mov edi, dword [esp + 0x1c]
push edi
call fcn.0065f950
add esp, 8
mov ebx, 0x2b
mov ebp, dword [esp + 0x10]
push dword [esp + 0x1c]
call dword [0x75ae20]
push dword [esp + 0x2c]
call dword [0x75ae20]
push dword [esp + 0x1c]
call dword [0x75ae20]
push ebp
call dword [0x75ae20]
push dword [esp + 0x30]
call dword [0x75ae20]
push dword [esp + 0x48]
call dword [0x75ae20]
push dword [esp + 0x3c]
call dword [0x75ae20]
push dword [esp + 0x4c]
call dword [0x75ae20]
push dword [esp + 0x58]
call dword [0x75ae20]
push dword [esp + 0x64]
call dword [0x75ae20]
push dword [esp + 0x54]
call dword [0x75ae20]
push dword [esp + 0x68]
call dword [0x75ae20]
push dword [esp + 0x74]
call dword [0x75ae20]
mov ecx, dword [esp + 0x190]
add esp, 0x34
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00622d3e
add esp, 0x150
ret
lea eax, [esi + 1]
push eax
push edi
call fcn.0065f780
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x69166a
mov byte [esi + edi], 0
test ebp, ebp
je 0x6917ad
lea eax, [ebp + 1]
push eax
call dword [0x75ae28]
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x69166a
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691750
sub ecx, edx
cmp ecx, 1
jae 0x691842
push str.service_cant_be_empty
jmp 0x691658
mov esi, dword [esp + 0x1c]
push ebp
push esi
call fcn.0065f780
push ebp
push esi
mov dword [esp + 0x24], eax
call fcn.0065f780
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
test eax, eax
je 0x69166a
test esi, esi
je 0x69166a
movzx eax, byte [esi]
push eax
call fcn.00663c60
add esp, 4
mov byte [esi], al
mov ebp, dword [esp + 0x4c]
push 0x2e
push ebp
call fcn.00626500
mov edi, eax
add esp, 8
test edi, edi
jne 0x6917de
push str.service_missing_in_parameters_or_hostname
mov edi, dword [esp + 0x1c]
push edi
call fcn.0065f950
add esp, 8
mov ebx, 3
jmp 0x69166a
mov esi, edi
sub esi, ebp
lea eax, [esi + 1]
push eax
push ebp
call fcn.0065f780
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x69166a
cmp dword [esp + 0x20], 0
mov byte [esi + eax], 0
jne 0x691846
inc edi
push 0x2e
push edi
call fcn.00626500
mov esi, eax
add esp, 8
test esi, esi
jne 0x69181f
push str.region_missing_in_parameters_or_hostname
jmp 0x6917c7
sub esi, edi
lea eax, [esi + 1]
push eax
push edi
call fcn.0065f780
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x69166a
mov byte [esi + edi], 0
jmp 0x691846
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x68]
push eax
call fcn.006283b2
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00673130
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x69166a
lea eax, [esp + 0x74]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0xac]
push 0x11
push eax
call fcn.0062e472
add esp, 0x10
test eax, eax
je 0x69166a
mov al, byte [esp + 0xac]
movq xmm0, qword [esp + 0xa4]
mov byte [esp + 0xa0], al
mov eax, dword [esp + 0x5c]
movq qword [esp + 0x98], xmm0
mov byte [esp + 0xa0], bl
test eax, eax
je 0x69191a
push 0x3a
push eax
call fcn.00626500
add esp, 8
test eax, eax
jne 0x6918d9
lea ebx, [eax + 2]
jmp 0x69166a
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x6918d9
cmp cl, 9
je 0x6918d9
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push esi
push ebp
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.00670ad0
push esi
push str.content_type_host_x__s_date
mov dword [esp + 0x40], eax
call fcn.00670ad0
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x30], ebp
jmp 0x69194a
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xa4]
push eax
push esi
push ebp
push str.host:_s_nx__s_date:_s_n
call fcn.00670ad0
push esi
push str.host_x__s_date
mov dword [esp + 0x3c], eax
call fcn.00670ad0
add esp, 0x18
mov dword [esp + 0x30], eax
mov ebp, eax
cmp dword [esp + 0x24], 0
je 0x69166a
test ebp, ebp
je 0x69166a
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x184], 0
jg 0x69198b
jl 0x691975
cmp dword [edi + 0x180], 0
jae 0x69198b
mov esi, dword [esp + 0x48]
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691980
sub ecx, edx
jmp 0x691995
mov ecx, dword [edi + 0x180]
mov esi, dword [esp + 0x48]
push ecx
lea eax, [esp + 0xfc]
push esi
push eax
call fcn.00698bf0
add esp, 0xc
test eax, eax
jne 0x69166a
push 0x41
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00691cc0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x64]
push edi
call fcn.0066c0e0
mov eax, dword [edi + 0xc80]
mov ecx, 0x70d2d8
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x134]
push eax
push ebp
push dword [esp + 0x48]
push ecx
push dword [edi + 0xc7c]
push dword [esp + 0x84]
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.00670ad0
add esp, 0x38
mov dword [esp + 0x38], eax
test eax, eax
je 0x69166a
push dword [esp + 0x1c]
push str._s4_request
call fcn.00670ad0
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x69166a
mov ebp, dword [esp + 0x34]
push eax
push ebp
push dword [esp + 0x28]
lea eax, [esp + 0xa4]
push eax
push str._s__s__s__s
call fcn.00670ad0
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
je 0x69166a
mov esi, dword [esp + 0x38]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691a70
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push esi
push eax
call fcn.00698bf0
add esp, 0xc
test eax, eax
jne 0x69166a
push 0x41
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00691cc0
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x124]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0xb8]
push eax
push esi
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.00670ad0
add esp, 0x20
mov dword [esp + 0x3c], eax
test eax, eax
je 0x69166a
push dword [esp + 0x58]
push esi
push str._s4_s
call fcn.00670ad0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x69166a
lea ecx, [esp + 0x98]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691b04
mov ebx, dword [esp + 0x44]
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x691b16
lea eax, [esp + 0xb8]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push edx
push ebx
push 0x709b8c
call fcn.00698aa0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69166a
mov ebx, dword [esp + 0x20]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691b52
lea eax, [esp + 0xd8]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x709b8c
call fcn.00698aa0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69166a
mov ecx, ebp
lea edx, [ecx + 1]
jmp 0x691b90
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691b90
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xe8]
push eax
push 0x709b8c
call fcn.00698aa0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69166a
mov ebx, dword [esp + 0x40]
mov ecx, ebx
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691bd0
lea eax, [esp + 0xd8]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x709b8c
call fcn.00698aa0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69166a
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x691c10
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xe8]
push eax
push 0x709b8c
call fcn.00698aa0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69166a
push 0x41
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00691cc0
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xb0]
push eax
push ebp
lea eax, [esp + 0x12c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x84]
push dword [esp + 0x4c]
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_nX__s_Date:__s_r_n
call fcn.00670ad0
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x69166e
push dword [edi + 0xce8]
call dword [0x75ae20]
add esp, 4
mov dword [edi + 0xce8], esi
mov byte [edi + 0x97c], 1
jmp 0x69166e