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

Disassembly:
sub esp, 0x14c
mov eax, dword [0x53b0f8]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
mov ebp, dword [esp + 0x158]
mov ebx, 0x1b
push 0xc
push str.Content_Type
push ebp
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x64]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], eax
call fcn.0046dd00
mov dword [esp + 0x54], eax
mov edx, 0x51211d
mov eax, dword [ebp + 0x180]
mov ecx, edx
test eax, eax
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
cmovne ecx, eax
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 0xd24]
test eax, eax
mov dword [esp + 0x50], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0xd28]
test eax, eax
mov dword [esp + 0x64], ecx
mov ecx, edx
push 0xd
cmovne ecx, eax
mov dword [esp + 0x3c], 0
push str.Authorization
push ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], 0
mov byte [esp + 0xc4], 0
movups xmmword [esp + 0xc5], xmm0
mov dword [esp + 0xdd], 0
movq qword [esp + 0xd5], xmm0
mov word [esp + 0xe1], 0
mov byte [esp + 0xe3], 0
mov byte [esp + 0xe4], 0
movups xmmword [esp + 0xe5], xmm0
mov dword [esp + 0xfd], 0
movq qword [esp + 0xf5], xmm0
mov word [esp + 0x101], 0
mov byte [esp + 0x103], 0
call fcn.0046dd00
add esp, 0x18
test eax, eax
je 0x498d39
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00434475
add esp, 0x14c
ret
mov eax, dword [ebp + 0x674]
test eax, eax
push esi
push edi
mov edi, str.aws:amz
cmovne edi, eax
push 0x3a
push edi
call fcn.004a5cd0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x498d64
mov esi, eax
sub esi, edi
jmp 0x498d79
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x498d70
sub esi, ecx
cmp esi, 1
jae 0x498e34
push str.first_provider_cant_be_empty
push ebp
call fcn.00467490
mov ebx, 0x2b
add esp, 8
xor ebp, ebp
push dword [esp + 0x1c]
call dword [0x53b128]
push dword [esp + 0x2c]
call dword [0x53b128]
push dword [esp + 0x1c]
call dword [0x53b128]
push dword [esp + 0x2c]
call dword [0x53b128]
push dword [esp + 0x34]
call dword [0x53b128]
push ebp
call dword [0x53b128]
push dword [esp + 0x44]
call dword [0x53b128]
push dword [esp + 0x4c]
call dword [0x53b128]
push dword [esp + 0x58]
call dword [0x53b128]
push dword [esp + 0x60]
call dword [0x53b128]
push dword [esp + 0x5c]
call dword [0x53b128]
push dword [esp + 0x6c]
call dword [0x53b128]
push dword [esp + 0x74]
call dword [0x53b128]
mov ecx, dword [esp + 0x18c]
add esp, 0x34
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00434475
add esp, 0x14c
ret
lea ebp, [esi + 1]
push ebp
call dword [0x53b124]
push ebp
mov dword [esp + 0x24], eax
call dword [0x53b124]
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x498d95
test eax, eax
je 0x498d95
push esi
push edi
push ecx
call fcn.0046d0e0
mov eax, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x3c]
push edi
mov byte [esi + eax], 0
call fcn.0046d120
mov eax, dword [esp + 0x28]
add esp, 0x18
mov byte [esi + edi], 0
test eax, eax
je 0x498ff2
lea ebp, [eax + 1]
push 0x3a
push ebp
call fcn.004a5cd0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x498eaf
mov edi, eax
sub edi, ebp
jmp 0x498ebd
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x498eb4
sub edi, ecx
cmp edi, 1
jae 0x498ed1
mov edi, dword [esp + 0x18]
push str.second_provider_cant_be_empty
push edi
jmp 0x498d88
lea esi, [edi + 1]
push esi
call dword [0x53b124]
push esi
mov dword [esp + 0x1c], eax
call dword [0x53b124]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x498d95
test eax, eax
je 0x498d95
push edi
push ebp
push ecx
call fcn.0046d0e0
mov ecx, dword [esp + 0x20]
push edi
push ebp
mov ebp, dword [esp + 0x34]
push ebp
mov byte [edi + ecx], 0
call fcn.0046d0e0
movzx eax, byte [ebp]
push eax
call fcn.0046cf50
mov byte [ebp], al
add esp, 0x1c
mov byte [edi + ebp], 0
mov edi, dword [esp + 0x10]
test edi, edi
je 0x499035
inc edi
push 0x3a
push edi
call fcn.004a5cd0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x498f55
mov esi, ebp
sub esi, edi
jmp 0x498f69
mov esi, edi
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x498f60
sub esi, ecx
cmp esi, 1
jae 0x498f7d
mov edi, dword [esp + 0x18]
push str.region_cant_be_empty
push edi
jmp 0x498d88
lea eax, [esi + 1]
push eax
push edi
call fcn.00458660
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
test edi, edi
je 0x498d95
mov byte [esi + edi], 0
test ebp, ebp
je 0x499035
lea eax, [ebp + 1]
push eax
call dword [0x53b130]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x498fe9
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498fc0
sub ecx, edx
cmp ecx, 1
jae 0x4990d9
mov edi, dword [esp + 0x18]
push str.service_cant_be_empty
push edi
call fcn.00467490
add esp, 8
mov ebx, 0x2b
mov ebp, dword [esp + 0x10]
jmp 0x498d97
mov esi, dword [esp + 0x1c]
push ebp
push esi
call fcn.00458660
push ebp
push esi
mov dword [esp + 0x24], eax
call fcn.00458660
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x498d95
test eax, eax
je 0x498d95
movzx eax, byte [eax]
push eax
call fcn.0046cf50
mov ecx, dword [esp + 0x24]
add esp, 4
mov byte [ecx], al
mov ebp, dword [esp + 0x48]
push 0x2e
push ebp
call fcn.004a5cd0
mov edi, eax
add esp, 8
mov esi, edi
sub esi, ebp
test edi, edi
je 0x49954a
cmp esi, 1
jb 0x49954a
lea eax, [esi + 1]
push eax
push ebp
call fcn.00458660
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x498fe9
cmp dword [esp + 0x24], 0
mov byte [esi + eax], 0
jne 0x4990dd
inc edi
push 0x2e
push edi
call fcn.004a5cd0
mov esi, eax
add esp, 8
sub esi, edi
test eax, eax
je 0x4990b9
cmp esi, 1
jb 0x4990b9
lea eax, [esi + 1]
push eax
push edi
call fcn.00458660
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
test edi, edi
je 0x498fe9
mov byte [esi + edi], 0
jmp 0x4990dd
mov edi, dword [esp + 0x18]
push str.region_missing_in_parameters_or_hostname
push edi
call fcn.00467490
mov ebp, dword [esp + 0x18]
add esp, 8
mov ebx, 3
jmp 0x498d97
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x64]
push eax
call fcn.004d2f55
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.0047a6e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x498fe9
lea eax, [esp + 0x70]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0xa8]
push 0x11
push eax
call fcn.004e4ac0
add esp, 0x10
test eax, eax
je 0x498fe9
movq xmm0, qword [esp + 0xa0]
mov eax, dword [esp + 0x50]
movq qword [esp + 0x94], xmm0
mov byte [esp + 0x9c], bl
test eax, eax
je 0x4991a7
push 0x3a
push eax
call fcn.004a5cd0
add esp, 8
test eax, eax
jne 0x499166
mov ebp, dword [esp + 0x10]
lea ebx, [eax + 2]
jmp 0x498d97
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x499166
cmp cl, 9
je 0x499166
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
push ecx
push esi
push ebp
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.0046bac0
push esi
push str.content_type_host_x__s_date
mov dword [esp + 0x48], eax
call fcn.0046bac0
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x30], ebp
jmp 0x4991d7
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
push esi
push ebp
push str.host:_s_nx__s_date:_s_n
call fcn.0046bac0
push esi
push str.host_x__s_date
mov dword [esp + 0x44], eax
call fcn.0046bac0
add esp, 0x18
mov dword [esp + 0x30], eax
mov ebp, eax
cmp dword [esp + 0x2c], 0
je 0x498fe9
test ebp, ebp
je 0x498fe9
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x18c], 0
jg 0x49921b
jl 0x499202
cmp dword [edi + 0x188], 0
jae 0x49921b
mov esi, dword [esp + 0x4c]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499210
sub ecx, edx
jmp 0x499225
mov ecx, dword [edi + 0x188]
mov esi, dword [esp + 0x4c]
push ecx
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.004a08d0
add esp, 0xc
test eax, eax
jne 0x498fe9
push 0x41
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00499570
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x68]
push edi
call fcn.00475a80
mov eax, dword [edi + 0xca4]
mov ecx, 0x51211d
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x130]
push eax
push ebp
push dword [esp + 0x50]
push ecx
push dword [edi + 0xca0]
push dword [esp + 0x88]
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.0046bac0
add esp, 0x38
mov dword [esp + 0x38], eax
test eax, eax
je 0x498fe9
push dword [esp + 0x1c]
push str._s4_request
call fcn.0046bac0
mov ebp, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x498d97
push eax
push ebp
push dword [esp + 0x2c]
lea eax, [esp + 0xa0]
push eax
push str._s__s__s__s
call fcn.0046bac0
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x498d97
mov esi, dword [esp + 0x38]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499300
sub ecx, edx
lea eax, [esp + 0xf4]
push ecx
push esi
push eax
call fcn.004a08d0
add esp, 0xc
test eax, eax
jne 0x498d97
push 0x41
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00499570
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x120]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0xb4]
push eax
push esi
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.0046bac0
add esp, 0x20
mov dword [esp + 0x40], eax
test eax, eax
je 0x498d97
push dword [esp + 0x5c]
push esi
push str._s4_s
call fcn.0046bac0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x498d97
lea ecx, [esp + 0x94]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499394
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 0x4993a6
lea eax, [esp + 0xb4]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0x9c]
push eax
push edx
push ebx
push 0x52110c
call fcn.004a0780
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x498d97
mov ebx, dword [esp + 0x24]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4993e2
lea eax, [esp + 0xd4]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc4]
push eax
push 0x52110c
call fcn.004a0780
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x498d97
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499420
lea eax, [esp + 0xb4]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xe4]
push eax
push 0x52110c
call fcn.004a0780
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x498d97
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499460
lea eax, [esp + 0xd4]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc4]
push eax
push 0x52110c
call fcn.004a0780
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x498d97
mov ebx, dword [esp + 0x40]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4994a0
lea eax, [esp + 0xb4]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xe4]
push eax
push 0x52110c
call fcn.004a0780
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x498d97
push 0x41
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00499570
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x128]
push eax
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x80]
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.0046bac0
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x498d97
push dword [edi + 0xd08]
call dword [0x53b128]
add esp, 4
mov dword [edi + 0xd08], esi
mov byte [edi + 0x9bc], 1
jmp 0x498d97
mov edi, dword [esp + 0x18]
push str.service_missing_in_parameters_or_hostname
push edi
call fcn.00467490
mov ebx, 3
jmp 0x498d92