joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4fe53d
push rbp
mov rbp, rsp
sub rsp, 0x50
movabs rdx, 0x7f4c976c61a81f69
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x9a39daec8574e770
mov qword [rsp + 0x24], rdx
movabs rdx, 0x20f8f0e7ff6eff73
mov qword [rsp + 0x2c], rdx
movabs rdx, 0xe111107060d0914
mov qword [rsp + 0x34], rdx
movabs rdx, 0x51507110b130c01
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x20f160c05150711
mov qword [rsp + 0x40], rdx
movabs rdx, 0x215160d13111110
mov qword [rsp + 0x48], rdx
xor eax, eax
jmp 0x4fe4e0
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 - 0x69]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 - 0x69]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
nop dword [rax]
cmp rax, 0x1c
jge 0x4fe50d
movzx edx, byte [rsp + rax + 0x34]
movzx esi, byte [rsp + rax + 0x35]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x18
jae 0x4fe530
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x18
jb 0x4fe4bf
jmp 0x4fe524
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x18
call fcn.00444ce0
add rsp, 0x50
pop rbp
ret
mov eax, esi
mov ecx, 0x18
call fcn.00456b60
mov eax, edi
mov ecx, 0x18
call fcn.00456b60
nop
nop dword [rax]
call fcn.004548e0
jmp fcn.004fe440

Function at 0x4fe560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4fe668
push rbp
mov rbp, rsp
sub rsp, 0x58
movabs rdx, 0xf9c832a53b2d46d6
mov qword [rsp + 0x1c], rdx
movabs rdx, 0xcdb8eb260d74042b
mov qword [rsp + 0x24], rdx
movabs rdx, 0xb632f461016e1344
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x170f0f060e0e06
mov qword [rsp + 0x34], rdx
movabs rdx, 0xc0d110900170f0f
mov qword [rsp + 0x38], rdx
movabs rdx, 0x204001716150805
mov qword [rsp + 0x40], rdx
movabs rdx, 0x130e0b0002070111
mov qword [rsp + 0x48], rdx
movabs rdx, 0x10000209030c000e
mov qword [rsp + 0x50], rdx
xor eax, eax
jmp 0x4fe60b
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 + 0x57]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 + 0x57]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
cmp rax, 0x24
jge 0x4fe638
movzx edx, byte [rsp + rax + 0x34]
movzx esi, byte [rsp + rax + 0x35]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x18
jae 0x4fe65b
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x18
jb 0x4fe5ee
jmp 0x4fe64f
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x18
call fcn.00444ce0
add rsp, 0x58
pop rbp
ret
mov eax, esi
mov ecx, 0x18
call fcn.00456b60
mov eax, edi
mov ecx, 0x18
call fcn.00456b60
nop
call fcn.004548e0
jmp fcn.004fe560
Function at 0x500840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x50098c
push rbp
mov rbp, rsp
sub rsp, 0x70
movabs rdx, 0x1ff5e962e7f5510d
mov qword [rsp + 0x19], rdx
movabs rdx, 0xc9e8d7aa711ff5e9
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x6820c065122303ee
mov qword [rsp + 0x26], rdx
movabs rdx, 0xc50f1a6e6f279e6e
mov qword [rsp + 0x2e], rdx
movabs rdx, 0xc405f50bcc29756f
mov qword [rsp + 0x36], rdx
movabs rdx, 0x211c240114080e0a
mov qword [rsp + 0x3e], rdx
movabs rdx, 0x1220211c24011408
mov qword [rsp + 0x40], rdx
movabs rdx, 0x160a0824060e0b17
mov qword [rsp + 0x48], rdx
movabs rdx, 0x1f0a03081d0f0017
mov qword [rsp + 0x50], rdx
movabs rdx, 0x91f12030c142010
mov qword [rsp + 0x58], rdx
movabs rdx, 0x207060e051a1f22
mov qword [rsp + 0x60], rdx
movabs rdx, 0x240f1b01230c0d14
mov qword [rsp + 0x68], rdx
xor eax, eax
jmp 0x500924
movzx r9d, byte [rsp + rsi + 0x19]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x18]
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0x32
jge 0x50095c
movzx edx, byte [rsp + rax + 0x3e]
movzx esi, byte [rsp + rax + 0x3f]
mov edi, edx
xor edx, esi
add edx, eax
nop word [rax + rax]
cmp rdi, 0x25
jae 0x50097f
movzx r8d, byte [rsp + rdi + 0x19]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x18]
cmp rsi, 0x25
jb 0x50090a
jmp 0x500973
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x25
call fcn.00444ce0
add rsp, 0x70
pop rbp
ret
mov eax, esi
mov ecx, 0x25
call fcn.00456b60
mov eax, edi
mov ecx, 0x25
call fcn.00456b60
nop
call fcn.004548e0
jmp fcn.00500840

Function at 0x503600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5036c6
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x4661b16365336523
mov qword [rsp + 0x1b], rdx
mov byte [rsp + 0x23], 0xbc
movabs rdx, 0x705020807050208
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x7020802
xor eax, eax
nop
jmp 0x503660
movzx r9d, byte [rsp + rsi + 0x1b]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x5d]
mov byte [rsp + rdi + 0x1b], dl
mov byte [rsp + rsi + 0x1b], r8b
add rax, 2
nop dword [rax]
cmp rax, 0xc
jge 0x503692
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 9
jae 0x5036b7
movzx r8d, byte [rsp + rdi + 0x1b]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x5d]
cmp rsi, 9
jb 0x503642
jmp 0x5036ab
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 9
nop
call fcn.00444ce0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 9
call fcn.00456b60
mov eax, edi
mov ecx, 9
nop
call fcn.00456b60
nop
call fcn.004548e0
jmp fcn.00503600
Function at 0x509920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x509ac7
push rbp
mov rbp, rsp
sub rsp, 0x98
movabs rdx, 0xb28f556c45cb5ad3
mov qword [rsp + 0x1c], rdx
movabs rdx, 0xd2f761bc7e1fb165
mov qword [rsp + 0x24], rdx
movabs rdx, 0x6127d2f761bc7e1f
mov qword [rsp + 0x26], rdx
movabs rdx, 0x85746315741664f3
mov qword [rsp + 0x2e], rdx
movabs rdx, 0x78d8e16c55acca64
mov qword [rsp + 0x36], rdx
movabs rdx, 0xf1636578da856440
mov qword [rsp + 0x3e], rdx
movabs rdx, 0xbe61c72cedfcdfc6
mov qword [rsp + 0x46], rdx
movabs rdx, 0x84e539eb2064bd68
mov qword [rsp + 0x4e], rdx
movabs rdx, 0x222a2f0612371130
mov qword [rsp + 0x56], rdx
movabs rdx, 0x2d1c222a2f061237
mov qword [rsp + 0x58], rdx
movabs rdx, 0x1b19332a21210f1f
mov qword [rsp + 0x60], rdx
movabs rdx, 0x24362f2b2420000b
mov qword [rsp + 0x68], rdx
movabs rdx, 0x2b242c0e1d040712
mov qword [rsp + 0x70], rdx
movabs rdx, 0x3138011d09391201
mov qword [rsp + 0x78], rdx
movabs rdx, 0x20414202b2b1625
mov qword [rsp + 0x80], rdx
movabs rdx, 0x1d0c210a29113630
mov qword [rsp + 0x88], rdx
movabs rdx, 0x121032102e160900
mov qword [rsp + 0x90], rdx
xor eax, eax
jmp 0x509a63
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 - 0x53]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 - 0x53]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
cmp rax, 0x42
jge 0x509a90
movzx edx, byte [rsp + rax + 0x56]
movzx esi, byte [rsp + rax + 0x57]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x3a
jae 0x509aba
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x3a
jb 0x509a46
jmp 0x509aae
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x3a
nop dword [rax]
call fcn.00444ce0
add rsp, 0x98
pop rbp
ret
mov eax, esi
mov ecx, 0x3a
call fcn.00456b60
mov eax, edi
mov ecx, 0x3a
call fcn.00456b60
nop
call fcn.004548e0
jmp fcn.00509920
Function at 0x140027e40
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f90
cmp rax, 0xffffffffffffffff
je 0x140027f90
xor edi, edi
test rbp, rbp
jle 0x140027f3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dec8
mov rbx, rax
test rax, rax
jne 0x140027ec8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f31
mov edx, 0x8000
mov ecx, r14d
call fcn.140015978
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c5a0
cmp eax, 0xffffffff
je 0x140027f11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ed8
mov edx, r15d
mov ecx, r14d
call fcn.140015978
jmp 0x140027f31
cmp byte [rsi + 0x38], dil
je 0x140027f28
cmp dword [rsi + 0x34], 5
jne 0x140027f28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f88
jmp 0x140027fa4
jns 0x140027fa4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8c4
cmp rax, 0xffffffffffffffff
jne 0x140027f5c
cmp byte [rsi + 0x30], dil
je 0x140027fa4
mov edi, dword [rsi + 0x2c]
jmp 0x140027fa4
mov ecx, r14d
call fcn.14001706c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027fa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027fa4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f9d
mov eax, dword [rsi + 0x2c]
jmp 0x140027fa2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14085ee4c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14085ee56
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14085ee7f
pop rbp
sub rbp, 0x33
sub rbp, 0x85ee4c
sub rsp, 0x20
jmp 0x14085ee9e
mov rax, 0x85ee4c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xfffffffff214badf
mov edx, 0x1030f214
xor byte [rax], dl
inc rax
dec rcx
jne 0x14085eebd
jmp 0x14085eed4
xchg edi, eax
push rsi
push rsp
push rsi
jrcxz 0x14085eeba
invalid
Function at 0x140001040
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140001d20
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
add rsp, 0xe8
ret

Function at 0x1400010d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, 0x400
call fcn.140006dd4
mov qword [rsp + 0x20], rax
mov ecx, 0x400
call fcn.140006dd4
mov qword [rsp + 0x28], rax
mov r8d, 0x400
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.140001d20
mov rdx, qword [rsp + 0x20]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.140001240
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140001040
mov rcx, qword [rsp + 0x20]
call fcn.140006dc0
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400019fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a46
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a46
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a46
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a46
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a46
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a48
xor al, al
add rsp, 0x28
ret

Function at 0x1400079fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400077ec
Function at 0x14000c330
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c360
xor eax, eax
jmp 0x14000c423
mov rbp, rbx
cmp word [rax], si
je 0x14000c385
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c36c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c368
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c280
movsxd r14, eax
test eax, eax
jne 0x14000c3c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000c359
mov rcx, r14
call fcn.1400087ec
mov rdi, rax
test rax, rax
jne 0x14000c3dc
xor ecx, ecx
call fcn.1400087b0
jmp 0x14000c3b8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c280
test eax, eax
jne 0x14000c40d
mov rcx, rdi
call fcn.1400087b0
jmp 0x14000c417
xor ecx, ecx
call fcn.1400087b0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400011c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x20
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x140001259
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea ecx, [rbp + 1]
lea r8, [rbx + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140001231
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x10
test al, 2
jne 0x14000127a
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400012e5
mov rcx, rbx
call fcn.14000fd50
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.14000fd50
mov eax, eax
or rsi, rax
jmp 0x1400012f5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000fba0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000132a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000131f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001332
mov rcx, rdi
call fcn.14000f4d0
test r14, r14
jne 0x1400012b0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000fd50
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 0x14000fdb1
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 0x14000fd70
mov ecx, dword [r9]
jmp 0x14000fe98
cmp ecx, 0x4e0
jb 0x14000fe98
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 0x14000fdd0
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 0x14000fe20
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 0x140010a30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010a7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010a7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010a7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010a7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140010a7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140010a7c
xor al, al
add rsp, 0x28
ret
Function at 0x140064f00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140064f0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140064f1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140064f05
lea eax, [rcx + 1]
jmp 0x140064f2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140064f3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140064f24
sub eax, 3
jb 0x140064f5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140064fad
sar eax, 1
movsxd rbp, eax
jb 0x140064f94
jmp 0x140064f6c
add ebx, ebx
jne 0x140064f6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064f94
inc ecx
add ebx, ebx
jne 0x140064f7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064f94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140064f8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140064f7c
add ecx, 2
jmp 0x140064f99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140064ec2
jmp 0x140064f0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28a00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140064ff9
cmp rsi, rcx
jae 0x140065001
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140064fe0
cmp al, 0x8f
ja 0x140064fe0
cmp byte [rsi - 2], 0xf
je 0x140064fe6
sub al, 0xe8
cmp al, 1
ja 0x140064fca
cmp rsi, rcx
jae 0x140065001
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140064fd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140065001
lodsb al, byte [rsi]
jmp 0x140064fe0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62000]
mov eax, dword [rdi]
or eax, eax
je 0x14006506a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x744d8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14006500e
jns 0x140065043
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14006504d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140065064
mov qword [rbx], rax
add rbx, 8
jmp 0x14006502e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400650a4
cmp al, 0xef
ja 0x140065096
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140065076
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140065085
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400650f8
sub rsp, 0xffffffffffffff80
jmp 0x14000b340
Function at 0x140001964
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor esi, esi
mov r14, r8
mov r15, rdx
mov rbx, rcx
test rcx, rcx
je 0x140001a11
mov rax, qword [rcx + 0x78]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140001a11
movzx edi, word [rcx + 0x28]
lea ecx, [rsi + 0x40]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r15], rax
test rax, rax
je 0x140001a20
mov rcx, qword [rbx + 0x78]
mov r9, r14
and qword [rsp + 0x20], rsi
mov r8d, edi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test eax, eax
je 0x1400019e2
mov edx, dword [r14]
cmp edx, edi
je 0x140001a20
lea rbp, str.ERROR_kull_m_busylight_device_read_raw____device__u___u_byte_s__readed___u_wanted_n
jmp 0x1400019f4
lea rbp, str.ERROR_kull_m_busylight_device_read_raw____device__u__ReadFile__0x_08x__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rbx + 8]
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.14000be84
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_LocalFree]
and dword [r14], 0
mov qword [r15], rax
jmp 0x140001a20
mov edx, dword [rcx + 8]
lea rcx, str.ERROR_kull_m_busylight_device_read_raw____device__u__Invalid_Device_Busy_Handle_n
call fcn.14000be84
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret