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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ebp, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x6c], ebp
xor ebp, ebp
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], edx
test ebx, ebx
je 0x6b402d49
test edi, edi
je 0x6b40315c
test ecx, ecx
je 0x6b40315c
test esi, esi
je 0x6b40315c
test edx, edx
je 0x6b40315c
cmp eax, 1
ja 0x6b403140
test bl, 0xf
jne 0x6b403178
shr ebx, 4
cmp eax, 1
mov esi, edi
mov eax, ecx
mov dword [esp + 0x34], ebx
je 0x6b402d68
cmp edi, ecx
je 0x6b402fd0
lea ecx, [edx + 0x10]
mov edi, edx
mov dword [esp + 0x2c], ecx
test ebx, ebx
je 0x6b403130
mov ecx, dword [edx + 0x14]
shl ebx, 4
mov ebp, dword [edx + 0x10]
add ebx, esi
mov edx, dword [edx + 0x18]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x24], ebx
mov ebx, eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
lea esi, [esi]
xor eax, dword [esi + 0xc]
xor ebp, dword [esi]
xor ecx, dword [esi + 4]
xor edx, dword [esi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
add ebx, 0x10
mov dword [esp + 0x5c], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp], eax
mov dword [esp + 0x64], edx
call sym.libcrypto_1_1.dll_AES_decrypt
mov eax, dword [ebx - 0x10]
xor eax, dword [edi]
mov ecx, dword [ebx - 0xc]
mov edx, dword [ebx - 8]
mov dword [ebx - 0x10], eax
mov ebp, eax
xor ecx, dword [edi + 4]
mov eax, dword [ebx - 4]
mov dword [ebx - 0xc], ecx
xor edx, dword [edi + 8]
mov dword [ebx - 8], edx
xor eax, dword [edi + 0xc]
lea edi, [esi + 0x10]
mov dword [esp + 0x18], edi
mov edi, esi
mov esi, dword [esp + 0x18]
mov dword [ebx - 4], eax
cmp dword [esp + 0x24], esi
jne 0x6b402c90
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
sub ebx, 1
shl ebx, 4
add edx, ebx
add eax, ebx
mov ecx, dword [edx]
mov edi, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [eax]
mov dword [edi + 0x10], edx
mov edi, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x6c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b403194
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, ecx
je 0x6b402e5f
lea edi, [edx + 0x10]
mov eax, edx
mov dword [esp + 0x24], edi
mov edi, ebx
test ebx, ebx
je 0x6b403137
shl edi, 4
mov ebp, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, edi
mov edx, dword [edx + 8]
mov eax, dword [eax + 0xc]
add ebx, esi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
lea esi, [esi]
xor ebp, dword [esi]
mov dword [ebx], ebp
xor ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
xor edx, dword [esi + 8]
mov dword [ebx + 8], edx
xor eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], ebx
add ebx, 0x10
call sym.libcrypto_1_1.dll_AES_encrypt
mov eax, dword [ebx - 0x10]
xor eax, dword [edi]
mov ecx, dword [ebx - 0xc]
mov edx, dword [ebx - 8]
mov dword [ebx - 0x10], eax
mov ebp, eax
xor ecx, dword [edi + 4]
mov eax, dword [ebx - 4]
mov dword [ebx - 0xc], ecx
xor edx, dword [edi + 8]
mov dword [ebx - 8], edx
xor eax, dword [edi + 0xc]
lea edi, [esi + 0x10]
mov dword [esp + 0x18], edi
mov edi, esi
mov esi, dword [esp + 0x18]
mov dword [ebx - 4], eax
cmp esi, dword [esp + 0x20]
jne 0x6b402da8
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
sub eax, 1
shl eax, 4
mov ebx, eax
add edx, eax
mov eax, dword [esp + 0x28]
add eax, ebx
mov ecx, dword [eax]
mov edi, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [edx]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x6b402d49
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0x10]
mov eax, dword [edx]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x14]
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
mov ecx, dword [edx + 8]
mov edi, dword [edx + 0x18]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
test edx, edx
je 0x6b402fa0
shl edx, 4
add edx, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov ebp, edi
mov edi, dword [esp + 0x3c]
lea esi, [esi]
nop
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], ebp
add edi, 0x10
add esi, 0x10
mov ebp, dword [edi - 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov ebx, dword [edi - 4]
xor ecx, ebp
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ebx
mov eax, dword [edi - 0x10]
mov dword [esp + 0x64], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [edi - 0xc]
xor ebx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
xor eax, dword [esp + 0x18]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
xor edx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 4], ecx
mov dword [esp], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ebx
call sym.libcrypto_1_1.dll_AES_encrypt
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x28]
xor eax, dword [esp + 0x5c]
xor ebx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
xor edx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, ebx
mov dword [esp + 0x40], ebx
xor ecx, dword [esp + 0x64]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi - 0xc], edx
mov dword [esi - 0x10], ebx
mov dword [esi - 8], ecx
mov dword [esi - 4], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
cmp esi, dword [esp + 0x4c]
jne 0x6b402ec0
mov dword [esp + 0x44], ecx
mov edi, ebp
mov ebx, eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0xc], ebx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], esi
jmp 0x6b402d49
mov eax, edx
mov edi, dword [edx]
mov ebx, dword [edx + 4]
mov eax, dword [eax + 0x1c]
mov ebp, dword [edx + 8]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov edi, dword [edx + 0xc]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x18], edx
test eax, eax
je 0x6b403104
shl eax, 4
add eax, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov ebp, ebx
mov ebx, dword [esp + 0x28]
lea esi, [esi]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebp
add edi, 0x10
mov ebp, dword [edi - 0xc]
add ebx, 0x10
mov dword [esp + 0x28], esi
mov esi, dword [edi - 8]
mov dword [esp + 0x40], eax
mov eax, dword [edi - 0x10]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x18]
xor ecx, eax
xor edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], esi
mov esi, dword [edi - 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 4], edx
xor eax, dword [esp + 0x18]
xor esi, ebp
mov dword [esp], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
call sym.libcrypto_1_1.dll_AES_decrypt
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x60]
mov esi, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
xor ecx, dword [esp + 0x5c]
xor edx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x68]
mov dword [ebx - 0x10], ecx
mov dword [ebx - 0xc], esi
mov dword [ebx - 8], edx
mov dword [ebx - 4], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
cmp ebx, dword [esp + 0x48]
jne 0x6b403030
mov edi, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ecx
jmp 0x6b402d49
mov eax, ecx
jmp 0x6b402d14
mov edx, dword [esp + 0x24]
jmp 0x6b402e25
mov dword [esp + 8], 0x30
mov dword [esp + 4], 0x6b5c7140
mov dword [esp], str.assertion_failed:__AES_ENCRYPT__enc____AES_DECRYPT__enc_
call sym.libcrypto_1_1.dll_OPENSSL_die
mov dword [esp + 8], 0x2f
mov dword [esp + 4], 0x6b5c7140
mov dword [esp], str.assertion_failed:_in__out__key__ivec
call sym.libcrypto_1_1.dll_OPENSSL_die
mov dword [esp + 8], 0x31
mov dword [esp + 4], 0x6b5c7140
mov dword [esp], str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_1_1.dll_OPENSSL_die
call sym.___stack_chk_fail
lea esi, [esi]