joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c7f20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp], 0x138
jmp 0x1400c7f3e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x270
jae 0x1400c7fdc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 - 0x9b8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 - 0x9b0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x1400c7fa2
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x1400c7fab
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400c7f33
add rsp, 0x28
ret

Function at 0x1400d1d1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d1d66
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d1d66
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d1d66
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d1d66
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d1d66
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d1d68
xor al, al
add rsp, 0x28
ret
Function at 0x1400ddab0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x1406b1598], 0
jne 0x1400ddb99
xor eax, eax
mov dword [rbp - 0x79], 2
xorps xmm1, xmm1
mov qword [rbp - 0x75], rax
xorps xmm0, xmm0
mov qword [rbp - 0x6d], rax
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x65], rax
mov qword [rbp - 0x5d], rax
movups xmmword [rbp - 0x55], xmm0
movups xmmword [rbp - 0x45], xmm1
movups xmmword [rbp - 0x35], xmm1
movups xmmword [rbp - 0x25], xmm1
movups xmmword [rbp - 0x15], xmm1
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
call fcn.1400dcd90
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x1406b1500], xmm0
movaps xmmword [0x1406b1510], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x1406b1530], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x1406b1550], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x1406b1520], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x1406b1540], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x1406b1560], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x1406b1570], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x1406b1580], xmm0
movsd qword [0x1406b1590], xmm1
mov dword [0x1406b1598], 1
lea rax, [0x1406b1500]
add rsp, 0xf0
pop rbp
ret

Function at 0x1400e21d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x1406b159c]
nop
test eax, eax
jne 0x1400e2237
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x1406b15a0], rax
mov eax, 1
xchg dword [0x1406b159c], eax
mov rax, qword [0x1406b15a0]
add rsp, 0x58
ret
Function at 0x1400e8660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x1400e8749.4
lea rsi, [0x140000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0xe88c8]
mov ecx, dword [rsi + rax*4 + 0xe889c]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x1400e8690
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0x4e26c0]
mov rcx, rdi
call fcn.1400e7040
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x1400e8749.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.1400e7040
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x1400e8749.4
cdqe
movzx eax, byte [rsi + rax + 0xe88f8]
mov ecx, dword [rsi + rax*4 + 0xe88ec]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400e9700
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400e8920
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.1400e7490
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.1400e7010
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x1400e87de
lea edx, [rax + 0x35]
jmp 0x1400e87f0
cmp eax, 1
jne 0x1400e87eb
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x1400e87f5
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.1400e7040
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0x4e2880]
call fcn.1400e7040
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x1400e8837
lea edx, [rax + 0x31]
jmp 0x1400e8849
cmp eax, 1
jne 0x1400e8844
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x1400e884e
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.1400e7040
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x1400e86de
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x1400e86e6
movsxd rax, dword [rbx + 0x98]
jmp 0x1400e86de
Function at 0x1400fe888
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call sub.ntdll.dll___chkstk
sub rsp, rax
mov rax, qword [0x1406ad940]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14010d8e4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400fe8d7
mov rax, rbp
jmp 0x1400fe9df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x6b1b40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14011176c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6b1b40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400fe9db
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400fe9db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14011176c
test rax, rax
js 0x1400fe9db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400fe9db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400fe9cd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400fe9cd
cmp byte [rcx], 0xd
jne 0x1400fe9b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400fe9c2
cmp byte [rcx + 1], 0xa
jne 0x1400fe9c2
inc rcx
jmp 0x1400fe9c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x6adda0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400fe995
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400fe9df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d1800
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140106584
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401065bb
call fcn.140107778
mov dword [rax], 0x16
call fcn.1400f76d4
xor eax, eax
jmp 0x140106649
mov rdx, r9
mov rcx, r8
call fcn.140106520
mov rbx, rax
test rax, rax
je 0x140106646
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14010644c]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140106633
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401076ec
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14010661a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140106629
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14010c470
jmp 0x140106646
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140106643
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140106788
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401067f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401067f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401067f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401067f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401067f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1401067f7
cmp dword [rcx + 0xf8], 0
je 0x1401067f7
mov ecx, ebx
call fcn.1401068a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140106684
nop
cmp dword [rbp + 0x20], 0
je 0x140106845
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140106850
int3
xor r8d, r8d
xor edx, edx
jmp 0x140106788

