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

Disassembly:
sub esp, 0x34c
mov eax, dword [0x68e500]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
mov ebp, dword [esp + 0x358]
lea eax, [esp + 0xd1]
push esi
push 0x40
push 0
mov ebx, dword [ebp + 0x18]
push eax
mov byte [esp + 0xe0], 0
call fcn.005acba0
push 0x40
lea eax, [esp + 0x235]
mov byte [esp + 0x234], 0
push 0
push eax
call fcn.005acba0
push 0x40
lea eax, [esp + 0x1dd]
mov byte [esp + 0x1dc], 0
push 0
push eax
call fcn.005acba0
push 0x40
lea eax, [esp + 0x161]
mov byte [esp + 0x160], 0
push 0
push eax
call fcn.005acba0
mov esi, dword [ebx + 0x30]
lea eax, [esp + 0x299]
push 0x96
push 0
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x2a4], 0
call fcn.005acba0
mov eax, dword [ebp + 0xd04]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x64], 0
push 0xd
mov ecx, 0x66a9cd
mov dword [esp + 0x6c], 0
cmovne ecx, eax
mov dword [esp + 0x58], 0
push str.Authorization
push ebp
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], 0
movups xmmword [esp + 0xfc], xmm0
movups xmmword [esp + 0x10c], xmm0
movups xmmword [esp + 0x160], xmm0
movups xmmword [esp + 0x170], xmm0
call fcn.0056f690
add esp, 0x48
test eax, eax
je 0x57c685
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.005aa453
add esp, 0x34c
ret
push edi
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.00531b30
lea eax, [esp + 0x4c]
push 0x19000
push eax
call fcn.00531b30
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.00531b30
mov eax, dword [ebp + 0x604]
mov ecx, str.aws:amz
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0xfc]
push eax
push str._64_:_:_64_:_:_64_:_:_64s
push ecx
call fcn.00469320
add esp, 0x30
cmp byte [esp + 0xd8], 0
jne 0x57c70d
push str.first_aws_sigv4_provider_cant_be_empty
push ebp
call fcn.00531dc0
mov edi, 0x2b
jmp 0x57c768
cmp byte [esp + 0x228], 0
jne 0x57c735
xor ecx, ecx
nop dword [eax]
mov al, byte [esp + ecx + 0xd8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x227], al
test al, al
jne 0x57c720
cmp byte [esp + 0x13c], 0
jne 0x57c88c
push 0x2e
push esi
call fcn.005ac160
mov edi, eax
add esp, 8
test edi, edi
jne 0x57c7e4
push str.aws_sigv4:_service_missing_in_parameters_and_hostname
push ebp
call fcn.00531dc0
mov edi, 3
add esp, 8
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.00531b00
lea eax, [esp + 0x68]
push eax
call fcn.00531b00
lea eax, [esp + 0x5c]
push eax
call fcn.00531b00
push dword [esp + 0x38]
call dword [0x68e06c]
push dword [esp + 0x40]
call dword [0x68e06c]
push dword [esp + 0x30]
call dword [0x68e06c]
push dword [esp + 0x38]
call dword [0x68e06c]
push dword [esp + 0x40]
call dword [0x68e06c]
push ebx
call dword [0x68e06c]
mov ecx, dword [esp + 0x37c]
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005aa453
add esp, 0x34c
ret
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp esi, 0x40
jbe 0x57c7fb
push str.aws_sigv4:_service_too_long_in_hostname
jmp 0x57c75d
push esi
push eax
lea eax, [esp + 0x144]
push eax
call fcn.005ac620
lea eax, [esp + 0x148]
mov byte [esp + esi + 0x148], 0
push eax
push str.aws_sigv4:_picked_service__s_from_host
push ebp
call fcn.00531e90
add esp, 0x18
cmp byte [esp + 0x1c4], 0
jne 0x57c88c
inc edi
push 0x2e
push edi
call fcn.005ac160
mov esi, eax
add esp, 8
test esi, esi
jne 0x57c84e
push str.aws_sigv4:_region_missing_in_parameters_and_hostname
jmp 0x57c75d
sub esi, edi
cmp esi, 0x40
jbe 0x57c85f
push str.aws_sigv4:_region_too_long_in_hostname
jmp 0x57c75d
push esi
lea eax, [esp + 0x1c8]
push edi
push eax
call fcn.005ac620
lea eax, [esp + 0x1d0]
mov byte [esp + esi + 0x1d0], 0
push eax
push str.aws_sigv4:_picked_region__s_from_host
push ebp
call fcn.00531e90
add esp, 0x18
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.00566140
lea eax, [esp + 0xe8]
push 0x619d78
push eax
call fcn.00530250
add esp, 0x18
test eax, eax
je 0x57c8d4
lea eax, [esp + 0x13c]
push 0x619d7c
push eax
call fcn.00530250
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x57c8d9
mov byte [esp + 0x13], 0
lea eax, [esp + 0x228]
push eax
push str.x__s_content_sha256
lea eax, [esp + 0x30c]
push 0x52
push eax
call fcn.00530490
push eax
lea eax, [esp + 0x318]
push eax
push ebp
call fcn.0056f690
add esp, 0x1c
test eax, eax
je 0x57c96a
push 0x3a
push eax
call fcn.005ac160
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x57c96a
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
je 0x57c936
cmp cl, 0x20
je 0x57c92e
cmp cl, 9
jne 0x57c936
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x57c924
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x57c940
sub esi, ecx
je 0x57ca59
nop
mov al, byte [esi + ebx - 1]
cmp al, 0x20
je 0x57c960
cmp al, 9
jne 0x57ca59
sub esi, 1
jne 0x57c950
jmp 0x57ca59
cmp byte [esp + 0x13], 0
je 0x57ca1b
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x57c994
cmp ecx, 5
je 0x57c994
mov eax, dword [ebp + 0x1f8]
or eax, dword [ebp + 0x1fc]
je 0x57c994
xor dl, dl
jmp 0x57c996
mov dl, 1
cmp ecx, 1
jne 0x57c9a8
cmp dword [ebp + 0x168], 0
je 0x57c9a8
mov eax, ecx
jmp 0x57c9aa
xor eax, eax
test dl, dl
jne 0x57c9ca
test eax, eax
jne 0x57c9ca
movups xmm0, xmmword [str.UNSIGNED_PAYLOAD]
mov byte [esp + 0x190], al
movups xmmword [esp + 0x180], xmm0
jmp 0x57c9ed
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.0057cf10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x57c76b
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x22c]
push eax
push str.x__s_content_sha256:__s
lea eax, [esp + 0x278]
push 0x95
push eax
call fcn.00530490
add esp, 0x14
xor edi, edi
jmp 0x57ca36
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.0057cf10
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x57c76b
lea ebx, [esp + 0x180]
mov esi, ebx
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x57ca50
sub esi, ecx
lea eax, [esp + 0x3c]
push eax
call fcn.005b9374
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00554f50
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x57c76b
lea eax, [esp + 0x74]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0xac]
push 0x11
push eax
call fcn.005b40de
add esp, 0x10
test eax, eax
jne 0x57caaa
lea edi, [eax + 0x1b]
jmp 0x57c76b
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
push ebp
call fcn.0057d2f0
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x57c76b
cmp byte [esp + 0x26c], al
je 0x57cb23
lea ecx, [esp + 0x26c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cb00
mov ax, word [0x66ab00]
sub ecx, edx
mov word [esp + ecx + 0x26c], ax
mov al, byte [0x66ab02]
mov byte [esp + ecx + 0x26e], al
movq xmm0, qword [esp + 0xa4]
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0xc60]
movq qword [esp + 0xa0], xmm0
push ebp
mov byte [esp + 0xac], 0
call fcn.0057cf80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x57c76b
lea edi, [eax + 0x1b]
lea eax, [esp + 0x44]
push eax
call fcn.00531b60
add esp, 4
test eax, eax
je 0x57cb82
lea eax, [esp + 0x44]
push eax
call fcn.00531b60
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x57cb8a
mov dword [esp + 0x18], 0x66a9cd
push ebx
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00531b60
add esp, 4
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00531b60
add esp, 4
push eax
push dword [esp + 0x28]
push dword [ebp + 0xc5c]
push dword [esp + 0x40]
push str._s_n_s_n_s_n_s_n_s_n_.s
call fcn.005303f0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x2c], esi
test esi, esi
je 0x57c76b
lea ecx, [esp + 0xd8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cbe0
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.00530170
lea eax, [esp + 0xe4]
push eax
push str._s4_request
call fcn.005303f0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x57c76b
push ebx
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0xa4]
push eax
push str._s__s__s__s
call fcn.005303f0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57c76b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cc52
sub ecx, edx
lea eax, [esp + 0x208]
push ecx
push esi
push eax
call fcn.0057f7a0
add esp, 0xc
test eax, eax
jne 0x57c76b
push 0x41
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x210]
push 0x20
push eax
call fcn.0052e530
lea ecx, [esp + 0xe8]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cca0
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.005301b0
lea eax, [esp + 0x18c]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xf0]
push eax
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.005303f0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x20], esi
test esi, esi
je 0x57c76b
mov ecx, dword [ebp + 0xd08]
lea eax, [esp + 0xd8]
test ecx, ecx
mov edx, 0x66a9cd
cmovne edx, ecx
push edx
push eax
push str._s4_s
call fcn.005303f0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x57c76b
lea ecx, [esp + 0x98]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cd30
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x57cd40
lea eax, [esp + 0xb8]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push edx
push dword [esp + 0x34]
push 0x619fc8
call fcn.0057f550
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x57c76b
lea ecx, [esp + 0x1c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cd80
lea eax, [esp + 0x11c]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x1cc]
push eax
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x619fc8
call fcn.0057f550
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x57c76b
lea ecx, [esp + 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57cdc5
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x144]
push eax
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x619fc8
call fcn.0057f550
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x57c76b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57ce05
lea eax, [esp + 0x11c]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x619fc8
call fcn.0057f550
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x57c76b
mov esi, dword [esp + 0x20]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57ce42
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push esi
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x619fc8
call fcn.0057f550
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x57c76b
push 0x41
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0xc0]
push 0x20
push eax
call fcn.0052e530
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x27c]
add esp, 0x10
test ebx, ebx
push eax
mov eax, 0x66a9cd
cmovne eax, ebx
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00531b60
add esp, 4
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xec]
push dword [esp + 0x4c]
push eax
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_n_s_s
call fcn.005303f0
mov esi, eax
add esp, 0x20
test esi, esi
je 0x57c76f
push dword [ebp + 0xce8]
call dword [0x68e06c]
add esp, 4
mov dword [ebp + 0xce8], esi
mov byte [ebp + 0x920], 1
jmp 0x57c76f