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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov edi, dword [ebp + 8]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x64]
mov dword [esp + 0x28], eax
xor esi, esi
dec esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x70], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov al, 0xff
mov byte [esp + 0x150], al
movdqa xmmword [esp + 0x140], xmm0
mov byte [esp + 0x13c], al
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], esi
push 0x74f017
push edi
call fcn.0051dcc0
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov ecx, edi
mov ebx, dword [edi + 0x180]
test ebx, ebx
mov eax, 0x743187
cmove ebx, eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
mov dl, 0xff
mov byte [esp + 0x100], dl
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
mov esi, dword [edi + 0xce4]
mov edi, dword [edi + 0xce8]
test esi, esi
cmove esi, eax
test edi, edi
cmove edi, eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
push str.Authorization
push ecx
call fcn.0051dcc0
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x5072b8
mov dword [esp + 0x44], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x668]
test eax, eax
mov edi, str.aws:amz
cmovne edi, eax
push 0x3a
push edi
call fcn.00650760
add esp, 8
mov ebx, eax
test eax, eax
je 0x5069af
mov esi, ebx
sub esi, edi
jmp 0x5069ba
push edi
call fcn.0066b230
add esp, 4
mov esi, eax
test esi, esi
je 0x506a6b
mov dword [esp + 0x34], ebx
mov ecx, dword [fcn.005f2b30]
lea ebx, [esi + 1]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, dword [fcn.005f2b30]
call dword [section..00cfg]
mov dword [esp + 0x30], ebx
push ebx
call ecx
add esp, 4
mov dword [esp + 0x14], 0x1b
cmp dword [esp + 0x3c], 0
je 0x506ade
test eax, eax
mov ebx, eax
je 0x506b2c
push esi
push edi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x44]
push ebx
call fcn.0051c840
add esp, 0xc
xor eax, eax
mov byte [ebx + esi], al
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
call fcn.0051c7f0
xor eax, eax
add esp, 0xc
mov byte [edi + esi], al
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x506b7d
inc ebx
push 0x3a
push ebx
call fcn.00650760
add esp, 8
test eax, eax
mov dword [esp + 0x30], eax
je 0x506bc6
mov esi, eax
sub esi, ebx
jmp 0x506bd1
push str.first_provider_cant_be_empty
push dword [ebp + 8]
call fcn.00514fc0
add esp, 8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0x2b
xor ebx, ebx
xor edi, edi
xor esi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
jmp 0x5071ac
xor esi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ebx, eax
jmp 0x506b76
xor esi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
xor edi, edi
jmp 0x5071ac
mov edi, dword [esp + 0x30]
push edi
mov ebx, dword [esp + 0x40]
push ebx
call fcn.0051c8e0
add esp, 8
mov esi, eax
push edi
push ebx
call fcn.0051c8e0
mov edi, esi
add esp, 8
mov ebx, eax
test esi, esi
je 0x506dfe
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x506e46
movsx eax, byte [ebx]
push eax
call fcn.0051c5f0
add esp, 4
mov byte [ebx], al
jmp 0x506c89
push ebx
call fcn.0066b230
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
test esi, esi
je 0x506d2c
mov dword [esp + 0x34], ebx
mov ecx, dword [fcn.005f2b30]
lea edi, [esi + 1]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ebx, eax
mov ecx, dword [fcn.005f2b30]
call dword [section..00cfg]
push edi
call ecx
mov edi, ebx
add esp, 4
test ebx, ebx
je 0x506d97
test eax, eax
je 0x506d97
push esi
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x38]
push ebx
push edi
call fcn.0051c840
add esp, 0xc
xor eax, eax
mov dword [esp + 0x10], edi
mov byte [edi + esi], al
push esi
push ebx
mov ebx, dword [esp + 0x28]
push ebx
call fcn.0051c840
add esp, 0xc
movsx eax, byte [ebx]
push eax
call fcn.0051c5f0
add esp, 4
mov byte [ebx], al
xor eax, eax
mov byte [ebx + esi], al
mov esi, dword [esp + 0x30]
test esi, esi
je 0x506c89
inc esi
push 0x3a
push esi
call fcn.00650760
add esp, 8
mov ecx, esi
mov esi, eax
test eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], ecx
je 0x506eaa
mov ebx, esi
sub ebx, ecx
jmp 0x506eb5
mov dword [esp + 0x34], 0
mov edi, dword [ebp + 8]
push 0x2e
mov esi, dword [esp + 0x2c]
push esi
call fcn.00650760
add esp, 8
test eax, eax
je 0x506ddb
mov ecx, esi
mov esi, eax
cmp eax, ecx
je 0x506ddb
mov edi, esi
sub edi, ecx
lea eax, [edi + 1]
push eax
push ecx
call fcn.0051c8e0
add esp, 8
test eax, eax
je 0x506e9d
mov byte [eax + edi], 0
cmp dword [esp + 0x34], 0
mov dword [esp + 0x30], eax
jne 0x506f11
mov dword [esp + 0x20], ebx
inc esi
push 0x2e
push esi
call fcn.00650760
add esp, 8
mov ebx, eax
test eax, eax
mov eax, dword [ebp + 8]
je 0x5070a2
cmp ebx, esi
je 0x5070a2
sub ebx, esi
lea eax, [ebx + 1]
push eax
push esi
call fcn.0051c8e0
add esp, 8
test eax, eax
je 0x507160
mov dword [esp + 0x34], eax
mov byte [eax + ebx], 0
jmp 0x506f0d
push str.second_provider_cant_be_empty
push eax
call fcn.00514fc0
add esp, 8
xor edi, edi
mov dword [esp + 0x14], 0x2b
xor esi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
jmp 0x5071ac
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov esi, eax
jmp 0x506e40
push str.service_missing_in_parameters_or_hostname
push edi
call fcn.00514fc0
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 3
jmp 0x506f3c
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov esi, ebx
mov ebx, dword [esp + 8]
jmp 0x506e90
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov esi, ebx
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], 0
jmp 0x5071ac
mov dword [esp + 0x30], 0
jmp 0x506f3c
push ecx
call fcn.0066b230
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x506f83
lea eax, [ebx + 1]
push eax
push dword [esp + 0x34]
call fcn.0051c8e0
add esp, 8
test eax, eax
je 0x506fae
mov byte [eax + ebx], 0
test esi, esi
mov dword [esp + 0x34], eax
je 0x507099
inc esi
mov ecx, dword [fcn.00663270]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
test eax, eax
je 0x506fb6
cmp byte [eax], 0
mov dword [esp + 0x30], eax
je 0x5070d2
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x78]
push edi
call fcn.006653a6
add esp, 4
lea esi, [esp + 0x50]
push esi
push dword [edi + 4]
push dword [edi]
call fcn.00513130
add esp, 0xc
test eax, eax
je 0x506fff
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov esi, ebx
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x10]
jmp 0x5071ac
push str.region_cant_be_empty
push edi
call fcn.00514fc0
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0x2b
mov dword [esp + 0x30], 0
jmp 0x507168
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
mov dword [esp + 0x38], 0
jmp 0x5071a4
lea eax, [esp + 0x140]
push esi
push str._Y_m_dT_H_M_SZ
push 0x11
push eax
call fcn.006632c4
add esp, 0x10
test eax, eax
je 0x5070c5
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x134], eax
mov byte [esp + 0x13c], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5070ed
push 0x3a
push eax
call fcn.00650760
add esp, 8
test eax, eax
je 0x5072d2
inc eax
movzx ecx, byte [eax]
cmp ecx, 0x20
je 0x507062
cmp ecx, 9
je 0x507062
mov dword [esp + 0x14], str.content_type_host_x__s_date
lea ecx, [esp + 0x140]
push ecx
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0x30]
push eax
push str.content_type:_s_nhost:_s_nx__s_date:_s_n
call fcn.0050d2c0
add esp, 0x14
jmp 0x507113
mov ebx, dword [esp + 0x20]
jmp 0x506c94
push str.region_missing_in_parameters_or_hostname
push eax
call fcn.00514fc0
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 3
jmp 0x507168
mov dword [esp + 0x14], 0
jmp 0x5072da
push str.service_cant_be_empty
push edi
call fcn.00514fc0
add esp, 8
mov dword [esp + 0x14], 0x2b
jmp 0x506fbe
mov dword [esp + 0x14], str.host_x__s_date
lea eax, [esp + 0x140]
push eax
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0x30]
push str.host:_s_nx__s_date:_s_n
call fcn.0050d2c0
add esp, 0x10
mov esi, eax
push edi
push dword [esp + 0x18]
call fcn.0050d2c0
add esp, 8
test esi, esi
mov edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
je 0x507153
test eax, eax
je 0x507153
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18c], 0
js 0x50731d
mov eax, dword [eax + 0x188]
mov ecx, dword [esp + 0xc]
jmp 0x50732c
mov dword [esp + 0x14], 0
jmp 0x506f4c
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x3c]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x34]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x30]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x38]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x28]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x2c]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x24]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x18]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0x1c]
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [esp + 0xc]
call ecx
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0064d372
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], 2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov esi, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x38], 0
jmp 0x506f7a
mov esi, dword [esp + 0xc]
push esi
call fcn.0066b230
mov ecx, esi
add esp, 4
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x110]
push eax
push ecx
push esi
call fcn.00519450
add esp, 0xc
test eax, eax
je 0x507353
mov dword [esp + 0x14], 0
jmp 0x507178
mov edi, 0x41
lea ebx, [esp + 0xc0]
movzx eax, byte [esi]
push eax
push str._02x
push edi
push ebx
call fcn.0050d0c0
add esp, 0x10
add edi, 0xfffffffe
add ebx, 2
inc esi
cmp edi, 1
jne 0x50735f
lea eax, [esp + 0x4c]
lea edi, [esp + 0x48]
push eax
push edi
push dword [esp + 0x20]
mov ebx, dword [ebp + 8]
push ebx
call fcn.00503c80
add esp, 0x10
mov eax, dword [ebx + 0xc8c]
test eax, eax
mov ecx, 0x743187
cmovne ecx, eax
lea esi, [esp + 0xc0]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push ecx
push dword [ebx + 0xc88]
push dword [edi]
push str._s_n_s_n_s_n_s_n_s_n_s
call fcn.0050d2c0
add esp, 0x1c
test eax, eax
je 0x507346
mov edi, eax
push dword [esp + 0x3c]
push str._s4_request
call fcn.0050d2c0
add esp, 8
test eax, eax
mov dword [esp + 0x2c], edi
je 0x507680
lea ecx, [esp + 0x134]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
push ecx
push str._s__s__s__s
call fcn.0050d2c0
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x50768d
push edi
call fcn.0066b230
add esp, 4
lea ebx, [esp + 0x110]
push eax
push edi
push ebx
call fcn.00519450
add esp, 0xc
mov dword [esp + 0x14], 0
test eax, eax
jne 0x507190
mov edi, 0x41
movzx eax, byte [ebx]
push eax
push str._02x
push edi
push esi
call fcn.0050d0c0
add esp, 0x10
add edi, 0xfffffffe
add esi, 2
inc ebx
cmp edi, 1
jne 0x507453
lea edi, [esp + 0xc0]
push edi
push dword [esp + 0x1c]
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x14]
push str._s4_HMAC_SHA256_n_s_n_s_n_s
call fcn.0050d2c0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x50769a
push dword [esp + 0x40]
push dword [esp + 0xc]
push str._s4_s
call fcn.0050d2c0
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
je 0x5076a7
lea ebx, [esp + 0x134]
push ebx
call fcn.0066b230
add esp, 4
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
push esi
call fcn.0066b230
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x40], ecx
push ecx
push dword [esp + 0x18]
push ebx
push eax
push esi
push 0x7519d0
call fcn.004ff5c0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5071a0
mov esi, dword [esp + 0x34]
push esi
call fcn.0066b230
add esp, 4
lea ebx, [esp + 0x80]
push ebx
push eax
push esi
push 0x20
lea eax, [esp + 0xb0]
push eax
push 0x7519d0
call fcn.004ff5c0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5071a0
mov esi, dword [esp + 0x30]
push esi
call fcn.0066b230
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
push eax
push esi
push 0x20
push ebx
push 0x7519d0
call fcn.004ff5c0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5071a0
mov esi, dword [esp + 0x24]
push esi
call fcn.0066b230
add esp, 4
push ebx
push eax
push esi
push 0x20
lea eax, [esp + 0xb0]
push eax
push 0x7519d0
call fcn.004ff5c0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5071a0
mov esi, dword [esp + 0x1c]
push esi
call fcn.0066b230
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
push eax
push esi
push 0x20
push ebx
push 0x7519d0
call fcn.004ff5c0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5071a0
mov ebx, 0x41
mov esi, dword [esp + 0x40]
movzx eax, byte [esi]
push eax
push str._02x
push ebx
push edi
call fcn.0050d0c0
add esp, 0x10
add ebx, 0xfffffffe
add edi, 2
inc esi
mov dword [esp + 0x40], esi
cmp ebx, 1
jne 0x5075e9
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x140]
push ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0x20]
push str.Authorization:__s4_HMAC_SHA256_Credential_s__s__SignedHeaders_s__Signature_s_r_nX__s_Date:__s_r_n
call fcn.0050d2c0
add esp, 0x20
mov dword [esp + 0x14], 0
test eax, eax
je 0x5071a0
mov edi, eax
mov ecx, dword [fcn.005f2b80]
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xcc8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov dword [esi + 0xcc8], edi
mov byte [esi + 0x9a4], 1
jmp 0x5071a0
mov dword [esp + 0x14], 0
jmp 0x507180
mov dword [esp + 0x14], 0
jmp 0x507188
mov dword [esp + 0x14], 0
jmp 0x507190
mov dword [esp + 0x14], 0
jmp 0x507198