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

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

Function at 0x140018650
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 0x1400186bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400186bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400186bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400186bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400186bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1400186bf
cmp dword [rcx + 0xf8], 0
je 0x1400186bf
mov ecx, ebx
call fcn.140018770
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.14001854c
nop
cmp dword [rbp + 0x20], 0
je 0x14001870d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018718
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140018650

Function at 0x140018854
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018650

Function at 0x14001fd34
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001fd4a
mov al, 1
jmp 0x14001fdaa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001fd5b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001fda8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140024984
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001fda8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001fda8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001fda8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001fdaa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140021244
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 fcn.14000d1e0
sub rsp, rax
mov rax, qword [0x140053080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001d524
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140021293
mov rax, rbp
jmp 0x14002139b
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 + 0x55450]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002172c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x55450]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140021397
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 0x140021397
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002172c
test rax, rax
js 0x140021397
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140021397
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140021389
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140021389
cmp byte [rcx], 0xd
jne 0x14002136f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002137e
cmp byte [rcx + 1], 0xa
jne 0x14002137e
inc rcx
jmp 0x14002137e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x53b80]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140021351
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002139b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000c7f0
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 0x140023e70
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 0x140023ea0
xor eax, eax
jmp 0x140023f63
mov rbp, rbx
cmp word [rax], si
je 0x140023ec5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023eac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023ea8
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.140022580
movsxd r14, eax
test eax, eax
jne 0x140023f03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023e99
mov rcx, r14
call fcn.14001c268
mov rdi, rax
test rax, rax
jne 0x140023f1c
xor ecx, ecx
call fcn.14001c22c
jmp 0x140023ef8
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.140022580
test eax, eax
jne 0x140023f4d
mov rcx, rdi
call fcn.14001c22c
jmp 0x140023f57
xor ecx, ecx
call fcn.14001c22c
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 0x140026ed8
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.14001bd6c
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 0x140026f79
cmp ebx, dword [rsp + 0x30]
je 0x140026f72
test esi, esi
je 0x140026f72
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026f4d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140026f5a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140026f37
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026f5e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140026f7b
mov eax, 1
jmp 0x140026f7b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140028d34
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, [0x140055450]
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 0x140028d8b
cmp word [rdx], r13w
jne 0x140028d8b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140028d90
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140028eb5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140028ed6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140028dc9
mov rdx, r9
mov word [rbx], cx
jmp 0x140028df0
cmp r9, r8
jae 0x140028e00
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 0x140028daa
jmp 0x140028eb5
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 0x140028eaa
cmp dword [rsp + 0x80], esi
je 0x140028eaa
lea r8, [0x140055450]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140028e82
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140028e52
mov word [rbx], r13w
jmp 0x140028eb2
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 0x140028e5f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140028eb2
cmp word [rsp + 0x70], r13w
jne 0x140028e8f
cmp rbx, r14
je 0x140028e4c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140021734
cmp word [rsp + 0x70], r13w
je 0x140028eb5
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, [0x140055450]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140028eaf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140028eb5
Function at 0x14002a5a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140012354
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002a62e
cmp byte [rbp - 0x21], r15b
je 0x14002a629
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002a664
call fcn.14001dc0c
test eax, eax
jne 0x14002a650
cmp byte [rbp - 0x21], r15b
je 0x14002a648
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002a664
cmp byte [rbp - 0x21], r15b
je 0x14002a661
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140018084
test eax, eax
jne 0x14002a704
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140012354
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002a6a3
cmp byte [rbp - 0x21], r15b
je 0x14002a6d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002a6d8
call fcn.14001dc0c
test eax, eax
jne 0x14002a6c4
cmp byte [rbp - 0x21], r15b
je 0x14002a6bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002a6d8
cmp byte [rbp - 0x21], r15b
je 0x14002a6d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140018084
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002a704
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002a707
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002a715
mov rcx, rdi
call fcn.14001c22c
cmp byte [rbp + 0x3f], r15b
je 0x14002a724
mov rcx, qword [rbp + 0x27]
call fcn.14001c22c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002c320
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002c348
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002c348
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800010dc
Capabilities:
Get common file path

Disassembly:
jmp 0x1801572e4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call fcn.180004a0c
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x180157360
xor edi, edi
cmp word [rsp + 0x30], di
je 0x1801573d2
cmp word [rsp + 0x32], 0x3a
jne 0x1801573d2
movzx ecx, word [rsp + 0x30]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1801573d2
lea esi, [rax + 1]
mov dword [rsp + 0x20], 0x25
mov edx, 2
mov ecx, esi
mov r8d, edx
lea r9, [0x1801f42c0]
call fcn.180002c16
xor edi, edi
mov rbx, rax
test rax, rax
je 0x18015739a
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1801573a7
call fcn.180002d3d
mov dword [rax], 0xc
jmp 0x1801573c5
cmp word [rbx], di
je 0x1801573c5
cmp word [rbx + 2], 0x3a
jne 0x1801573c5
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov edx, 2
mov rcx, rbx
call fcn.180006c12
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002afe
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180001249
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180159300
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.180158310
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180159335
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x18024f020]
jmp 0x18015933f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x1800014a1
Capabilities:
Get common file path

