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

Disassembly:
sub esp, 0x150
mov eax, dword [0x55f3d0]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
mov ebx, dword [esp + 0x158]
push ebp
push str.Content_Type
push ebx
mov eax, dword [ebx + 0xc]
mov ebp, 0x1b
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0
mov eax, dword [eax + 0x64]
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], eax
call fcn.0048ef20
mov dword [esp + 0x54], eax
mov edx, 0x53173e
mov eax, dword [ebx + 0x180]
mov ecx, edx
test eax, eax
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
mov dword [esp + 0x10], 0
cmovne ecx, eax
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0xcec]
test eax, eax
mov dword [esp + 0x50], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [esp + 0x40], 0
mov eax, dword [ebx + 0xcf0]
test eax, eax
mov dword [esp + 0x64], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [esp + 0x38], 0
push str.Authorization
push ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x50], 0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xd0], xmm0
movups xmmword [esp + 0xe0], xmm0
movups xmmword [esp + 0xf0], xmm0
call fcn.0048ef20
add esp, 0x10
test eax, eax
je 0x4b8811
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004d635c
add esp, 0x150
ret
mov eax, dword [ebx + 0x674]
test eax, eax
push esi
push edi
mov edi, str.aws:amz
cmovne edi, eax
push 0x3a
push edi
call fcn.004d8800
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b883c
mov esi, eax
sub esi, edi
jmp 0x4b884a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b8841
sub esi, ecx
cmp esi, 1
jae 0x4b8864
push str.first_provider_cant_be_empty
push ebx
call fcn.00487ae0
mov ebp, 0x2b
jmp 0x4b8f97
lea ebx, [esi + 1]
push ebx
call dword [0x55f370]
push ebx
mov dword [esp + 0x30], eax
call dword [0x55f370]
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x4b8f9a
test eax, eax
je 0x4b8f9a
push esi
push edi
push ecx
call fcn.0048c230
mov eax, dword [esp + 0x34]
push esi
push edi
mov edi, dword [esp + 0x44]
push edi
mov byte [esi + eax], 0
call fcn.0048c280
mov eax, dword [esp + 0x38]
add esp, 0x18
mov byte [esi + edi], 0
test eax, eax
je 0x4b8a54
lea ebx, [eax + 1]
push 0x3a
push ebx
call fcn.004d8800
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b88df
mov edi, eax
sub edi, ebx
jmp 0x4b88ed
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4b88e4
sub edi, ecx
cmp edi, 1
jae 0x4b890b
mov ebx, dword [esp + 0x24]
push str.second_provider_cant_be_empty
push ebx
call fcn.00487ae0
mov ebp, 0x2b
jmp 0x4b8f97
lea esi, [edi + 1]
push esi
call dword [0x55f370]
push esi
mov dword [esp + 0x1c], eax
call dword [0x55f370]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4b8f9a
test eax, eax
je 0x4b8f9a
push edi
push ebx
push ecx
call fcn.0048c230
mov eax, dword [esp + 0x20]
push edi
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
mov byte [edi + eax], 0
call fcn.0048c230
movzx eax, byte [ebx]
push eax
call fcn.0048c0b0
mov byte [ebx], al
add esp, 0x1c
mov byte [edi + ebx], 0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4b8a27
inc edi
push 0x3a
push edi
call fcn.004d8800
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b898d
mov esi, ebx
sub esi, edi
jmp 0x4b899b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b8992
sub esi, ecx
cmp esi, 1
jae 0x4b89b9
mov ebx, dword [esp + 0x24]
push str.region_cant_be_empty
push ebx
call fcn.00487ae0
mov ebp, 0x2b
jmp 0x4b8f97
lea eax, [esi + 1]
push eax
push edi
call fcn.0047a610
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4b8f9a
mov byte [esi + edi], 0
test ebx, ebx
je 0x4b8a2d
lea eax, [ebx + 1]
push eax
call dword [0x55f37c]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4b8f9a
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8a00
sub ecx, edx
cmp ecx, 1
jae 0x4b8a2f
mov ebx, dword [esp + 0x24]
push str.service_cant_be_empty
push ebx
call fcn.00487ae0
mov ebp, 0x2b
jmp 0x4b8f97
xor edi, edi
xor esi, esi
jmp 0x4b8a33
xor esi, esi
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
test esi, esi
je 0x4b8a96
mov ebx, dword [esp + 0x4c]
jmp 0x4b8b28
mov esi, dword [esp + 0x28]
push ebx
push esi
call fcn.0047a610
push ebx
push esi
mov dword [esp + 0x24], eax
call fcn.0047a610
add esp, 0x10
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 0
je 0x4b8f9a
test eax, eax
je 0x4b8f9a
movzx eax, byte [eax]
push eax
call fcn.0048c0b0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov byte [ecx], al
mov ebx, dword [esp + 0x4c]
push 0x2e
push ebx
call fcn.004d8800
mov edi, eax
add esp, 8
mov esi, edi
sub esi, ebx
test edi, edi
je 0x4b8f83
cmp esi, 1
jb 0x4b8f83
lea eax, [esi + 1]
push eax
push ebx
call fcn.0047a610
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b8f9a
cmp dword [esp + 0x1c], 0
mov byte [esi + eax], 0
jne 0x4b8b24
inc edi
push 0x2e
push edi
call fcn.004d8800
mov esi, eax
add esp, 8
sub esi, edi
test eax, eax
je 0x4b8b1a
cmp esi, 1
jb 0x4b8b1a
lea eax, [esi + 1]
push eax
push edi
call fcn.0047a610
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4b8f9a
mov byte [esi + edi], 0
jmp 0x4b8b28
push str.region_missing_in_parameters_or_hostname
jmp 0x4b8f88
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
call fcn.004e055c
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0049bad0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x4b8f9a
lea eax, [esp + 0x74]
push eax
push str._Y_m_dT_H_M_SZ
lea eax, [esp + 0xac]
push 0x11
push eax
call fcn.004e85c5
add esp, 0x10
test eax, eax
je 0x4b8f9a
movq xmm0, qword [esp + 0xa4]
mov eax, dword [esp + 0x54]
movq qword [esp + 0x98], xmm0
mov byte [esp + 0xa0], 0
test eax, eax
je 0x4b8bde
push 0x3a
push eax
call fcn.004d8800
add esp, 8
test eax, eax
jne 0x4b8bae
lea ebp, [eax + 2]
jmp 0x4b8f9a
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4b8bae
cmp cl, 9
je 0x4b8bae
lea ecx, [esp + 0xa4]
push ecx
push dword [esp + 0x18]
push ebx
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.0048cc80
add esp, 0x14
mov ecx, str.content_type_host_x__s_date
jmp 0x4b8bfd
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x18]
push ebx
push str.host:_s_nx__s_date:_s_n
call fcn.0048cc80
add esp, 0x10
mov ecx, str.host_x__s_date
push dword [esp + 0x14]
mov dword [esp + 0x38], eax
push ecx
call fcn.0048cc80
add esp, 8
mov esi, eax
cmp dword [esp + 0x34], 0
je 0x4b8f7d
test esi, esi
je 0x4b8f7d
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x18c], 0
mov ecx, dword [ebx + 0x188]
jg 0x4b8c4c
jl 0x4b8c3c
test ecx, ecx
jae 0x4b8c4c
mov ecx, dword [esp + 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8c43
sub ecx, edx
push ecx
push dword [esp + 0x54]
lea eax, [esp + 0x100]
push eax
call fcn.004c14a0
push 0x41
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.004b9040
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x78]
push ebx
call fcn.00495ea0
mov eax, dword [ebx + 0xc94]
mov ecx, 0x53173e
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x140]
push eax
push esi
push dword [esp + 0x64]
push ecx
push dword [ebx + 0xc90]
push dword [esp + 0x98]
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.0048cc80
add esp, 0x44
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x4b8f9a
push dword [esp + 0x28]
push str._s4_request
call fcn.0048cc80
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x4b8f9a
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xa0]
push edi
push eax
push str._s__s__s__s
call fcn.0048cc80
add esp, 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x4b8f9a
mov edi, dword [esp + 0x3c]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8d30
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push edi
push eax
call fcn.004c14a0
push 0x41
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.004b9040
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0xc4]
push eax
push edi
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.0048cc80
add esp, 0x2c
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x4b8f9a
push dword [esp + 0x60]
push edi
push str._s4_s
call fcn.0048cc80
add esp, 0xc
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x4b8f9a
lea ecx, [esp + 0x98]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8dc1
mov ebp, dword [esp + 0x48]
sub ecx, edx
mov edx, ebp
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b8dd3
lea eax, [esp + 0xb8]
sub edx, edi
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push edx
push ebp
push 0x5259c4
call fcn.004c1270
mov ebp, eax
mov dword [esp + 0x28], esi
add esp, 0x18
test ebp, ebp
jne 0x4b8f9a
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8e13
lea eax, [esp + 0xd8]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x5259c4
call fcn.004c1270
mov ebp, eax
mov dword [esp + 0x28], esi
add esp, 0x18
test ebp, ebp
jne 0x4b8f9a
mov ebp, dword [esp + 0x2c]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8e54
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xe8]
push eax
push 0x5259c4
call fcn.004c1270
mov ebp, eax
mov dword [esp + 0x28], esi
add esp, 0x18
test ebp, ebp
jne 0x4b8f9a
mov ebp, dword [esp + 0x40]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8e95
lea eax, [esp + 0xd8]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x5259c4
call fcn.004c1270
mov ebp, eax
mov dword [esp + 0x28], esi
add esp, 0x18
test ebp, ebp
jne 0x4b8f9a
mov ebp, dword [esp + 0x44]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8ed6
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push ebp
push 0x20
lea eax, [esp + 0xe8]
push eax
push 0x5259c4
call fcn.004c1270
mov ebp, eax
mov dword [esp + 0x28], esi
add esp, 0x18
test ebp, ebp
jne 0x4b8f9a
push 0x41
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.004b9040
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x12c]
push eax
push esi
push dword [esp + 0x54]
push dword [esp + 0x84]
push edi
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_nX__s_Date:__s_r_n
call fcn.0048cc80
mov edi, eax
mov dword [esp + 0x3c], esi
add esp, 0x2c
test edi, edi
je 0x4b8f9a
push dword [ebx + 0xcd0]
call dword [0x55f374]
add esp, 4
mov dword [ebx + 0xcd0], edi
mov byte [ebx + 0x9ac], 1
mov dword [esp + 0x10], esi
jmp 0x4b8f9a
push str.service_missing_in_parameters_or_hostname
mov ebx, dword [esp + 0x28]
push ebx
call fcn.00487ae0
mov ebp, 3
add esp, 8
push dword [esp + 0x28]
call dword [0x55f374]
push dword [esp + 0x34]
call dword [0x55f374]
push dword [esp + 0x1c]
call dword [0x55f374]
push dword [esp + 0x24]
call dword [0x55f374]
push dword [esp + 0x2c]
call dword [0x55f374]
push dword [esp + 0x40]
call dword [0x55f374]
push dword [esp + 0x4c]
call dword [0x55f374]
push dword [esp + 0x2c]
call dword [0x55f374]
push dword [esp + 0x5c]
call dword [0x55f374]
push dword [esp + 0x64]
call dword [0x55f374]
push dword [esp + 0x60]
call dword [0x55f374]
push dword [esp + 0x70]
call dword [0x55f374]
push dword [esp + 0x78]
call dword [0x55f374]
mov ecx, dword [esp + 0x190]
add esp, 0x34
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d635c
add esp, 0x150
ret