Function at 0x14010698c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401067f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401067f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401067f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401067f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401067f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1401067f7
cmp dword [rcx + 0xf8], 0
je 0x1401067f7
mov ecx, ebx
call fcn.1401068a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140106684
nop
cmp dword [rbp + 0x20], 0
je 0x140106845
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140106850
int3
xor r8d, r8d
xor edx, edx
jmp 0x140106788
Function at 0x1401107f8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1406b1b40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14011084f
cmp word [rdx], r13w
jne 0x14011084f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140110854
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140110979
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14011099a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14011088d
mov rdx, r9
mov word [rbx], cx
jmp 0x1401108b4
cmp r9, r8
jae 0x1401108c4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14011086e
jmp 0x140110979
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011096e
cmp dword [rsp + 0x80], esi
je 0x14011096e
lea r8, [0x1406b1b40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140110946
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140110916
mov word [rbx], r13w
jmp 0x140110976
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140110923
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140110976
cmp word [rsp + 0x70], r13w
jne 0x140110953
cmp rbx, r14
je 0x140110910
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140111774
cmp word [rsp + 0x70], r13w
je 0x140110979
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1406b1b40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140110973
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140110979
Function at 0x140111a0c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140111a22
mov al, 1
jmp 0x140111a82
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140111a33
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140111a80
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401158b4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140111a80
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140111a80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140111a80
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140111a82
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140114fe8
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 0x140115018
xor eax, eax
jmp 0x1401150db
mov rbp, rbx
cmp word [rax], si
je 0x14011503d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140115024
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140115020
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.140113940
movsxd r14, eax
test eax, eax
jne 0x14011507b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140115011
mov rcx, r14
call fcn.14010c4ac
mov rdi, rax
test rax, rax
jne 0x140115094
xor ecx, ecx
call fcn.14010c470
jmp 0x140115070
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.140113940
test eax, eax
jne 0x1401150c5
mov rcx, rdi
call fcn.14010c470
jmp 0x1401150cf
xor ecx, ecx
call fcn.14010c470
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 0x140117e08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14010b63c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140117ea9
cmp ebx, dword [rsp + 0x30]
je 0x140117ea2
test esi, esi
je 0x140117ea2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140117e7d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140117e8a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140117e67
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140117e8e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140117eab
mov eax, 1
jmp 0x140117eab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14011bf30
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.140111774
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140111774
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14011c080
cmp rax, 0xffffffffffffffff
je 0x14011c080
xor edi, edi
test rbp, rbp
jle 0x14011c02b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14010dcec
mov rbx, rax
test rax, rax
jne 0x14011bfb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14011c021
mov edx, 0x8000
mov ecx, r14d
call fcn.140108d04
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.1401104f0
cmp eax, 0xffffffff
je 0x14011c001
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14011bfc8
mov edx, r15d
mov ecx, r14d
call fcn.140108d04
jmp 0x14011c021
cmp byte [rsi + 0x38], dil
je 0x14011c018
cmp dword [rsi + 0x34], 5
jne 0x14011c018
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14011c021
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14010c470
jmp 0x14011c094
jns 0x14011c094
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140111774
cmp rax, 0xffffffffffffffff
jne 0x14011c04c
cmp byte [rsi + 0x30], dil
je 0x14011c094
mov edi, dword [rsi + 0x2c]
jmp 0x14011c094
mov ecx, r14d
call fcn.1401158b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14011c094
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 0x14011c094
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14011c08d
mov eax, dword [rsi + 0x2c]
jmp 0x14011c092
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140111774
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 0x14011c6f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14011c718
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14011c718
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800033a0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x28
cmp byte [0x18006b568], 0
je 0x1800033fe
mov edx, dword [0x18006b570]
mov ecx, dword [0x18006b56c]
call fcn.180051150
test eax, eax
je 0x1800033fe
cmp byte [0x18006b0c0], 0
jne 0x1800033fe
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [0x18006bde0], rax
jne 0x1800033fe
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x18006be90], 1
add rsp, 0x28
ret

Function at 0x1800044a0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x18006b57c], 0
je 0x1800045b7
mov edx, dword [0x18006b584]
mov ecx, dword [0x18006b580]
call fcn.180051150
test eax, eax
je 0x1800045b7
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bec0]
add rcx, 0xfa
cmp rcx, rax
ja 0x1800045b7
mov qword [rsp + 0x40], rdi
mov qword [0x18006bec0], rax
call fcn.18000a950
mov rdi, rax
test rax, rax
je 0x1800045b2
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
call fcn.18000a430
test rax, rax
je 0x180004548
mov edx, 0x16
mov rcx, rax
call fcn.1800074d0
mov rbx, rax
test rax, rax
je 0x180004548
cmp dword [rax + 0x18], 0
jne 0x18000456b
call fcn.18000a430
test rax, rax
jne 0x180004556
xor ebx, ebx
jmp 0x180004566
mov edx, 2
mov rcx, rax
call fcn.1800074d0
mov rbx, rax
test rbx, rbx
je 0x1800045a8
cmp dword [rbx + 0x18], 0
je 0x1800045a8
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.180005110
test eax, eax
jne 0x180004599
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.180005110
test eax, eax
je 0x1800045a8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180006740
jmp 0x1800045ad
call fcn.180005400
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
cmp byte [0x18006be90], 0
je 0x1800045fd
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006beb8]
add rcx, 0x10
cmp rcx, rax
ja 0x1800045fd
xor edx, edx
mov qword [0x18006beb8], rax
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bed0]
add rcx, 0xfa
cmp rcx, rax
ja 0x18000462a
movss xmm0, dword [0x180062a98]
mov qword [0x18006bed0], rax
call fcn.1800069e0
cmp byte [0x18006b0d9], 0
je 0x18000465e
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bec8]
add rcx, 0xf0
cmp rcx, rax
ja 0x18000465e
mov ecx, dword [0x18006b0dc]
mov qword [0x18006bec8], rax
call fcn.180007250
call fcn.1800079f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800589e0
add rsp, 0x48
ret