Disassembly:
jmp 0x180150f98
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebx, ebx
mov edx, eax
test eax, eax
jne 0x180150fd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
call fcn.180002d3d
mov ebx, dword [rax]
jmp 0x180151007
cmp rdx, qword [rdi + 0x18]
ja 0x180150fdc
mov qword [rdi + 0x20], rdx
jmp 0x180151007
inc rdx
mov rcx, rdi
call fcn.180006442
test eax, eax
je 0x180150fef
mov ebx, eax
jmp 0x180151007
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x180150fba
mov qword [rdi + 0x20], rax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18000150f
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x18004d320
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x90
mov rdi, rsp
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xa0]
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, [0x18024d373]
call fcn.1800021f3
xor eax, eax
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 0x14
rep stosb byte [rdi], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
lea rcx, [0x180231c90]
call fcn.18000378d
movsx eax, word [rsp + 0x2c]
mov dword [rsp + 0x78], eax
lea rcx, [0x180231c90]
call fcn.18000760d
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
movsx eax, word [rsp + 0x2e]
mov dword [rsp + 0x7c], eax
lea rcx, [0x180231c90]
call fcn.18000760d
mov ecx, dword [rsp + 0x7c]
mov dword [rax + 4], ecx
movsx eax, word [rsp + 0x2c]
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x54], ax
movsx eax, word [rsp + 0x2e]
mov ecx, dword [rsp + 0xa8]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x56], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, rsp
lea rdx, [0x1801cd0b8]
call fcn.180007266
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180002afe
add rsp, 0x90
pop rdi
ret
Function at 0x18000168b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1800e1450
mov rax, rcx
neg rcx
test rax, 7
je 0x1800e146d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1800e14c8
test al, 7
jne 0x1800e1460
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1800e1481
mov rdx, qword [rax - 8]
test dl, dl
je 0x1800e14f2
test dh, dh
je 0x1800e14ec
shr rdx, 0x10
test dl, dl
je 0x1800e14e6
test dh, dh
je 0x1800e14e0
shr rdx, 0x10
test dl, dl
je 0x1800e14da
test dh, dh
je 0x1800e14d4
shr edx, 0x10
test dl, dl
je 0x1800e14ce
test dh, dh
jne 0x1800e1481
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x180002356
Capabilities:
Hash data with md5

Disassembly:
jmp 0x180057340
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rsp
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x30]
lea rcx, [0x18024d434]
call fcn.1800021f3
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x10325476
add rsp, 0x20
pop rdi
ret

Function at 0x180002405
Capabilities:
Terminate process

Disassembly:
jmp 0x1800ae270
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1800025f9
Capabilities:
Delete directory

Disassembly:
jmp 0x180193e70
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x180193e9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
mov eax, 0xffffffff
jmp 0x180193e9e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800028d8
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x18002d5f0
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
mov rdi, rsp
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
lea rcx, [0x18024d0a3]
call fcn.1800021f3
mov dword [rsp + 0x190], 0
mov rcx, qword [rsp + 0x210]
call fcn.18000667c
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0xffffffffffffffff
je 0x18002d796
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x1a8]
call fcn.180007752
nop
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
je 0x18002d72e
cmp qword [rsp + 0x208], 0
je 0x18002d72e
mov byte [rsp + 0x1d4], 1
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x18002d707
lea rdx, [0x1801c45f4]
lea rcx, [rsp + 0x1a8]
call fcn.180002a13
movzx eax, al
test eax, eax
je 0x18002d72c
lea rdx, [0x1801c45f8]
lea rcx, [rsp + 0x1a8]
call fcn.180002a13
movzx eax, al
test eax, eax
je 0x18002d72c
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x208]
call fcn.1800045a2
mov eax, dword [rsp + 0x190]
inc eax
mov dword [rsp + 0x190], eax
jmp 0x18002d75e
cmp qword [rsp + 0x200], 0
je 0x18002d75e
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x200]
call fcn.1800045a2
mov eax, dword [rsp + 0x190]
inc eax
mov dword [rsp + 0x190], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18002d784
lea rcx, [rsp + 0x1a8]
call fcn.18000415b
jmp 0x18002d796
lea rcx, [rsp + 0x1a8]
call fcn.18000415b
jmp 0x18002d685
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x190]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1801c4ba0]
call fcn.180007266
mov eax, edi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.180002afe
add rsp, 0x1f0
pop rdi
ret

Function at 0x180002a4f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180159360
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.180158350
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18015939f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x18024f020]
jmp 0x1801593ae
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x180002c43
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x18004d460
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x18024d373]
call fcn.1800021f3
lea rcx, [0x180231c90]
call fcn.18000760d
movzx eax, word [rax]
mov word [rsp + 0x24], ax
lea rcx, [0x180231c90]
call fcn.18000760d
movzx eax, word [rax + 4]
mov word [rsp + 0x26], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [0x180231c90]
call fcn.180001f0a
mov rcx, rsp
lea rdx, [0x1801cd190]
call fcn.180007266
add rsp, 0x40
pop rdi
ret

Function at 0x180002d60
Capabilities:
Set current directory

Disassembly:
jmp 0x180190f00
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [rsp + 0x30]
call fcn.180007a8b
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.180001e1a
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180190f4d
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x30]
call fcn.1800075c2
mov eax, dword [rsp + 0x24]
jmp 0x180190f72
lea rcx, [rsp + 0x30]
call fcn.180001050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x30]
call fcn.1800075c2
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret