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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, dword [ebp + 8]
mov eax, dword [0x7c3824]
xor eax, ebp
mov dword [esp + 0x148], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x64]
mov dword [esp + 0x30], eax
push str.Content_Type
push esi
call fcn.005872a0
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, esi
mov esi, dword [esi + 0x180]
test esi, esi
mov eax, 0x672026
cmove esi, eax
mov ebx, dword [ecx + 0xcf4]
mov edi, dword [ecx + 0xcf8]
test ebx, ebx
cmove ebx, eax
test edi, edi
cmove edi, eax
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
push str.Authorization
push ecx
call fcn.005872a0
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x5b999e
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x674]
test eax, eax
mov ebx, str.aws:amz
cmovne ebx, eax
push 0x3a
push ebx
call fcn.005e2960
add esp, 8
mov edi, eax
test eax, eax
je 0x5b9409
mov esi, edi
sub esi, ebx
jmp 0x5b9414
push ebx
call fcn.005fef10
add esp, 4
mov esi, eax
test esi, esi
mov eax, dword [ebp + 8]
je 0x5b94b6
mov dword [esp + 0x38], edi
lea edi, [esi + 1]
push edi
call dword [0x7c387c]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], edi
push edi
call dword [0x7c387c]
add esp, 4
mov dword [esp + 0x28], 0x1b
cmp dword [esp + 0x10], 0
je 0x5b9521
test eax, eax
mov edi, eax
je 0x5b9578
push esi
push ebx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
push edi
call fcn.0052b150
add esp, 0xc
mov byte [edi + esi], 0
push esi
push ebx
mov edi, dword [esp + 0x14]
push edi
call fcn.0052b100
add esp, 0xc
mov byte [edi + esi], 0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x5b95cd
add edi, 1
push 0x3a
push edi
call fcn.005e2960
add esp, 8
mov ebx, eax
test eax, eax
je 0x5b961a
mov esi, ebx
sub esi, edi
jmp 0x5b9625
push str.first_provider_cant_be_empty
push eax
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 0x2b
xor ecx, ecx
xor edi, edi
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jmp 0x5b98fd
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x40], 0
jmp 0x5b98fd
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], 0
jmp 0x5b98fd
mov esi, dword [esp + 0x3c]
push esi
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00528730
add esp, 8
mov edi, eax
push esi
push ebx
call fcn.00528730
add esp, 8
mov esi, eax
mov dword [esp + 0x1c], edi
test edi, edi
mov ecx, ebx
je 0x5b9847
test esi, esi
je 0x5b9847
movsx eax, byte [esi]
push eax
call fcn.0052afa0
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esi], al
jmp 0x5b96ce
push edi
call fcn.005fef10
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
test esi, esi
je 0x5b979c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
lea edi, [esi + 1]
push edi
call dword [0x7c387c]
add esp, 4
mov ebx, eax
push edi
call dword [0x7c387c]
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x5b97f8
test edi, edi
je 0x5b97f8
push esi
push dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0052b150
add esp, 0xc
mov byte [ebx + esi], 0
push esi
push dword [esp + 0x3c]
push edi
call fcn.0052b150
add esp, 0xc
movsx eax, byte [edi]
push eax
call fcn.0052afa0
add esp, 4
mov byte [edi], al
mov byte [edi + esi], 0
mov ebx, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0x24], edi
je 0x5b96ce
add ebx, 1
push 0x3a
push ebx
call fcn.005e2960
add esp, 8
mov esi, eax
test eax, eax
mov dword [esp + 0x3c], ebx
je 0x5b99b8
mov edi, esi
sub edi, ebx
jmp 0x5b99c3
mov dword [esp + 0x38], 0
mov ebx, dword [esp + 0x1c]
push 0x2e
mov esi, dword [esp + 0x34]
push esi
call fcn.005e2960
add esp, 8
test eax, eax
je 0x5b9899
mov ecx, esi
mov esi, eax
mov edi, eax
sub edi, ecx
je 0x5b9899
lea eax, [edi + 1]
push eax
push ecx
call fcn.00528730
add esp, 8
test eax, eax
je 0x5b98b1
mov byte [eax + edi], 0
cmp dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
je 0x5b9adb
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x78]
push eax
call fcn.005f73d0
add esp, 4
lea esi, [esp + 0x54]
push esi
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.0059fe10
add esp, 0xc
test eax, eax
je 0x5b9b76
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x5b98ed
push str.second_provider_cant_be_empty
push ecx
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 0x2b
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jmp 0x5b983e
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov esi, edi
mov edi, dword [esp + 0xc]
jmp 0x5b98f1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x40], 0
jmp 0x5b98fd
push str.service_missing_in_parameters_or_hostname
push dword [ebp + 8]
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x7c3880]
add esp, 4
push edi
call dword [0x7c3880]
add esp, 4
push ebx
call dword [0x7c3880]
add esp, 4
push esi
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x38]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x3c]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x40]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x30]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x34]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x2c]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x20]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x18]
call dword [0x7c3880]
add esp, 4
push dword [esp + 0x14]
call dword [0x7c3880]
add esp, 4
mov ecx, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.005db451
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call fcn.005fef10
add esp, 4
mov edi, eax
mov ebx, dword [esp + 0x1c]
test edi, edi
je 0x5b9a6e
lea eax, [edi + 1]
push eax
push dword [esp + 0x40]
call fcn.00528730
add esp, 8
test eax, eax
je 0x5b9b21
mov byte [eax + edi], 0
test esi, esi
mov dword [esp + 0x38], eax
je 0x5b96da
add esi, 1
push esi
call dword [0x7c3888]
add esp, 4
test eax, eax
je 0x5b9c30
cmp byte [eax], 0
mov dword [esp + 0x3c], eax
jne 0x5b972b
push str.service_cant_be_empty
push dword [ebp + 8]
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 0x2b
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x5b9c6c
push str.region_cant_be_empty
push dword [ebp + 8]
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 0x2b
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
jmp 0x5b98f9
add esi, 1
push 0x2e
push esi
call fcn.005e2960
add esp, 8
test eax, eax
je 0x5b9c0b
mov edi, eax
sub edi, esi
je 0x5b9c0b
mov dword [esp + 0x1c], ebx
lea eax, [edi + 1]
push eax
push esi
call fcn.00528730
add esp, 8
test eax, eax
je 0x5b9d31
mov dword [esp + 0x38], eax
mov byte [eax + edi], 0
jmp 0x5b972b
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], 0
jmp 0x5b98f9
lea ebx, [esp + 0x137]
push esi
push str._Y_m_dT_H_M_SZ
push 0x11
push ebx
call fcn.005e34ec
add esp, 0x10
test eax, eax
je 0x5b9c81
mov eax, dword [esp + 0x137]
mov ecx, dword [esp + 0x13b]
mov dword [esp + 0x132], ecx
mov dword [esp + 0x12e], eax
mov byte [esp + 0x136], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b9cce
push 0x3a
push eax
call fcn.005e2960
add esp, 8
test eax, eax
mov edi, dword [esp + 0x1c]
je 0x5b9d3e
add eax, 1
movzx ecx, byte [eax]
cmp cl, 0x20
je 0x5b9bdd
cmp cl, 9
je 0x5b9bdd
mov esi, str.content_type_host_x__s_date
push ebx
push edi
push dword [esp + 0x38]
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.00579a80
add esp, 0x14
jmp 0x5b9cea
push str.region_missing_in_parameters_or_hostname
push dword [ebp + 8]
call fcn.0051ec50
add esp, 8
mov dword [esp + 0x28], 3
mov dword [esp + 0x38], 0
jmp 0x5b98b9
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], 0
jmp 0x5b98fd
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x5b9ad2
mov esi, 0x66284f
push ebx
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x38]
push 0x67187e
call fcn.00579a80
add esp, 0x10
mov ebx, eax
push edi
push esi
call fcn.00579a80
add esp, 8
test ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], eax
je 0x5b9de5
test eax, eax
mov ecx, dword [esp + 0x10]
je 0x5b9d7d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18c], 0
js 0x5b9dbc
mov eax, dword [eax + 0x188]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5b9dcf
mov dword [esp + 0x38], 0
jmp 0x5b975f
mov dword [esp + 0x28], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov ebx, edi
jmp 0x5b9ac6
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov ebx, edi
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x24]
jmp 0x5b98fd
mov esi, dword [esp + 0x18]
push esi
call fcn.005fef10
mov edx, esi
add esp, 4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10e]
push eax
push edx
push ecx
call fcn.005cad50
add esp, 0xc
test eax, eax
je 0x5b9e20
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov ebx, edi
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x34], 0
jmp 0x5b9ad2
lea ecx, [esp + 0xcd]
lea edx, [esp + 0x10e]
call fcn.005ba150
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
push ecx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.005846c0
add esp, 0x10
mov eax, dword [esi + 0xc9c]
test eax, eax
mov ecx, 0x672026
cmovne ecx, eax
lea eax, [esp + 0xcd]
push eax
push dword [esp + 0x34]
push ebx
push ecx
push dword [esi + 0xc98]
push dword [esp + 0x60]
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.00579a80
add esp, 0x1c
test eax, eax
je 0x5b9f20
mov esi, eax
push dword [esp + 0x10]
push str._s4_request
call fcn.00579a80
add esp, 8
test eax, eax
mov dword [esp + 0x34], esi
je 0x5b9c99
lea edi, [esp + 0x12e]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push edi
push str._s__s__s__s
call fcn.00579a80
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
je 0x5b9f4d
push esi
call fcn.005fef10
add esp, 4
push eax
push esi
lea eax, [esp + 0x116]
push eax
call fcn.005cad50
add esp, 0xc
test eax, eax
je 0x5b9f7e
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], 0
jmp 0x5b98fd
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
jmp 0x5b9d76
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x5b9db3
lea edx, [esp + 0x10e]
lea esi, [esp + 0xcd]
mov ecx, esi
call fcn.005ba150
push esi
push dword [esp + 0x24]
lea eax, [esp + 0x13f]
push eax
push dword [esp + 0x18]
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.00579a80
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x5b9f55
push dword [esp + 0x48]
push dword [esp + 0x10]
push str._s4_s
call fcn.00579a80
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x5b9f5d
push edi
call fcn.005fef10
add esp, 4
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x14]
push esi
call fcn.005fef10
add esp, 4
lea ebx, [esp + 0xa0]
push ebx
push dword [esp + 0x2c]
push edi
push eax
push esi
push 0x64ffd8
call fcn.005cb010
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5b9f6d
mov esi, dword [esp + 0x38]
push esi
call fcn.005fef10
add esp, 4
lea edi, [esp + 0x80]
push edi
push eax
push esi
push 0x20
push ebx
push 0x64ffd8
call fcn.005cb010
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5b9f6d
mov esi, dword [esp + 0x3c]
push esi
call fcn.005fef10
add esp, 4
push ebx
push eax
push esi
push 0x20
push edi
push 0x64ffd8
call fcn.005cb010
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5b9f6d
mov esi, dword [esp + 0x2c]
push esi
call fcn.005fef10
add esp, 4
push edi
push eax
push esi
push 0x20
push ebx
push 0x64ffd8
call fcn.005cb010
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5b9f6d
mov esi, dword [esp + 0x18]
push esi
call fcn.005fef10
add esp, 4
push ebx
push eax
push esi
push 0x20
push edi
push 0x64ffd8
call fcn.005cb010
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5b9f6d
lea edx, [esp + 0xa0]
lea esi, [esp + 0xcd]
mov ecx, esi
call fcn.005ba150
lea eax, [esp + 0x137]
push eax
push dword [esp + 0x28]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x58]
push dword [esp + 0x24]
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_nX__s_Date:__s_r_n
call fcn.00579a80
add esp, 0x20
mov dword [esp + 0x28], 0
test eax, eax
je 0x5b9f6d
mov edi, eax
mov esi, dword [ebp + 8]
push dword [esi + 0xcd8]
call dword [0x7c3880]
add esp, 4
mov dword [esi + 0xcd8], edi
mov byte [esi + 0x9b4], 1
jmp 0x5b9f6d