joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c60e4
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.1400ba638
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 0x1400c6185
cmp ebx, dword [rsp + 0x30]
je 0x1400c617e
test esi, esi
je 0x1400c617e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c6159
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c6166
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c6143
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c616a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c6187
mov eax, 1
jmp 0x1400c6187
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6498
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400c64b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400aa4b8
or eax, 0xffffffff
jmp 0x1400c64ba
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400c88b8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400c8902
call fcn.1400aa524
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400aa544
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400a14fc
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009a840
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400c890d
lea eax, [rbx + 1]
jmp 0x1400c88ef
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400c88ed
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400c88ef
Function at 0x1400c8c64
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.1400a6960
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400c8cee
cmp byte [rbp - 0x21], r15b
je 0x1400c8ce9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400c8d24
call fcn.1400bad6c
test eax, eax
jne 0x1400c8d10
cmp byte [rbp - 0x21], r15b
je 0x1400c8d08
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400c8d24
cmp byte [rbp - 0x21], r15b
je 0x1400c8d21
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.1400b0498
test eax, eax
jne 0x1400c8dc4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a6960
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400c8d63
cmp byte [rbp - 0x21], r15b
je 0x1400c8d98
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c8d98
call fcn.1400bad6c
test eax, eax
jne 0x1400c8d84
cmp byte [rbp - 0x21], r15b
je 0x1400c8d7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400c8d98
cmp byte [rbp - 0x21], r15b
je 0x1400c8d95
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.1400b0498
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400c8dc4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400c8dc7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400c8dd5
mov rcx, rdi
call fcn.1400baa10
cmp byte [rbp + 0x3f], r15b
je 0x1400c8de4
mov rcx, qword [rbp + 0x27]
call fcn.1400baa10
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 0x1400ca720
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ca748
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ca748
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x4647b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00487344]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x464938
mov rax, qword [0x00487348]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4647fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x464885
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4647e0
mov rcx, rbx
call fcn.00465450
test rax, rax
mov r12, rax
je 0x46496d
mov rax, qword [0x00487348]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.00465580
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00487348]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x464950
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x46487e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4648e0
add dword [0x00487344], 1
cmp edi, 8
jae 0x4648b3
test dil, 4
jne 0x464924
test edi, edi
je 0x4648a8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x46493f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4648a8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4648cc
jmp 0x4648a8
add rsi, qword [0x00487348]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x46487e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00466530
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4648a8
xor esi, esi
jmp 0x464807
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4648a8
mov rax, qword [0x00487348]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00466530
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00466530
nop
nop dword [rax]

Function at 0x4650c0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00487620]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00487600]
test rbx, rbx
je 0x465114
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x46510b
test rsi, rsi
je 0x46510b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4650f0
lea rcx, [0x00487620]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x465450
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0047bd30]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4654bd
mov rcx, r8
call fcn.00465330
test eax, eax
je 0x4654bd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4654bd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4654b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4654bf
add rax, 0x28
cmp rax, r9
jne 0x4654a0
xor eax, eax
add rsp, 0x28
ret
Function at 0x466530
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.004662f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.004662f0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x141810058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1418101df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141810089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14181006f
add dl, dl
jne 0x141810096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418100f6
xor eax, eax
add dl, dl
jne 0x1418100a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418101ad
add dl, dl
jne 0x1418100b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418100c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418100d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418100dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1418100ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14181007e
mov eax, 1
add dl, dl
jne 0x141810106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141810113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418100fb
sub eax, ebx
mov ebx, 1
jne 0x14181014c
mov ecx, 1
add dl, dl
jne 0x14181012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14181013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141810123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14181007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141810168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141810175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14181015d
cmp eax, 0x7d00
jae 0x14181019b
cmp eax, 0x500
jb 0x141810196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14181007e
cmp eax, 0x7f
ja 0x14181019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14181007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1418101d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14181007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011375
Capabilities:
Terminate process

Disassembly:
jmp 0x140017e30
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]
nop
add rsp, 0x28
ret

Function at 0x140011456
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019180
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400191a0
xor al, al
jmp 0x140019221
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400191b3
xor al, al
jmp 0x140019221
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400191dd
xor al, al
jmp 0x140019221
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400191f1
xor al, al
jmp 0x140019221
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019203
xor al, al
jmp 0x140019221
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001921f
xor al, al
jmp 0x140019221
mov al, 1
add rsp, 0x38
ret
Function at 0x140011668
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400145c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x2908
call fcn.140011136
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8ba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2928]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x28d0], rax
lea rcx, [0x14002a0f6]
call fcn.140011613
nop
mov qword [rbp + 8], 0
mov r8d, dword [rbp + 0x2900]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140014705
lea r9, [rbp + 0x2064]
mov r8d, 0x2000
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14001109b
test eax, eax
je 0x1400146fa
mov dword [rbp + 0x2084], 0
jmp 0x14001467a
mov eax, dword [rbp + 0x2084]
inc eax
mov dword [rbp + 0x2084], eax
mov eax, dword [rbp + 0x2084]
mov qword [rbp + 0x28c8], rax
mov ecx, dword [rbp + 0x2064]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rbp + 0x28c8]
cmp rcx, rax
jae 0x1400146fa
mov eax, dword [rbp + 0x2084]
mov r9d, 0x104
lea r8, [rbp + 0x20b0]
mov rdx, qword [rbp + rax*8 + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011663
test eax, eax
je 0x1400146f5
lea rdx, [rbp + 0x20b0]
mov rcx, qword [rbp + 0x2908]
call fcn.140011221
movzx eax, al
test eax, eax
je 0x1400146f5
mov eax, dword [rbp + 0x2084]
mov rax, qword [rbp + rax*8 + 0x50]
mov qword [rbp + 8], rax
jmp 0x1400146fa
jmp 0x14001466c
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001fea0]
call fcn.140011541
mov rax, rdi
mov rcx, qword [rbp + 0x28d0]
xor rcx, rbp
call fcn.140011302
lea rsp, [rbp + 0x28e8]
pop rdi
pop rbp
ret
Function at 0x140016f80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011645
movzx eax, al
test eax, eax
jne 0x140016fa0
mov ecx, 7
call fcn.14001154b
nop
mov byte [rsp + 0x20], 0
call fcn.14001157d
mov byte [rsp + 0x21], al
cmp dword [0x140024b78], 1
jne 0x140016fc4
mov ecx, 7
call fcn.14001154b
nop
jmp 0x14001701c
cmp dword [0x140024b78], 0
jne 0x140017017
mov dword [0x140024b78], 1
lea rdx, [0x14001f660]
lea rcx, [0x14001f330]
call fcn.1400112e9
test eax, eax
je 0x140016ff8
mov eax, 0xff
jmp 0x140017121
lea rdx, [0x14001f220]
lea rcx, [section..rdata]
call fcn.140011569
mov dword [0x140024b78], 2
jmp 0x14001701c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011537
call fcn.14001147e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017079
mov rcx, qword [rsp + 0x30]
call fcn.140011276
movzx eax, al
test eax, eax
je 0x140017079
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002b020]
nop
call fcn.1400114c4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400170ad
mov rcx, qword [rsp + 0x38]
call fcn.140011276
movzx eax, al
test eax, eax
je 0x1400170ad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115f0
nop
call fcn.1400171d0
mov dword [rsp + 0x28], eax
call fcn.140011456
movzx eax, al
test eax, eax
jne 0x1400170cc
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400170db
call fcn.140011604
nop
xor edx, edx
mov cl, 1
call fcn.140011244
mov eax, dword [rsp + 0x28]
jmp 0x140017121
add rsp, 0x68
ret
Function at 0x140003590
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 0x10]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x14
mov eax, dword [r15 + rsi]
mov r12d, 0x20
test al, 1
jne 0x140003629
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 0x140003601
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ebx, 0x13a8
test al, 2
jne 0x14000364a
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rbx + rsi], rbp
mov qword [rbx + rsi + 8], 0x3d
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
mov rdx, r14
mov rcx, rdi
call fcn.140004010
mov qword [rdi + 0x10], rbp
lea r15, [rbx + rsi]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [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 0x1400036c5
mov rcx, rbx
call fcn.140004690
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140004690
mov eax, eax
or rsi, rax
jmp 0x1400036d5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.1400044e0
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 0x14000370a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400036ff
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003712
mov rcx, rdi
call fcn.140004160
test r14, r14
jne 0x140003690
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140003740
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x58
lea rdx, [rsp + 0x28]
call fcn.140003590
cmp qword [rax + 0x18], 0xf
jbe 0x140003758
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000379a
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003795
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037af
call fcn.140004da4
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x64
call fcn.1400038e0
jmp 0x140003744
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400037c0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
movabs rbx, 0xd9dd1a18dc8ad2e6
lea rdx, [rsp + 0x20]
movabs rdi, 0x91dc2322e93eb0e7
movabs rsi, 0x91dc5b4d855cdfb5
mov qword [rsp + 0x50], rdi
xor ecx, ecx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x50], rsi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x50]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400038c9
mov qword [rsp + 0x58], 0x64
nop word [rax + rax]
lea rcx, [rsp + 0x58]
call fcn.1400038e0
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x50], rsi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x50]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140003860
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140004690
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 0x1400046f1
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 0x1400046b0
mov ecx, dword [r9]
jmp 0x1400047db
cmp ecx, 0x4e0
jb 0x1400047db
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140004710
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140004760
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 0x14000560c
Capabilities:
Parse pe header

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