joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002788
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000342d
lea rbx, [0x1400517c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003414
cmp r10, 2
jb 0x140003414
cmp byte [r9], r8b
jne 0x140003414
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400033f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000346f
lea rbx, [0x1400517c0]
cmp r8b, 0x23
jne 0x140003453
cmp byte [r9], r8b
jne 0x140003453
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003440
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003630
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000365f
mov r8d, 0x78d
lea rdx, [0x14004b940]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x14000366b
mov qword [rsi], 0
lea rdx, [0x140051008]
mov rcx, rbx
call fcn.140003480
mov rbx, rax
test rax, rax
jne 0x14000368d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003778
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003778
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003778
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003778
cmp rdi, 0xffffffffffffffff
je 0x140003778
mov rax, qword [0x14006b728]
test rax, rax
je 0x140003709
inc dword [rax + 0xfc]
mov rdx, qword [0x14006b718]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbp, rax
test rax, rax
je 0x140003778
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003765
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006b728]
test rax, rax
je 0x140003754
dec dword [rax + 0xfc]
mov rdx, qword [0x14006b718]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140003781
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003773
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003783
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140006b80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xf0]
mov rbx, rcx
movsxd rdi, edx
test eax, eax
jg 0x140006bbe
mov r8d, 0x715
lea rdx, [0x14004b710]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xf0]
movsxd rcx, eax
lea rdx, [0x1400517c0]
mov rax, qword [rbx + 0xf8]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x14006b728]
not ebx
cmp dword [rcx + 0x3f24], ebx
jne 0x140006c38
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001df30
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006c50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0xf0]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x140006c8a
mov r8d, 0x715
lea rdx, [0x14004b710]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xf0]
movss xmm2, dword [rbx + 0x110]
lea r9, [0x1400517c0]
movss xmm0, dword [rdi]
movss xmm3, dword [rbx + 0x114]
subss xmm0, xmm2
movss xmm1, dword [rdi + 4]
movsxd rcx, eax
subss xmm1, xmm3
mov rax, qword [rbx + 0xf8]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rdi + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movzx eax, byte [rsp + 0x20]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140016ab0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14006b728]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x140016b02
cmp byte [rbx + 0x4a76], 0
jne 0x140016b02
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003260
test dil, 1
je 0x140016c28
jmp 0x140016b8b
movss xmm1, dword [rbx + 0x38a0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140059234]
xor eax, eax
mulss xmm1, dword [0x140059210]
addss xmm0, dword [rbx + 0xe04]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe08]
mov qword [rbx + 0x47c8], rax
mov dword [rbx + 0x47b4], 1
movss dword [rbx + 0x47c0], xmm0
movss dword [rbx + 0x47c4], xmm1
movss xmm0, dword [rbx + 0x3908]
mulss xmm0, dword [0x140059154]
or dword [rbx + 0x47b0], 0x41
movss dword [rbx + 0x4810], xmm0
movsx r9d, word [rbx + 0x5b9a]
call fcn.140003260
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016be0
lea r11, [0x1400517c0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140016bc3
cmp byte [r8], r9b
jne 0x140016bc3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016bb0
not ecx
call fcn.14000b600
test rax, rax
je 0x140016c28
cmp byte [rax + 0xb2], 0
je 0x140016c28
mov byte [rax + 0xb9], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b9a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b9a]
call fcn.140003260
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e610
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001c6c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001c767
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001c71a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ecf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003d80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14006b720]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001c76f
mov rcx, rbx
call fcn.140003d80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001cd10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x14006b728]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001cd74
lea r10, [0x1400517c0]
cmp r8b, 0x23
jne 0x14001cd57
cmp byte [rdx], r8b
jne 0x14001cd57
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001cd44
mov eax, dword [r14 + 0x5bf8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001cdd5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001cd9a
cmp edi, eax
jl 0x14001cdb4
mov r8d, 0x70c
lea rdx, [0x14004b710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r14 + 0x5c00]
cmp dword [rdx + rbp + 8], ebx
je 0x14001cdf2
mov eax, dword [r14 + 0x5bf8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001cd91
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001cdff
cmp edi, dword [r14 + 0x5bf8]
jl 0x14001ce20
mov r8d, 0x70c
lea rdx, [0x14004b710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r14 + 0x5c00]
movsxd rax, edi
lea rcx, [rax + rax*8]
lea rax, [rdx + rcx*8]
jmp 0x14001cdd7
Function at 0x1400445b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140012650
cmp byte [rax], 0
je 0x140044649
xor edx, edx
mov ecx, 0x210
call fcn.140014e40
test al, al
je 0x140044649
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140044649
mov rbx, qword [0x14006b728]
test rbx, rbx
jne 0x140044618
mov r8d, 0xfe1
lea rdx, [0x14004b940]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14006b728]
cmp byte [rbx + 0x37b1], 0
je 0x140044635
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002a80
mov dword [rbx + 0x388], 0x210
mov dword [rbx + 0x948], 0xa0
mov ecx, 0x214
call fcn.140012650
cmp byte [rax], 0
je 0x1400446dc
xor edx, edx
mov ecx, 0x214
call fcn.140014e40
test al, al
je 0x1400446dc
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400446dc
mov rbx, qword [0x14006b728]
test rbx, rbx
jne 0x1400446ab
mov r8d, 0xfe1
lea rdx, [0x14004b940]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14006b728]
cmp byte [rbx + 0x37b1], 0
je 0x1400446c8
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002a80
mov dword [rbx + 0x38c], 0x214
mov dword [rbx + 0x958], 0xa1
mov ecx, 0x212
call fcn.140012650
cmp byte [rax], 0
je 0x14004476f
xor edx, edx
mov ecx, 0x212
call fcn.140014e40
test al, al
je 0x14004476f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004476f
mov rbx, qword [0x14006b728]
test rbx, rbx
jne 0x14004473e
mov r8d, 0xfe1
lea rdx, [0x14004b940]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14006b728]
cmp byte [rbx + 0x37b1], 0
je 0x14004475b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002a80
mov dword [rbx + 0x274], 0x212
mov dword [rbx + 0x950], 0x5b
mov ecx, 0x216
call fcn.140012650
cmp byte [rax], 0
je 0x140044802
xor edx, edx
mov ecx, 0x216
call fcn.140014e40
test al, al
je 0x140044802
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140044802
mov rbx, qword [0x14006b728]
test rbx, rbx
jne 0x1400447d1
mov r8d, 0xfe1
lea rdx, [0x14004b940]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14006b728]
cmp byte [rbx + 0x37b1], 0
je 0x1400447ee
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002a80
mov dword [rbx + 0x278], 0x216
mov dword [rbx + 0x960], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800020b8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x180002102
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov ebx, edx
mov edi, r10d
mov r11, rcx
mov dl, byte [r11]
movsxd rax, edi
mov cl, dl
xor cl, byte [rax + r8]
lea eax, [rdi + 1]
xor cl, r10b
mov r10b, dl
cdq
mov byte [r11], cl
idiv r9d
inc r11
mov edi, edx
sub rbx, 1
jne 0x1800020d1
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x180002104
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x18000214c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov ebx, edx
mov edi, r10d
mov r11, rcx
movsxd rax, edi
mov cl, byte [rax + r8]
lea eax, [rdi + 1]
xor cl, byte [r11]
cdq
idiv r9d
xor cl, r10b
mov byte [r11], cl
mov edi, edx
inc r11
mov r10b, cl
sub rbx, 1
jne 0x18000211d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1800021ac
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rbp, dword [rsp + 0x70]
mov r12d, ecx
mov rsi, r9
mov edi, r8d
mov ebx, edx
lea ecx, [rbp + 0x30]
call fcn.180002150
mov r10d, dword [0x180004288]
mov r8, rbp
mov rdx, rsi
mov r13, rax
mov r15, qword [rax + 8]
lea r14, [r15 + 0x13]
mov dword [r15 + 0x2c], ebp
mov dword [r14 + 0xe], edi
lea rdi, [r15 + 0x30]
mov dword [r14], r10d
mov rcx, rdi
mov r10d, dword [0x180004270]
mov dword [r14 + 4], r10d
mov dword [r14 + 8], 0x52e808e8
mov byte [r14 + 0xc], r12b
mov byte [r14 + 0xd], bl
mov dword [r14 + 0x12], ebp
call fcn.180002ecc
mov edx, select
lea ecx, [rdx - 0xa]
call fcn.180002e94
lea rbx, [r15 + 4]
mov dword [r15], eax
mov rcx, rbx
mov edx, eax
call fcn.180002e80
mov r9d, 0x1f
lea r8, [0x1800040c0]
mov rcx, r14
lea esi, [r9 - 9]
mov edx, esi
call fcn.1800020b8
mov r9d, dword [r15]
mov edx, esi
mov rcx, r14
mov r8, rbx
call fcn.1800020b8
mov edx, ebp
lea r9d, [rsi + 9]
mov rcx, rdi
lea r8, [0x1800040c0]
call fcn.1800020b8
mov r9d, dword [r15]
mov edx, ebp
mov rcx, rdi
mov r8, rbx
call fcn.1800020b8
mov rdx, r13
lea rcx, [0x180004290]
call fcn.180001604
cmp r12d, 6
je 0x1800022be
mov rcx, qword [0x180004170]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
xor rax, rax
mov rax, qword gs:[rax + 0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
lodsq rax, qword [rsi]
mov rsi, rax
lodsq rax, qword [rsi]
mov rax, qword [rax + 0x20]
pop rsi
ret

Function at 0x140001020
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rax, qword [0x14000b0a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rsi, [rsp + 0x150]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
xor edx, edx
mov r8d, 0x104
call fcn.140002bd0
xor ecx, ecx
mov r8d, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
mov rcx, rsi
call fcn.140002cbc
add rax, 1
mov qword [rsp + 0x38], rax
mov eax, 0xc1210196
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, 0x7f72d2ee
lea r15, [rsp + 0x40]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov r13, qword [sym.imp.KERNEL32.dll_CreateMutexW]
jmp 0x1400010cd
mov rax, qword [rsp + 0x30]
mov eax, 0xe7249abc
mov ebx, r12d
mov r12d, ebx
jmp 0x1400010e0
mov eax, 0xf2c4eacd
mov r12b, 1
nop word [rax + rax]
cmp eax, 0xe0ffd88c
jle 0x140001110
cmp eax, 0xf2c4eacc
jg 0x140001130
cmp eax, 0xe0ffd88d
je 0x140001165
cmp eax, 0xe7249abc
jne 0x1400010e0
jmp 0x140001222
cmp eax, 0xa3a262f3
je 0x1400010d2
cmp eax, 0xb68277c4
je 0x1400011cd
cmp eax, 0xc1210196
jne 0x1400010e0
mov eax, 0xe0ffd88d
jmp 0x1400010e0
cmp eax, 0xf2c4eacd
je 0x1400010c0
cmp eax, 0x7f72d2ee
jne 0x1400010e0
xor r12d, r12d
cmp dword [0x14000d17c], 0xa
mov eax, 0xf2c4eacd
jl 0x1400010e0
mov ecx, dword [0x14000d178]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400010e0
jmp 0x140001220
mov rdi, qword [rsp + 0x38]
add rdi, 1
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.140002bd0
mov rcx, r15
lea rdx, section..data
call fcn.140002da0
mov rcx, r15
mov rdx, rdi
call fcn.140002d00
mov ecx, 0xbb8
call r14
xor ecx, ecx
mov edx, 1
mov r8, r15
call r13
call rsi
cmp eax, 0xb7
mov eax, 0xb68277c4
cmove eax, ebp
jmp 0x1400010e0
cmp dword [0x14000d17c], 0xa
jl 0x1400011e7
mov eax, dword [0x14000d178]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140001203
call rsi
cmp dword [0x14000d17c], 0xa
jl 0x140001207
mov ecx, dword [0x14000d178]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x140001207
call rsi
jmp 0x1400011e7
cmp eax, 5
mov eax, 0xa3a262f3
cmove eax, ebp
jmp 0x1400010e0
jmp 0x140001220
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002e70
mov eax, ebx
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140003147
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b0a8]
jne 0x140002e8a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002e86
repz ret
ror rcx, 0x10
jmp 0x1400030a0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c040]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000c138]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140003125
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000c040]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140003147
mov rax, qword [rsp + 0x88]
mov qword [0x14000c138], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c0d8], rax
mov rax, qword [0x14000c138]
mov qword [0x14000bfb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c0c0], rax
mov dword [0x14000bfa0], 0xc0000409
mov dword [0x14000bfa4], 1
mov rax, qword [0x14000b0a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b0b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c038], eax
mov ecx, 1
call fcn.1400049ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008290]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c038], 0
jne 0x1400031ce
mov ecx, 1
call fcn.1400049ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400035a8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140003418
Function at 0x140005528
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000b0a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140004554
xor ebx, ebx
cmp qword [0x14000cf38], rbx
mov rdi, rax
jne 0x14000563b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005712
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005712
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000cf38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000cf40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000cf48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000cf58], rax
test rax, rax
je 0x140005632
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000cf50], rax
jmp 0x140005642
mov rax, qword [0x14000cf50]
jmp 0x140005649
mov rax, qword [0x14000cf50]
mov r11, qword [0x14000cf58]
cmp rax, rdi
je 0x1400056b0
cmp r11, rdi
je 0x1400056b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000cf58]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400056b0
test rax, rax
je 0x1400056b0
call rsi
test rax, rax
je 0x1400056aa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400056aa
test byte [rsp + 0x40], 1
jne 0x1400056b0
bts ebp, 0x15
jmp 0x1400056f0
mov rcx, qword [0x14000cf40]
cmp rcx, rdi
je 0x1400056f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400056f0
call rax
mov rbx, rax
test rax, rax
je 0x1400056f0
mov rcx, qword [0x14000cf48]
cmp rcx, rdi
je 0x1400056f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400056f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000cf38]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005712
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005714
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002e70
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret