joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801066e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18018f040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1801b7ba0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180106753
mov eax, 0xa
jmp 0x1801067e6
test esi, esi
je 0x180106775
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180106798
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180106798
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180106791
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180106798
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1801252b0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180106810
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1801b7bac]
mov ebx, edi
test ecx, ecx
je 0x18010694b
mov rax, qword [0x1801b7ba0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180106868
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180106840
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18010694b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180106530
mov r8d, dword [0x1801b7bac]
cmp ebx, r8d
jae 0x1801068d8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1801b7ba0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1801068d1
mov edx, esi
mov ecx, ebx
call fcn.1801066e0
mov edi, eax
test eax, eax
jne 0x1801068d8
mov r8d, dword [0x1801b7bac]
inc ebx
cmp ebx, r8d
jb 0x1801068a0
cmp qword [rsp + 0x20], 0
je 0x18010694b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180106937
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180106928
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180106900
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801960d0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180106f60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1801960c8], ebp
je 0x180106fb7
cmp rbx, 0x20
jae 0x180106fa0
xor ecx, ecx
jmp 0x180106fa2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801960c8], ebp
jne 0x180106f96
cmp qword [0x1801960d0], r15
je 0x1801070b1
test rdi, rdi
jne 0x180106fd7
mov ecx, esi
call fcn.180106810
mov ebp, eax
jmp 0x1801070b6
mov ecx, dword [0x1801b7bac]
mov ebx, r15d
test ecx, ecx
je 0x180106fff
mov r8, qword [0x1801b7ba0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180107009
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180106ff0
mov ebp, 4
jmp 0x1801070b6
cmp ebx, 0xffffffff
je 0x180106fff
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1801070a8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180106530
mov edx, esi
mov ecx, ebx
call fcn.1801066e0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1801070b6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180107092
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180107088
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180107060
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801960d0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1801070b6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1801070b6
mov ebp, 2
xchg dword [0x1801960c8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x18010b730
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor ecx, ecx
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x180176380]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 8]
lea r8, [0x180176390]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 0x10]
lea r8, [0x180176390]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rbx + 0x28]
mov edx, 5
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x140008ae0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x140008cd6
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140008b94
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140008b50
mov ecx, dword [r10]
jmp 0x140008c77
cmp ecx, 0x4e0
jb 0x140008c77
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140008bb0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140008c00
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x140008b30
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x140008b20
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x140008cfa
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x140008b10
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x140009bf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor r8d, r8d
mov r10, rdx
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
jb 0x140009c09
mov r10, qword [rdx]
movzx r9d, byte [r10]
test r9b, r9b
je 0x140009c58
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
cmp r9b, 0x19
movzx r9d, byte [r10]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
test r9b, r9b
jne 0x140009c20
lea eax, [r8 + r8*8]
mov edx, 0x40
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
mov rcx, rbx
call fcn.140009c80
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140009c80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x13f0
call fcn.14000c6b0
sub rsp, rax
mov rax, qword [0x140044080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
xor edi, edi
mov qword [rsp + 0x40], rcx
mov rsi, rcx
mov dword [rsp + 0x13d4], 0xffffffff
mov rbp, rdx
mov dword [rsp + 0x54], r8d
lea ecx, [rdi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x54], r8d
inc rcx
cmp rcx, 0x270
jb 0x140009cd0
mov dword [rsp + 0x50], 0x270
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
test rbp, rbp
je 0x140009d79
mov rcx, rsi
mov qword [rsp + 0x1420], rbx
call fcn.140008fb0
mov rbx, qword [rsi]
mov r8, rbp
mov rcx, rbx
xor edx, edx
call fcn.14000eb20
lea rax, [rbx + rbp]
mov rbx, qword [rsp + 0x1420]
mov qword [rsi + 8], rax
test rbp, rbp
je 0x140009d79
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], 0x20
mov edx, 0x100
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x38], 0xffffffff
call fcn.140008ae0
mov rcx, qword [rsi]
mov byte [rdi + rcx], al
inc rdi
cmp rdi, rbp
jb 0x140009d41
mov rax, rsi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14000c650
add rsp, 0x13f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b0c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000b0f1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000b16b
mov rdi, r14
mov rcx, rbx
call fcn.140004480
test rax, rax
jle 0x14000b143
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14000e470
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000b15b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000b163
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000b105
sub r14, rdi
jmp 0x14000b24f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b182
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b184
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b1b6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14000e470
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000b24c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b1f1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000b22d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140015210
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000b24c
cmp rbp, rax
ja 0x14000b200
test rbp, rbp
je 0x14000b24c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140015210
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000b270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14000b308
test r8, r8
jle 0x14000b300
nop word [rax + rax]
mov rcx, rdi
call fcn.140004c00
test rax, rax
jle 0x14000b2de
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14000e470
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14000b2f8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000b300
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14000b2a0
sub r14, rbx
mov rax, r14
jmp 0x14000b386
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14000b321
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000b323
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14000b37b
test ecx, ecx
jle 0x14000b35c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14000e470
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14000b37b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000b37b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140015778
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000d0c8
Capabilities:
Parse pe header

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

