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

Disassembly:
sub esp, 0x154
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x150], eax
push ebp
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esp + 0x58], eax
mov eax, dword [eax + 0x64]
push str.Content_Type
push ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x1b
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], eax
call fcn.004bf7a0
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x1a0]
add esp, 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov ecx, 0x62336f
mov dword [esp + 0x44], eax
cmp eax, edi
jne 0x4eb612
mov dword [esp + 0x44], ecx
mov eax, dword [ebp + 0xe4c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], eax
cmp eax, edi
jne 0x4eb634
mov dword [esp + 0x54], ecx
mov eax, dword [ebp + 0xe50]
mov dword [esp + 0x50], eax
cmp eax, edi
jne 0x4eb646
mov dword [esp + 0x50], ecx
xor eax, eax
push str.Authorization
push ebp
mov dword [esp + 0x44], edi
mov byte [esp + 0xa8], 0
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov word [esp + 0xc5], ax
mov byte [esp + 0xc7], al
mov byte [esp + 0xdc], al
mov dword [esp + 0xdd], eax
mov dword [esp + 0xe1], eax
mov dword [esp + 0xe5], eax
mov dword [esp + 0xe9], eax
mov dword [esp + 0xed], eax
mov dword [esp + 0xf1], eax
mov dword [esp + 0xf5], eax
mov word [esp + 0xf9], ax
mov byte [esp + 0xfb], al
call fcn.004bf7a0
add esp, 8
test eax, eax
je 0x4eb706
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00418878
add esp, 0x154
ret
push ebx
mov ebx, dword [ebp + 0x6dc]
push esi
cmp ebx, edi
jne 0x4eb717
mov ebx, str.aws:amz
push 0x3a
push ebx
call fcn.0041cb40
add esp, 8
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x4eb730
mov esi, eax
sub esi, ebx
jmp 0x4eb73e
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4eb735
sub esi, ecx
cmp esi, 1
jae 0x4eb75e
push str.first_provider_cant_be_empty
push ebp
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x10], 0x2b
jmp 0x4ebeb3
lea edi, [esi + 1]
push edi
call dword [0x6434c8]
mov ebp, eax
push edi
mov dword [esp + 0x50], ebp
call dword [0x6434c8]
add esp, 8
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x4ebeb3
test eax, eax
je 0x4ebeb3
push esi
push ebx
push ebp
call fcn.004be400
push esi
push ebx
mov ebx, dword [esp + 0x38]
push ebx
mov byte [esi + ebp], 0
call fcn.004be3c0
add esp, 0x18
cmp dword [esp + 0x54], 0
mov byte [esi + ebx], 0
je 0x4eb90d
mov edi, dword [esp + 0x54]
inc edi
push 0x3a
push edi
call fcn.0041cb40
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4eb7d2
mov esi, ebp
sub esi, edi
jmp 0x4eb7e0
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4eb7d7
sub esi, ecx
cmp esi, 1
jae 0x4eb804
mov ecx, dword [esp + 0x14]
push str.second_provider_cant_be_empty
push ecx
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x10], 0x2b
jmp 0x4ebeb3
lea ebx, [esi + 1]
push ebx
call dword [0x6434c8]
push ebx
mov dword [esp + 0x28], eax
call dword [0x6434c8]
add esp, 8
cmp dword [esp + 0x20], 0
mov dword [esp + 0x2c], eax
je 0x4ebeb3
test eax, eax
je 0x4ebeb3
mov ebx, dword [esp + 0x20]
push esi
push edi
push ebx
call fcn.004be400
push esi
push edi
mov edi, dword [esp + 0x40]
push edi
mov byte [esi + ebx], 0
call fcn.004be400
movzx edx, byte [edi]
push edx
call fcn.004be270
add esp, 0x1c
mov byte [edi], al
mov byte [esi + edi], 0
test ebp, ebp
je 0x4eb948
lea edi, [ebp + 1]
push 0x3a
push edi
call fcn.0041cb40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4eb883
mov esi, ebx
sub esi, edi
jmp 0x4eb893
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb888
sub eax, edx
mov esi, eax
cmp esi, 1
jae 0x4eb8b7
push str.region_cant_be_empty
mov eax, dword [esp + 0x18]
push eax
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x10], 0x2b
jmp 0x4ebeb3
lea ecx, [esi + 1]
push ecx
push edi
call fcn.004ce500
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ebeb3
mov edx, eax
mov byte [esi + edx], 0
test ebx, ebx
je 0x4eb948
inc ebx
push ebx
call dword [0x6434d4]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ebeb3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb8f4
sub eax, edx
cmp eax, 1
jae 0x4eb9d2
push str.service_cant_be_empty
jmp 0x4eb89d
push edi
push ebp
call fcn.004ce500
mov ebx, eax
push edi
push ebp
mov dword [esp + 0x30], ebx
call fcn.004ce500
add esp, 0x10
mov esi, eax
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x4ebeb3
test esi, esi
je 0x4ebeb3
movzx ecx, byte [esi]
push ecx
call fcn.004be270
add esp, 4
mov byte [esi], al
mov ebx, dword [esp + 0x40]
push 0x2e
push ebx
call fcn.0041cb40
mov edi, eax
mov esi, edi
add esp, 8
sub esi, ebx
test edi, edi
je 0x4eba9c
cmp esi, 1
jb 0x4eba9c
lea edx, [esi + 1]
push edx
push ebx
call fcn.004ce500
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ebeb3
cmp dword [esp + 0x18], 0
mov byte [esi + eax], 0
jne 0x4eb9d2
inc edi
push 0x2e
push edi
call fcn.0041cb40
mov esi, eax
add esp, 8
sub esi, edi
test eax, eax
je 0x4eba7d
cmp esi, 1
jb 0x4eba7d
lea ecx, [esi + 1]
push ecx
push edi
call fcn.004ce500
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ebeb3
mov edx, eax
mov byte [esi + edx], 0
lea edx, [esp + 0x6c]
push edx
call fcn.004f3208
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
call fcn.004e3270
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
lea eax, [esp + 0x78]
push eax
push str._Y_m_dT_H_M_SZ
lea ecx, [esp + 0xd0]
push 0x11
push ecx
call fcn.0041b8a6
add esp, 0x10
test eax, eax
je 0x4ebeb3
mov eax, dword [esp + 0xcc]
mov cl, byte [esp + 0xd0]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x64]
mov byte [esp + 0xa4], cl
mov dword [esp + 0x9c], edx
mov byte [esp + 0xa4], 0
test eax, eax
je 0x4ebafc
push 0x3a
push eax
call fcn.0041cb40
add esp, 8
test eax, eax
jne 0x4ebabb
mov dword [esp + 0x10], 2
jmp 0x4ebeb3
mov eax, dword [esp + 0x14]
push str.region_missing_in_parameters_or_hostname
push eax
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x10], 3
jmp 0x4ebeb3
mov ecx, dword [esp + 0x14]
push str.service_missing_in_parameters_or_hostname
push ecx
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x10], 3
jmp 0x4ebeb3
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4ebabb
cmp cl, 9
je 0x4ebabb
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc8]
push edx
push edi
push ecx
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.004b2fe0
mov esi, eax
push edi
push str.content_type_host_x__s_date
mov dword [esp + 0x4c], esi
call fcn.004b2fe0
add esp, 0x1c
jmp 0x4ebb2c
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0xc8]
push edx
push edi
push eax
push str.host:_s_nx__s_date:_s_n
call fcn.004b2fe0
push edi
push str.host_x__s_date
mov esi, eax
mov dword [esp + 0x48], eax
call fcn.004b2fe0
add esp, 0x18
mov dword [esp + 0x28], eax
test esi, esi
je 0x4ebeb3
test eax, eax
je 0x4ebeb3
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1ac], 0
jg 0x4ebb6b
jl 0x4ebb58
cmp dword [eax + 0x1a8], 0
jae 0x4ebb6b
mov eax, dword [esp + 0x4c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebb60
sub eax, edx
jmp 0x4ebb71
mov eax, dword [eax + 0x1a8]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x104]
push edx
call fcn.004f1360
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov ebx, 0x41
call fcn.004eb550
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x80]
push eax
push ecx
push esi
call fcn.004cb010
mov eax, dword [esi + 0xdf4]
add esp, 0x24
test eax, eax
jne 0x4ebbcf
mov eax, 0x62336f
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x11c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esi + 0xdf0]
push eax
push ecx
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.004b2fe0
add esp, 0x1c
mov dword [esp + 0x50], eax
test eax, eax
je 0x4ebeb3
mov edx, dword [esp + 0x48]
push edx
push str._s4_request
call fcn.004b2fe0
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x4ebeb3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push eax
push 0x5dc340
call fcn.004b2fe0
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x4ebeb3
mov esi, dword [esp + 0x50]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebc60
sub eax, edx
push eax
lea ecx, [esp + 0x100]
push esi
push ecx
call fcn.004f1360
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x12c]
push eax
call fcn.004eb550
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0xe4]
push eax
push ecx
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.004b2fe0
add esp, 0x28
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4ebeb3
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
push edx
push eax
push str._s4_s
call fcn.004b2fe0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x4ebeb3
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebcf0
mov edi, dword [esp + 0x44]
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebd04
lea ecx, [esp + 0xa8]
push ecx
push edx
lea edx, [esp + 0xa4]
push edx
sub eax, esi
push eax
push edi
push 0x5dcba0
call fcn.004f1290
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebd42
lea ecx, [esp + 0xdc]
push ecx
sub eax, edx
push eax
push esi
push 0x20
lea edx, [esp + 0xb8]
push edx
push 0x5dcba0
call fcn.004f1290
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebd81
lea ecx, [esp + 0xa8]
push ecx
sub eax, edx
push eax
push esi
push 0x20
lea edx, [esp + 0xec]
push edx
push 0x5dcba0
call fcn.004f1290
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
mov esi, dword [esp + 0x34]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebdc0
lea ecx, [esp + 0xdc]
push ecx
sub eax, edx
push eax
push esi
push 0x20
lea edx, [esp + 0xb8]
push edx
push 0x5dcba0
call fcn.004f1290
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
mov esi, dword [esp + 0x3c]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebe00
lea ecx, [esp + 0xa8]
push ecx
sub eax, edx
push eax
push esi
push 0x20
lea edx, [esp + 0xec]
push edx
push 0x5dcba0
call fcn.004f1290
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ebeb3
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x120]
push ecx
call fcn.004eb550
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xd0]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_nX__s_Date:__s_r_n
call fcn.004b2fe0
mov esi, eax
add esp, 0x28
test esi, esi
je 0x4ebeb3
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xe30]
push eax
call dword [0x6434cc]
add esp, 4
mov dword [edi + 0xe30], esi
mov dword [edi + 0xafc], 1
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x48]
push ecx
call dword [0x6434cc]
mov edx, dword [esp + 0x28]
push edx
call dword [0x6434cc]
mov eax, dword [esp + 0x28]
push eax
call dword [0x6434cc]
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x6434cc]
mov edx, dword [esp + 0x28]
push edx
call dword [0x6434cc]
mov eax, dword [esp + 0x30]
push eax
call dword [0x6434cc]
mov ecx, dword [esp + 0x48]
push ecx
call dword [0x6434cc]
mov edx, dword [esp + 0x44]
push edx
call dword [0x6434cc]
mov eax, dword [esp + 0x70]
push eax
call dword [0x6434cc]
mov ecx, dword [esp + 0x58]
push ecx
call dword [0x6434cc]
mov edx, dword [esp + 0x60]
push edx
call dword [0x6434cc]
mov eax, dword [esp + 0x68]
push eax
call dword [0x6434cc]
mov ecx, dword [esp + 0x74]
push ecx
call dword [0x6434cc]
mov ecx, dword [esp + 0x194]
mov eax, dword [esp + 0x44]
add esp, 0x34
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.00418878
add esp, 0x154
ret