joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a410
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x150
mov rsi, rcx
test rcx, rcx
jne 0x14003a42c
xor eax, eax
add rsp, 0x150
pop rsi
ret
mov qword [rsp + 0x160], rbx
xor edx, edx
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
xor edi, edi
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003a4b2
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14003a4a0
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x14003a4a0
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003a480
mov rbp, qword [rsp + 0x168]
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rsi
ret

Function at 0x14003a4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r15, qword [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rsi, rax
test eax, eax
jg 0x14003a526
xor al, al
jmp 0x14003a616
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rdi
mov rdx, rbp
call fcn.14003a640
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
jne 0x14003a563
xor dil, dil
jmp 0x14003a5d1
mov ebp, r12d
sub rdi, rbx
sar rdi, 3
test rdi, rdi
je 0x14003a5ce
movsxd r14, esi
mov rsi, rbx
nop dword [rax + rax]
mov edx, dword [rsi]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov rcx, qword [0x14016b108]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, r15
mov rdx, qword [rsi]
mov rcx, qword [0x14016b108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc ebp
lea rsi, [rsi + 8]
movsxd rax, ebp
cmp rax, rdi
jb 0x14003a580
mov dil, 1
test rbx, rbx
je 0x14003a612
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003a60a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a60a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14010eda4
movzx eax, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14003acc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push r15
mov eax, 0x13d8
call fcn.14010f4f0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x14003acf0
mov r15, qword [0x14016b110]
xor ebp, ebp
mov rax, qword [0x14016b118]
sub rax, r15
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x14003af48
movss xmm4, dword [0x14014b030]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, ebp
mov qword [rsp + 0x13f8], rsi
mov rsi, qword [0x14016b128]
mov qword [rsp + 0x1400], rdi
mov qword [rsp + 0x13d0], r12
mov r12, qword [0x14016b140]
mov qword [rsp + 0x13c8], r13
mov r13, qword [0x14016b030]
mov qword [rsp + 0x13c0], r14
mov r14d, ebp
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x14014abf0]
nop dword [rax]
movss xmm1, dword [rsi + rbx]
lea rdi, [rsi + rbx]
mov eax, dword [r12 + r14]
xorps xmm2, xmm2
movss xmm0, dword [r15 + rbx]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, eax
addsd xmm1, xmm0
movss xmm0, dword [r15 + rbx + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [r15 + rbx], xmm3
movss xmm1, dword [rdi + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [r15 + rbx + 4], xmm0
comiss xmm5, xmm1
ja 0x14003ae1b
mov rax, qword [r13 + 0x3ea0]
addss xmm3, xmm2
comiss xmm3, dword [rax + 0x20]
ja 0x14003ae1b
movss xmm1, dword [rdi + 4]
jmp 0x14003ae72
movss xmm0, dword [rsi + rbx]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rsi + rbx], xmm0
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x14003ae58
lea rcx, [rsp + 0x20]
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x14003ae40
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rdi + 4], xmm1
movss xmm3, dword [r15 + rbx + 4]
movaps xmm0, xmm3
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x14003ae96
mov rax, qword [r13 + 0x3ea0]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x24]
jbe 0x14003aee8
xorps xmm1, xmm4
lea rcx, [rsp + 0x20]
movss dword [rdi + 4], xmm1
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x14003aece
lea rcx, [rsp + 0x20]
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x14003aeb6
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + rbx], xmm0
mov rcx, qword [0x14016b118]
inc ebp
sub rcx, qword [0x14016b110]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, ebp
cmp rax, rcx
jb 0x14003ada0
movaps xmm6, xmmword [rsp + 0x13b0]
mov r14, qword [rsp + 0x13c0]
mov r13, qword [rsp + 0x13c8]
mov r12, qword [rsp + 0x13d0]
mov rdi, qword [rsp + 0x1400]
mov rsi, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
add rsp, 0x13d8
pop r15
pop rbp
ret
Function at 0x14003b2f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x13b0
call fcn.14010f4f0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x14003b320
mov dword [rsp + 0x20], 0x270
mov edi, Ordinal_301
mov esi, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x14003b38a
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x14003b370
shr rax, 0x20
lea rcx, [rsp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.140044530
mov ecx, eax
mov rbx, rdi
movaps xmm1, xmm0
imul rax, rcx, 0x7bd
cmp eax, 0x7bd
jae 0x14003b3da
cmp eax, 0x330
jae 0x14003b3da
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.140044530
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x14003b3c0
mov rdx, qword [0x14016b118]
shr rax, 0x20
cmp rdx, qword [0x14016b120]
movss dword [rsp + 0x13dc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13d8], xmm0
je 0x14003b421
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x14016b118], 8
movsd qword [rsp + 0x13d8], xmm0
jmp 0x14003b435
lea r8, [rsp + 0x13d8]
lea rcx, [0x14016b110]
call fcn.140043fa0
lea rcx, [rsp + 0x20]
call fcn.140044530
mov eax, eax
lea rcx, [rsp + 0x20]
add rax, rax
shr rax, 0x20
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140044530
mov rdx, qword [0x14016b130]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rsp + 0x13e4], xmm1
shr rcx, 0x20
test ecx, ecx
cmove eax, esi
cmp rdx, qword [0x14016b138]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13e0], xmm0
je 0x14003b4b6
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x14016b130], 8
movsd qword [rsp + 0x13e0], xmm0
jmp 0x14003b4ca
lea r8, [rsp + 0x13e0]
lea rcx, [0x14016b128]
call fcn.140043fa0
mov rdx, qword [0x14016b148]
cmp rdx, qword [0x14016b150]
mov dword [rsp + 0x13d0], 3
je 0x14003b4f5
mov dword [rdx], 3
add qword [0x14016b148], 4
jmp 0x14003b502
lea r8, [rsp + 0x13d0]
call fcn.140043df0
lea rdi, [rbx - 1]
test rdi, rdi
jne 0x14003b351
add rsp, 0x13b0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140040700
Capabilities:
Encode data using xor
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movdqa xmm0, xmmword [0x14014ae80]
xor edi, edi
mov eax, reloc.WS2_32.dll_listen
mov edx, edi
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x140040757
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x140040740
mov byte [rbp + rax - 0x45], dil
mov edx, edi
lea rax, [rbp - 0x45]
mov dword [rbp - 0x45], 0xd8addedd
mov qword [rbp - 0x31], rax
mov eax, 0xa
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x41], 0xefc0efcb
mov dword [rbp - 0x3d], 0x8bf8cc
test eax, eax
je 0x1400407a7
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x140040790
movdqa xmm0, xmmword [0x14014adf0]
mov edx, edi
mov byte [rbp + rax - 0x45], dil
lea rax, [rbp - 0x45]
mov qword [rbp - 0x29], rax
mov eax, ntohs
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x1400407e7
nop
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x1400407d0
mov byte [rbp + rax - 0x45], dil
mov rbx, rdi
lea rax, [rbp - 0x45]
mov qword [rbp - 0x21], rax
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x31]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x140040850
inc rbx
cmp rbx, 3
jl 0x140040800
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x19]
call fcn.140040880
mov rcx, rax
call fcn.1400434d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400406b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400434d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r9, [rcx + 4]
xor edx, edx
test eax, eax
je 0x1400434f0
nop dword [rax]
lea r8d, [rdx - 0x7f]
xor byte [rdx + r9], r8b
inc edx
mov eax, dword [rcx]
cmp edx, eax
jb 0x1400434e0
mov ecx, eax
mov rax, r9
mov byte [rcx + r9], 0
ret
Function at 0x140044530
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140044591
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140044550
mov ecx, dword [r9]
jmp 0x140044678
cmp ecx, 0x4e0
jb 0x140044678
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400445b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140044600
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140056500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140045190
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140056556
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400565ad
mov ebp, 0x4b0000
jmp 0x1400565bb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140047770
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400565d1
mov eax, r12d
jmp 0x1400565da
mov edx, edi
mov ecx, ebp
call fcn.140047770
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400565f6
shl esi, 0x10
mov ecx, esi
jmp 0x1400566e5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x140056654
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140045190
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140056644
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140047640
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140045190
add ebx, eax
jmp 0x1400566ee
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x140056661
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400566a0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140045190
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400566a5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140047640
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140045190
add ebx, eax
jmp 0x1400566ee
cmp eax, r12d
jge 0x1400566de
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140045190
sub ebp, eax
sub r15d, esi
je 0x1400566de
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140047640
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140045190
add ebx, eax
jmp 0x1400566ee
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140045190
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.140045190
Function at 0x1400a27a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140161088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400a293c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400a293c
cmp r10d, r14d
jne 0x1400a2840
sub rbx, 0x10
jmp 0x1400a2984
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400a28b2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400a2874
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400a287c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400a289b
movzx edx, r11b
mov rcx, rsi
call fcn.1400a3950
test al, al
jne 0x1400a2995
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400a3fc0
test al, al
jne 0x1400a2995
mov edx, dword [rsi + 0x64]
lea r9, [0x1400a4320]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400a28de
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400a2620
jmp 0x1400a2932
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400a2620
test dil, dil
je 0x1400a292a
cmp byte [rsi + 0x6a], 0
jne 0x1400a292a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400a2995
sub rbx, 0x10
jmp 0x1400a2984
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400a2999
mov ebp, dword [rbx]
jmp 0x1400a2800
mov al, 1
jmp 0x1400a29a2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14010f4c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400a8cf0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400a8d0c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a8d60
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400a8e85
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400a8e85
test rax, rax
je 0x1400a8e85
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400a8e85
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400a8dfa
lea rax, [0x1400a8ee0]
jmp 0x1400a8e53
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400a8e85
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a8e73
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400a8e20
lea rax, [0x1400a8eb0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400a8e9a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400aa470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400aa47b
xor eax, eax
ret
lea r11, [0x14012e850]
not ecx
cmp r8d, 8
jb 0x1400aa551
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400aa4a0
test r8d, r8d
je 0x1400aa57d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400aa560
not ecx
mov eax, ecx
ret