Function at 0x6b5131f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xe0]
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xe4]
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x34], ecx
or ecx, edx
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x48], edx
sete dl
cmp eax, esi
mov eax, 0
sbb eax, edi
mov dword [esp + 0x28], esi
setae al
mov dword [esp + 0x2c], edi
or dl, al
jne 0x6b513810
mov eax, dword [esp + 0x20]
mov ecx, eax
or ecx, dword [esp + 0x24]
je 0x6b513810
mov eax, esi
mov edx, edi
add eax, 0xffffffff
adc edx, 0xffffffff
mov ecx, eax
mov dword [esp + 0x40], eax
mov eax, edx
and ecx, esi
xor esi, esi
mov dword [esp + 0x44], edx
and eax, edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
or eax, ecx
jne 0x6b513812
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp], 0x3fffffff
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call dbg.__udivdi3
cmp eax, dword [esp + 0x34]
mov edi, edx
sbb edi, dword [esp + 0x48]
jb 0x6b513820
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 0x3f
mov edi, esi
shld edx, eax, 4
shl eax, 4
cmp ecx, eax
sbb edi, edx
jb 0x6b51331c
mov ecx, dword [esp + 0x20]
xor eax, eax
xor edx, edx
mov edi, dword [esp + 0x2c]
shl ecx, 4
test cl, 0x20
sete al
setne dl
shl edx, cl
shl eax, cl
cmp dword [esp + 0x28], eax
sbb edi, edx
jae 0x6b5138b0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
imul ecx, edi
imul eax, esi
add ecx, eax
mov eax, esi
mul dword [esp + 0x34]
add edx, ecx
shld edx, eax, 7
shl eax, 7
mov ecx, edx
mov dword [esp + 0x38], eax
mov edx, eax
mov eax, 0x7fffffff
cmp eax, edx
mov eax, 0
mov dword [esp + 0x3c], ecx
sbb eax, ecx
jb 0x6b513860
mov eax, esi
mov edx, edi
mov esi, dword [esp + 0x28]
mov dword [esp], 0xffffffff
mov dword [esp + 8], eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
add esi, 2
mov dword [esp + 4], 0x1ffffff
adc edi, 0
call dbg.__udivdi3
cmp eax, esi
sbb edx, edi
jb 0x6b5138f8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, edx
imul eax, esi
imul ecx, edi
add ecx, eax
mov eax, esi
mul dword [esp + 0x20]
add edx, ecx
shld edx, eax, 7
shl eax, 7
mov ecx, edx
mov esi, eax
mov edx, eax
mov eax, ecx
not esi
cmp esi, dword [esp + 0x38]
not eax
sbb eax, dword [esp + 0x3c]
jb 0x6b513918
mov eax, ebx
or eax, ebp
je 0x6b513850
cmp ebx, 0
ja 0x6b5138a0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
add esi, edx
adc edi, ecx
cmp ebp, esi
sbb ebx, edi
jb 0x6b513928
mov ebx, dword [esp + 0xf0]
mov esi, 1
test ebx, ebx
je 0x6b513812
mov esi, dword [esp + 0x38]
mov dword [esp + 8], 0xf0
mov dword [esp + 4], str.crypto_evp_pbe_scrypt.c
lea eax, [esi + edx]
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov dword [esp + 0x94], eax
test eax, eax
je 0x6b513938
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x98], ebx
call sym.libcrypto_1_1.dll_EVP_sha256
mov edi, dword [esp + 0x94]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_PKCS5_PBKDF2_HMAC
test eax, eax
je 0x6b5138c0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x24]
mov eax, ecx
imul eax, dword [esp + 0x40]
mov ebp, ecx
mov edi, ecx
shl ebp, 7
shld ebx, ecx, 5
add edx, esi
mov dword [esp + 0x70], edx
add edx, ebp
shl ecx, 5
shl eax, 7
mov dword [esp + 0x54], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x84], edx
add edx, ebp
add eax, edi
add ebx, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x50]
add eax, 0xffffffff
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
shl eax, 6
add eax, dword [esp + 0x70]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x64], eax
lea eax, [edx + ecx*4]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x6c], eax
mov eax, ebx
or eax, ecx
mov dword [esp + 0x38], ebp
mov ebp, esi
mov dword [esp + 0x8c], eax
lea esi, [esi]
mov esi, dword [esp + 0x8c]
mov ebx, ebp
test esi, esi
je 0x6b513908
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x40], ebp
mov ebx, dword [esp + 0x4c]
lea esi, [esi]
movzx edi, byte [ebp + eax*4]
mov dword [ebx + eax*4], edi
movzx esi, byte [ebp + eax*4 + 1]
shl esi, 8
or edi, esi
mov dword [ebx + eax*4], edi
movzx esi, byte [ebp + eax*4 + 2]
shl esi, 0x10
or esi, edi
mov dword [ebx + eax*4], esi
movzx edi, byte [ebp + eax*4 + 3]
shl edi, 0x18
or esi, edi
mov edi, dword [esp + 0x54]
mov dword [ebx + eax*4], esi
mov esi, dword [esp + 0x50]
add eax, 1
adc edx, 0
mov ecx, esi
mov esi, edi
xor ecx, eax
xor esi, edx
or esi, ecx
jne 0x6b513580
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x38]
mov esi, 1
xor edi, edi
mov dword [esp + 0x58], ebp
mov ebp, eax
lea esi, [esi]
mov edx, ebp
mov eax, dword [esp + 0x20]
sub edx, ebx
mov ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], edx
mov edx, ecx
call sym._scryptBlockMix
add esi, 1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
adc edi, 0
add ebp, ebx
mov ecx, edi
cmp esi, eax
sbb ecx, edx
jb 0x6b5135f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x88]
call sym._scryptBlockMix
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], ebx
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x80], ebp
or edx, ecx
lea edi, [ecx*4]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x60]
lea esi, [esi]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call dbg.__umoddi3
mov ecx, dword [esp + 0x58]
imul eax, dword [esp + 0x38]
xor edx, edx
add eax, dword [esp + 0x4c]
test ecx, ecx
je 0x6b5136db
lea esi, [esi]
mov ecx, dword [ebx + edx]
xor ecx, dword [eax + edx]
mov dword [ebp + edx], ecx
add edx, 4
cmp dword [esp + 0x40], edx
jne 0x6b5136c8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 4], edx
mov edx, ebp
call sym._scryptBlockMix
add esi, 1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
adc edi, 0
mov ecx, edi
cmp esi, eax
sbb ecx, edx
jb 0x6b513688
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
add ecx, ebp
or eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov esi, ecx
je 0x6b513750
nop
mov eax, dword [edx]
add ebx, 4
add edx, 4
mov byte [ebx - 4], al
mov ecx, eax
mov byte [ebx - 3], ah
shr ecx, 0x10
shr eax, 0x18
mov byte [ebx - 2], cl
mov byte [ebx - 1], al
cmp ebx, esi
jne 0x6b513730
add dword [esp + 0x68], 1
mov ebx, dword [esp + 0x34]
adc dword [esp + 0x6c], 0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add ebp, dword [esp + 0x38]
cmp eax, ebx
mov eax, edx
sbb eax, dword [esp + 0x48]
jb 0x6b513558
call sym.libcrypto_1_1.dll_EVP_sha256
mov ebx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_PKCS5_PBKDF2_HMAC
test eax, eax
je 0x6b5138c0
mov esi, 1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], 0x107
mov dword [esp + 8], str.crypto_evp_pbe_scrypt.c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
jmp 0x6b513812
xor esi, esi
add esp, 0xac
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xae
mov dword [esp + 0xc], str.crypto_evp_pbe_scrypt.c
mov dword [esp + 8], 0xac
mov dword [esp + 4], 0xb5
mov dword [esp], 6
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b513812
mov ebp, 0x2000000
xor ebx, ebx
jmp 0x6b5133eb
mov dword [esp + 0x10], 0xcb
mov dword [esp + 0xc], str.crypto_evp_pbe_scrypt.c
xor esi, esi
mov dword [esp + 8], 0xac
mov dword [esp + 4], 0xb5
mov dword [esp], 6
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0xac
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, 0xffffffff
xor ebx, ebx
jmp 0x6b5133eb
mov dword [esp + 0x10], 0xb9
jmp 0x6b513828
mov dword [esp + 0x10], 0x105
xor esi, esi
mov dword [esp + 0xc], str.crypto_evp_pbe_scrypt.c
mov dword [esp + 8], 0xb5
mov dword [esp + 4], 0xb5
mov dword [esp], 6
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5137dc
mov dword [esp + 0x10], 0xd5
jmp 0x6b513868
mov eax, dword [esp + 0x4c]
jmp 0x6b5135d4
mov dword [esp + 0x10], 0xdc
jmp 0x6b513868
mov dword [esp + 0x10], 0xe8
jmp 0x6b513868
mov dword [esp + 0x10], 0xf2
xor esi, esi
mov dword [esp + 0xc], str.crypto_evp_pbe_scrypt.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0xb5
mov dword [esp], 6
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b513812