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

Disassembly:
sub esp, 0x34c
mov eax, dword [0x4ad3b0]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
mov ebp, dword [esp + 0x358]
lea eax, [esp + 0xd0]
push esi
push 0x41
push 0
mov ebx, dword [ebp + 0x18]
push eax
call fcn.00466e70
push 0x41
lea eax, [esp + 0x234]
push 0
push eax
call fcn.00466e70
push 0x41
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.00466e70
push 0x41
lea eax, [esp + 0x1a4]
push 0
push eax
call fcn.00466e70
mov esi, dword [ebx + 0x50]
lea eax, [esp + 0x298]
push 0x97
push 0
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
call fcn.00466e70
mov eax, dword [ebp + 0xd5c]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x64], 0
push 0xd
mov ecx, 0x48d468
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.00427360
add esp, 0x48
test eax, eax
je 0x4588ed
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.00464714
add esp, 0x34c
ret
push edi
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.004179e0
lea eax, [esp + 0x4c]
push 0x19000
push eax
call fcn.004179e0
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.004179e0
mov eax, dword [ebp + 0x61c]
mov ecx, str.aws:amz
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x198]
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.00425f90
add esp, 0x30
cmp byte [esp + 0xd8], 0
jne 0x458975
push str.first_aws_sigv4_provider_cant_be_empty
push ebp
call fcn.00422a30
mov edi, 0x2b
jmp 0x4589c9
cmp byte [esp + 0x228], 0
jne 0x458996
xor ecx, ecx
mov al, byte [esp + ecx + 0xd8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x227], al
test al, al
jne 0x458981
cmp byte [esp + 0x180], 0
jne 0x458aed
push 0x2e
push esi
call fcn.004670a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x458a45
push str.aws_sigv4:_service_missing_in_parameters_and_hostname
push ebp
call fcn.00422a30
mov edi, 3
add esp, 8
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.004179b0
lea eax, [esp + 0x68]
push eax
call fcn.004179b0
lea eax, [esp + 0x5c]
push eax
call fcn.004179b0
push dword [esp + 0x38]
call dword [0x4ad004]
push dword [esp + 0x40]
call dword [0x4ad004]
push dword [esp + 0x30]
call dword [0x4ad004]
push dword [esp + 0x38]
call dword [0x4ad004]
push dword [esp + 0x40]
call dword [0x4ad004]
push ebx
call dword [0x4ad004]
mov ecx, dword [esp + 0x37c]
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00464714
add esp, 0x34c
ret
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp esi, 0x40
jbe 0x458a5c
push str.aws_sigv4:_service_too_long_in_hostname
jmp 0x4589be
push esi
push eax
lea eax, [esp + 0x188]
push eax
call fcn.0046e5f0
lea eax, [esp + 0x18c]
mov byte [esp + esi + 0x18c], 0
push eax
push str.aws_sigv4:_picked_service__s_from_host
push ebp
call fcn.00422b00
add esp, 0x18
cmp byte [esp + 0x1c4], 0
jne 0x458aed
inc edi
push 0x2e
push edi
call fcn.004670a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x458aaf
push str.aws_sigv4:_region_missing_in_parameters_and_hostname
jmp 0x4589be
sub esi, edi
cmp esi, 0x40
jbe 0x458ac0
push str.aws_sigv4:_region_too_long_in_hostname
jmp 0x4589be
push esi
lea eax, [esp + 0x1c8]
push edi
push eax
call fcn.0046e5f0
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.00422b00
add esp, 0x18
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.0042e620
lea eax, [esp + 0xe8]
push 0x499838
push eax
call fcn.00426c40
add esp, 0x18
test eax, eax
je 0x458b35
lea eax, [esp + 0x180]
push 0x49983c
push eax
call fcn.00426c40
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x458b3a
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.004331a0
push eax
lea eax, [esp + 0x318]
push eax
push ebp
call fcn.00427360
add esp, 0x1c
test eax, eax
je 0x458bca
push 0x3a
push eax
call fcn.004670a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x458bca
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
je 0x458b97
cmp cl, 0x20
je 0x458b8f
cmp cl, 9
jne 0x458b97
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x458b85
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x458ba0
sub esi, ecx
je 0x458cb9
nop
mov al, byte [esi + ebx - 1]
cmp al, 0x20
je 0x458bc0
cmp al, 9
jne 0x458cb9
sub esi, 1
jne 0x458bb0
jmp 0x458cb9
cmp byte [esp + 0x13], 0
je 0x458c7b
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x458bf4
cmp ecx, 5
je 0x458bf4
mov eax, dword [ebp + 0x210]
or eax, dword [ebp + 0x214]
je 0x458bf4
xor dl, dl
jmp 0x458bf6
mov dl, 1
cmp ecx, 1
jne 0x458c08
cmp dword [ebp + 0x178], 0
je 0x458c08
mov eax, ecx
jmp 0x458c0a
xor eax, eax
test dl, dl
jne 0x458c2a
test eax, eax
jne 0x458c2a
movups xmm0, xmmword [str.UNSIGNED_PAYLOAD]
mov byte [esp + 0x14c], al
movups xmmword [esp + 0x13c], xmm0
jmp 0x458c4d
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.00459170
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4589cc
lea eax, [esp + 0x13c]
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.004331a0
add esp, 0x14
xor edi, edi
jmp 0x458c96
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.00459170
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4589cc
lea ebx, [esp + 0x13c]
mov esi, ebx
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x458cb0
sub esi, ecx
lea eax, [esp + 0x3c]
push eax
call fcn.0046e4f7
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.004359e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4589cc
lea eax, [esp + 0x74]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0xac]
push 0x11
push eax
call fcn.004766e2
add esp, 0x10
test eax, eax
jne 0x458d0a
lea edi, [eax + 0x1b]
jmp 0x4589cc
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.00459510
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4589cc
cmp byte [esp + 0x26c], al
je 0x458d83
lea ecx, [esp + 0x26c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458d60
mov ax, word [0x48e450]
sub ecx, edx
mov word [esp + ecx + 0x26c], ax
mov al, byte [0x48e452]
mov byte [esp + ecx + 0x26e], al
movq xmm0, qword [esp + 0xa4]
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0xcc0]
movq qword [esp + 0xa0], xmm0
push ebp
mov byte [esp + 0xac], 0
call fcn.004591e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4589cc
lea edi, [eax + 0x1b]
lea eax, [esp + 0x44]
push eax
call fcn.00417a10
add esp, 4
test eax, eax
je 0x458de2
lea eax, [esp + 0x44]
push eax
call fcn.00417a10
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x458dea
mov dword [esp + 0x18], 0x48d468
push ebx
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00417a10
add esp, 4
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00417a10
add esp, 4
push eax
push dword [esp + 0x28]
push dword [ebp + 0xcbc]
push dword [esp + 0x40]
push str._s_n_s_n_s_n_s_n_s_n_.s
call fcn.00433100
mov esi, eax
add esp, 0x20
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4589cc
lea ecx, [esp + 0xd8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458e40
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.00426b60
lea eax, [esp + 0xe4]
push eax
push str._s4_request
call fcn.00433100
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4589cc
push ebx
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0xa4]
push eax
push str._s__s__s__s
call fcn.00433100
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4589cc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458eb2
sub ecx, edx
lea eax, [esp + 0x208]
push ecx
push esi
push eax
call fcn.00461cc0
add esp, 0xc
test eax, eax
jne 0x4589cc
push 0x41
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x210]
push 0x20
push eax
call fcn.0044db00
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 0x458f00
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.00426ba0
lea eax, [esp + 0x148]
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.00433100
mov esi, eax
add esp, 0x20
mov dword [esp + 0x20], esi
test esi, esi
je 0x4589cc
mov ecx, dword [ebp + 0xd60]
lea eax, [esp + 0xd8]
test ecx, ecx
mov edx, 0x48d468
cmovne edx, ecx
push edx
push eax
push str._s4_s
call fcn.00433100
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x4589cc
lea ecx, [esp + 0x98]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458f90
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x458fa0
lea eax, [esp + 0xb8]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push edx
push dword [esp + 0x34]
push 0x49b184
call fcn.00461a80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4589cc
lea ecx, [esp + 0x1c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458fe0
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 0x49b184
call fcn.00461a80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4589cc
lea ecx, [esp + 0x180]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459025
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x188]
push eax
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x49b184
call fcn.00461a80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4589cc
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459065
lea eax, [esp + 0x11c]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x49b184
call fcn.00461a80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4589cc
mov esi, dword [esp + 0x20]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4590a2
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push esi
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x49b184
call fcn.00461a80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4589cc
push 0x41
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0xc0]
push 0x20
push eax
call fcn.0044db00
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x27c]
add esp, 0x10
test ebx, ebx
push eax
mov eax, 0x48d468
cmovne eax, ebx
push eax
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00417a10
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.00433100
mov esi, eax
add esp, 0x20
test esi, esi
je 0x4589d0
push dword [ebp + 0xd40]
call dword [0x4ad004]
add esp, 4
mov dword [ebp + 0xd40], esi
mov byte [ebp + 0x97c], 1
jmp 0x4589d0