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

Disassembly:
sub esp, 0x564
mov eax, dword [0x55e904]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
mov ebp, dword [esp + 0x570]
lea eax, [esp + 0x2e8]
push esi
push 0x41
push 0
mov ebx, dword [ebp + 0x18]
push eax
mov dword [esp + 0x34], ebp
call fcn.004f05a0
push 0x41
lea eax, [esp + 0x44c]
push 0
push eax
call fcn.004f05a0
push 0x41
lea eax, [esp + 0x3f4]
push 0
push eax
call fcn.004f05a0
push 0x41
lea eax, [esp + 0x3bc]
push 0
push eax
call fcn.004f05a0
mov esi, dword [ebx + 0x38]
lea eax, [esp + 0x4b0]
push 0x97
push 0
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], 0
call fcn.004f05a0
mov eax, dword [ebp + 0xd18]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x6c], 0
push 0xd
mov ecx, 0x54c4ac
mov dword [esp + 0x74], 0
cmovne ecx, eax
mov dword [esp + 0x58], 0
push str.Authorization
push ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x64], 0
movups xmmword [esp + 0x314], xmm0
movups xmmword [esp + 0x324], xmm0
movups xmmword [esp + 0x378], xmm0
movups xmmword [esp + 0x388], xmm0
call fcn.00467500
add esp, 0x48
test eax, eax
je 0x497a57
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.004ee450
add esp, 0x564
ret
lea eax, [esp + 0x78]
push 0x19000
push eax
call fcn.0044fd40
lea eax, [esp + 0x50]
push 0x19000
push eax
call fcn.0044fd40
lea eax, [esp + 0x68]
push 0x19000
push eax
call fcn.0044fd40
lea eax, [esp + 0x80]
push 0x19000
push eax
call fcn.0044fd40
mov eax, dword [ebp + 0x5ec]
mov ecx, str.aws:amz
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x3b4]
push eax
lea eax, [esp + 0x3fc]
push eax
lea eax, [esp + 0x464]
push eax
lea eax, [esp + 0x318]
push eax
push str._64_:_:_64_:_:_64_:_:_64s
push ecx
call fcn.00462210
add esp, 0x38
cmp byte [esp + 0x2ec], 0
jne 0x497af7
push str.first_aws_sigv4_provider_cannot_be_empty
push ebp
call fcn.0045d5d0
mov ebx, dword [esp + 0x18]
add esp, 8
mov esi, 0x2b
jmp 0x497b54
cmp byte [esp + 0x43c], 0
jne 0x497b18
xor ecx, ecx
mov al, byte [esp + ecx + 0x2ec]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x43b], al
test al, al
jne 0x497b03
cmp byte [esp + 0x394], 0
push edi
jne 0x497c7d
push 0x2e
push esi
call fcn.004f0700
mov edi, eax
add esp, 8
test edi, edi
jne 0x497bd5
push str.aws_sigv4:_service_missing_in_parameters_and_hostname
push ebp
call fcn.0045d5d0
mov esi, 3
add esp, 8
mov ebx, dword [esp + 0x14]
pop edi
lea eax, [esp + 0x48]
push eax
call fcn.0044fd10
lea eax, [esp + 0x6c]
push eax
call fcn.0044fd10
lea eax, [esp + 0x80]
push eax
call fcn.0044fd10
lea eax, [esp + 0x64]
push eax
call fcn.0044fd10
push dword [esp + 0x40]
call dword [0x55e004]
push dword [esp + 0x48]
call dword [0x55e004]
push dword [esp + 0x30]
call dword [0x55e004]
push dword [esp + 0x54]
call dword [0x55e004]
push dword [esp + 0x3c]
call dword [0x55e004]
push ebx
call dword [0x55e004]
mov ecx, dword [esp + 0x594]
add esp, 0x28
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ee450
add esp, 0x564
ret
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp esi, 0x40
jbe 0x497bec
push str.aws_sigv4:_service_too_long_in_hostname
jmp 0x497b41
push esi
push eax
lea eax, [esp + 0x3a0]
push eax
call fcn.004f0970
lea eax, [esp + 0x3a4]
mov byte [esp + esi + 0x3a4], 0
push eax
push str.aws_sigv4:_picked_service__s_from_host
push ebp
call fcn.0045d6a0
add esp, 0x18
cmp byte [esp + 0x3dc], 0
jne 0x497c7d
inc edi
push 0x2e
push edi
call fcn.004f0700
mov esi, eax
add esp, 8
test esi, esi
jne 0x497c3f
push str.aws_sigv4:_region_missing_in_parameters_and_hostname
jmp 0x497b41
sub esi, edi
cmp esi, 0x40
jbe 0x497c50
push str.aws_sigv4:_region_too_long_in_hostname
jmp 0x497b41
push esi
lea eax, [esp + 0x3e0]
push edi
push eax
call fcn.004f0970
lea eax, [esp + 0x3e8]
mov byte [esp + esi + 0x3e8], 0
push eax
push str.aws_sigv4:_picked_region__s_from_host
push ebp
call fcn.0045d6a0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
call fcn.00470140
lea eax, [esp + 0x300]
push 0x54cc88
push eax
call fcn.004646d0
add esp, 0x18
test eax, eax
je 0x497cc5
lea eax, [esp + 0x398]
push 0x53090c
push eax
call fcn.004646d0
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x497cca
mov byte [esp + 0x13], 0
lea eax, [esp + 0x440]
push eax
push str.x__s_content_sha256
lea eax, [esp + 0x524]
push 0x52
push eax
call fcn.00462f30
push eax
lea eax, [esp + 0x530]
push eax
push ebp
call fcn.00467500
add esp, 0x1c
test eax, eax
je 0x497d6d
push 0x3a
push eax
call fcn.004f0700
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x497d6d
mov cl, byte [ebx + 1]
inc ebx
mov dword [esp + 0x28], ebx
test cl, cl
je 0x497d36
nop dword [eax]
cmp cl, 0x20
je 0x497d2a
cmp cl, 9
jne 0x497d32
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x497d20
mov dword [esp + 0x28], ebx
mov edi, ebx
lea ecx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x497d40
sub edi, ecx
mov dword [esp + 0x24], edi
je 0x497e5e
mov al, byte [edi + ebx - 1]
cmp al, 0x20
je 0x497d63
cmp al, 9
jne 0x497e5a
sub edi, 1
jne 0x497d53
jmp 0x497e5a
cmp byte [esp + 0x13], 0
je 0x497e1e
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x497d97
cmp ecx, 5
je 0x497d97
mov eax, dword [ebp + 0x208]
or eax, dword [ebp + 0x20c]
je 0x497d97
xor dl, dl
jmp 0x497d99
mov dl, 1
cmp ecx, 1
jne 0x497dab
cmp dword [ebp + 0x178], 0
je 0x497dab
mov eax, ecx
jmp 0x497dad
xor eax, eax
test dl, dl
jne 0x497dcd
test eax, eax
jne 0x497dcd
movups xmm0, xmmword [str.UNSIGNED_PAYLOAD]
mov byte [esp + 0x364], al
movups xmmword [esp + 0x354], xmm0
jmp 0x497df0
lea eax, [esp + 0x354]
push eax
lea eax, [esp + 0x424]
push eax
push ebp
call fcn.00498450
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x497b4f
lea eax, [esp + 0x354]
push eax
lea eax, [esp + 0x444]
push eax
push str.x__s_content_sha256:__s
lea eax, [esp + 0x490]
push 0x95
push eax
call fcn.00462f30
add esp, 0x14
xor esi, esi
jmp 0x497e39
lea eax, [esp + 0x354]
push eax
lea eax, [esp + 0x424]
push eax
push ebp
call fcn.00498450
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x497b4f
lea eax, [esp + 0x354]
mov edi, eax
mov dword [esp + 0x28], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x497e51
sub edi, ecx
mov dword [esp + 0x24], edi
push 0
call fcn.004fad1c
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.004756b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x497b4f
lea eax, [esp + 0x8c]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0x2c4]
push 0x11
push eax
call fcn.00503b2d
add esp, 0x10
test eax, eax
jne 0x497eac
lea esi, [eax + 0x1b]
jmp 0x497b4f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x48c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x450]
push eax
lea eax, [esp + 0x2d0]
push eax
push dword [esp + 0x30]
push ebp
call fcn.00498700
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x497b4f
cmp byte [esp + 0x484], al
je 0x497f23
lea ecx, [esp + 0x484]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497f00
mov ax, word [0x525478]
sub ecx, edx
mov word [esp + ecx + 0x484], ax
mov al, byte [0x52547a]
mov byte [esp + ecx + 0x486], al
mov ebx, dword [ebp + 0xc60]
xor esi, esi
movq xmm0, qword [esp + 0x2bc]
xor ebp, ebp
movq qword [esp + 0x2b0], xmm0
mov byte [esp + 0x2b8], 0
test ebx, ebx
je 0x498062
lea edx, [esp + 0xb4]
mov dword [esp + 0x18], edx
nop word [eax + eax]
push 0x26
mov dword [esp + 0x48], ebp
inc ebp
push ebx
mov dword [edx - 4], ebx
call fcn.004f0700
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x497f92
mov edx, dword [esp + 0x18]
sub eax, ebx
lea ebx, [ecx + 1]
mov dword [edx], eax
add edx, 8
mov dword [esp + 0x18], edx
cmp ebp, 0x40
jl 0x497f60
jmp 0x497fa4
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x497f95
mov eax, dword [esp + 0x18]
sub ebx, ecx
mov dword [eax], ebx
cmp ebp, 0x40
jne 0x497fb7
mov ebp, dword [esp + 0x2c]
push str.aws_sigv4:_too_many_query_pairs_in_URL
jmp 0x497b41
push 0x4986c0
push 8
lea eax, [esp + 0xb8]
push ebp
push eax
call fcn.004fc090
mov edi, dword [esp + 0x54]
lea eax, [esp + 0xc0]
add esp, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp ebx, ebp
jge 0x498056
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x49804a
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x50]
push eax
push ecx
push edx
call fcn.004984c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x498046
cmp byte [esp + 0x13], al
jne 0x49802c
push 1
lea eax, [esp + 0x50]
push 0x5307a4
push eax
call fcn.0044fd00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x498046
cmp ebx, edi
jge 0x498046
push 1
lea eax, [esp + 0x50]
push 0x5283e0
push eax
call fcn.0044fd00
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 8
inc ebx
mov dword [esp + 0x18], eax
test esi, esi
je 0x497fe0
mov edi, dword [esp + 0x24]
test esi, esi
jne 0x497b4f
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc5c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498071
push 0
lea eax, [esp + 0x70]
sub ecx, esi
push eax
push ecx
push edx
call fcn.004984c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x497b4f
lea esi, [eax + 0x1b]
lea eax, [esp + 0x4c]
push eax
call fcn.0044dc60
add esp, 4
test eax, eax
je 0x4980ba
lea eax, [esp + 0x4c]
push eax
call fcn.0044dc60
add esp, 4
mov ebx, eax
jmp 0x4980bf
mov ebx, 0x54c4ac
push dword [esp + 0x28]
lea eax, [esp + 0x60]
push edi
push eax
call fcn.0044dc60
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0044dc60
add esp, 4
push eax
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.0044dc60
add esp, 4
push eax
push dword [esp + 0x48]
push str._s_n_s_n_s_n_s_n_s_n_.s
call fcn.00462e90
mov edi, eax
add esp, 0x20
mov dword [esp + 0x34], edi
test edi, edi
je 0x497b4f
lea ecx, [esp + 0x2f0]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498120
sub ecx, edx
lea eax, [esp + 0x2f0]
push ecx
push eax
push eax
call fcn.004645f0
lea eax, [esp + 0x2fc]
push eax
push str._s4_request
call fcn.00462e90
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x497b4f
push ebx
lea eax, [esp + 0x39c]
push eax
lea eax, [esp + 0x3e4]
push eax
lea eax, [esp + 0x2bc]
push eax
push str._s__s__s__s
call fcn.00462e90
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x497b4f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498192
sub ecx, edx
lea eax, [esp + 0x420]
push ecx
push edi
push eax
call fcn.004a0160
add esp, 0xc
test eax, eax
jne 0x497b4f
push 0x41
lea eax, [esp + 0x358]
push eax
lea eax, [esp + 0x428]
push 0x20
push eax
call fcn.00467230
lea ecx, [esp + 0x300]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4981e0
sub ecx, edx
lea eax, [esp + 0x2f0]
push ecx
push eax
push eax
call fcn.00464630
lea eax, [esp + 0x360]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x308]
push eax
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.00462e90
mov edi, eax
add esp, 0x20
mov dword [esp + 0x3c], edi
test edi, edi
je 0x497b4f
mov ecx, dword [ebp + 0xd1c]
lea eax, [esp + 0x2f0]
test ecx, ecx
mov edx, 0x54c4ac
cmovne edx, ecx
push edx
push eax
push str._s4_s
call fcn.00462e90
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x497b4f
lea ecx, [esp + 0x2b0]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498270
sub ecx, edx
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x498280
lea eax, [esp + 0x2d0]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0x2b8]
push eax
push edx
push dword [esp + 0x30]
push 0x532280
call fcn.0049ff20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x497b4f
lea ecx, [esp + 0x3dc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4982c0
lea eax, [esp + 0x334]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x3e4]
push eax
push 0x20
lea eax, [esp + 0x2e0]
push eax
push 0x532280
call fcn.0049ff20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x497b4f
lea ecx, [esp + 0x398]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498305
lea eax, [esp + 0x2d0]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x3a0]
push eax
push 0x20
lea eax, [esp + 0x344]
push eax
push 0x532280
call fcn.0049ff20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x497b4f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498345
lea eax, [esp + 0x334]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0x2e0]
push eax
push 0x532280
call fcn.0049ff20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x497b4f
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498380
lea eax, [esp + 0x2d0]
sub ecx, edx
push eax
push ecx
push edi
push 0x20
lea eax, [esp + 0x344]
push eax
push 0x532280
call fcn.0049ff20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x497b4f
push 0x41
lea eax, [esp + 0x358]
push eax
lea eax, [esp + 0x2d8]
push 0x20
push eax
call fcn.00467230
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x494]
add esp, 0x10
test ebx, ebx
push eax
mov eax, 0x54c4ac
cmovne eax, ebx
push eax
lea eax, [esp + 0x35c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0044dc60
add esp, 4
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x304]
push dword [esp + 0x5c]
push eax
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_n_s_s
call fcn.00462e90
mov edi, eax
add esp, 0x20
test edi, edi
je 0x497b53
push dword [ebp + 0xcfc]
call dword [0x55e004]
add esp, 4
mov dword [ebp + 0xcfc], edi
mov byte [ebp + 0x91c], 1
jmp 0x497b53