Function at 0x14001bef4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001bd20
Function at 0x18008cfa0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor edi, edi
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x40]
mov byte [rsp + 0x20], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x18008cff3
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800c30f0
mov r8d, 1
lea rdx, [0x180118c38]
lea rcx, [rsp + 0x20]
call fcn.1800c2860
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18008d080
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d07b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d0a4
call fcn.1800cff50
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800cfc90
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call fcn.1800df1b0
int3
Function at 0x18008dc70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor edi, edi
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov byte [rsp + 0x30], dil
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x18008dcd0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800c30f0
mov r8d, 1
lea rdx, [0x180118c38]
lea rcx, [rsp + 0x30]
call fcn.1800c2860
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008dd5d
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dd58
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008dd81
call fcn.1800cff50
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800cfc90
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.1800df1b0
int3
Function at 0x180092260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, qword [rcx + 0x10]
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
lea rdx, [r8 + 0xc]
cmp rdx, 0xf
jbe 0x1800922b2
lea rcx, [rsp + 0x40]
call fcn.1800c9530
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1800922bf
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1800c2860
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x40]
call fcn.1800c2860
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800c29a0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009232a
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092325
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092481
call fcn.1800cff50
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180092337
mov rcx, qword [rbx]
lea rdx, [0x180118cb0]
call fcn.1800dbe68
test rax, rax
je 0x18009242e
mov rcx, rax
mov qword [rsp + 0x88], rdi
call fcn.1800dbef8
mov ecx, 0x186a0
call fcn.1800d8574
cmp qword [rbx + 0x18], 0x10
mov rdi, rax
mov rcx, rbx
jb 0x180092376
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1800923bf
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov r8d, 0x186a0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800923f9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800923f4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180092475
mov rcx, r8
call fcn.1800cff50
mov rax, rdi
mov qword [rbx + 0x10], rsi
mov rdi, qword [rsp + 0x88]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800cfc90
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180092464
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18009245f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009247b
mov rcx, r8
call fcn.1800cff50
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x180092413
call fcn.1800df1b0
int3
call fcn.1800df1b0
int3
call fcn.1800df1b0
int3
Function at 0x180001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
xor r8d, r8d
mov rdi, rdx
test rcx, rcx
jne 0x180001022
xor eax, eax
jmp 0x18000109d
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov ebp, dword [rdx + 0x1c]
mov r11d, dword [rdx + 0x20]
mov r9d, dword [rdx + 0x24]
add rbp, rcx
add r11, rcx
add r9, rcx
test edi, 0xffff0000
jne 0x180001054
movzx eax, di
sub eax, dword [rdx + 0x10]
jmp 0x180001092
mov edx, dword [rdx + 0x18]
jmp 0x180001088
mov eax, dword [r11]
mov rsi, rdi
dec edx
add rax, rcx
sub rsi, rax
movzx r10d, byte [rax]
movzx ebx, byte [rax + rsi]
sub r10d, ebx
jne 0x18000107b
inc rax
test ebx, ebx
jne 0x180001067
test r10d, r10d
je 0x18000108e
add r11, 4
add r9, 2
test edx, edx
jne 0x180001059
jmp 0x18000109a
movzx eax, word [r9]
mov r8d, dword [rbp + rax*4]
add r8, rcx
mov rax, r8
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x18000d667
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180020610]
jne 0x18000867a
rol rcx, 0x10
test cx, 0xffff
jne 0x180008676
repz ret
ror rcx, 0x10
jmp 0x18000d5c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180022100]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800221f8]
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 0x18000d645
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, [0x180022100]
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 0x18000d667
mov rax, qword [rsp + 0x88]
mov qword [0x1800221f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180022198], rax
mov rax, qword [0x1800221f8]
mov qword [0x180022070], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180022180], rax
mov dword [0x180022060], 0xc0000409
mov dword [0x180022064], 1
mov rax, qword [0x180020610]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180020618]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800220f8], eax
mov ecx, 1
call fcn.180014638
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001a288]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800220f8], 0
jne 0x18000d6ee
mov ecx, 1
call fcn.180014638
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret