joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011f50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140011f98
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x14002dbc0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x140011f7e

Function at 0x140013aa0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400211a0], 0
jne 0x140013ba6
mov byte [0x1400211a0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x140013b7c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x140013b6d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x140022271]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140013b68
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x140013b37
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x140013c3b
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140013ba1
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140013ba1
Function at 0x14001a920
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14001a948
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14001a990
cdqe
add rsi, rax
sub rbx, rax
jne 0x14001a960
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14001a99c
call rbp
cmp dword [rax], 4
je 0x14001a960
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14001b230
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0x80000000
mov dword [rbp - 0x18], 0x7fffffff
mov qword [rbp - 8], 0
jmp 0x14001b2c2
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 0x18d]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x24]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x24]
and eax, 1
test eax, eax
je 0x14001b2a9
mov eax, 0x9908b0df
jmp 0x14001b2ae
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov dword [rax + rdx*4], ecx
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0xe2
jbe 0x14001b254
mov qword [rbp - 0x10], 0xe3
jmp 0x14001b344
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0xe3]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x20]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x20]
and eax, 1
test eax, eax
je 0x14001b32b
mov eax, 0x9908b0df
jmp 0x14001b330
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov dword [rax + rdx*4], ecx
add qword [rbp - 0x10], 1
cmp qword [rbp - 0x10], 0x26e
jbe 0x14001b2d6
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x9bc]
and eax, 0x80000000
mov edx, eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
and eax, 0x7fffffff
or eax, edx
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x630]
mov edx, dword [rbp - 0x1c]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x1c]
and eax, 1
test eax, eax
je 0x14001b391
mov eax, 0x9908b0df
jmp 0x14001b396
mov eax, 0
xor edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x9bc], edx
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001b3c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov eax, dword [rbp + 0x18]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov dword [rdx], eax
mov qword [rbp - 8], 1
jmp 0x14001b438
mov rax, qword [rbp - 8]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
shr eax, 0x1e
xor dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
imul eax, eax, 0x6c078965
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__624u__1u__0u__unsigned_int_
add dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 8]
mov dword [rdx + rcx*4], eax
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0x26f
jbe 0x14001b3e9
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14001b490
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
cmp rax, 0x26f
jbe 0x14001b4bb
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym._ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18EL
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
lea rcx, [rax + 1]
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x9c0], rcx
mov rdx, qword [rbp + 0x10]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0xb
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0x12
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
add rsp, 0x30
pop rbp
ret

Function at 0x14001fde0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400211c0]
jmp sym.__emutls_get_address

Function at 0x14001fdf0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400211c0]
jmp sym.__emutls_get_address
Function at 0x140002470
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x138]
sub rsp, 0x220
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140028ee0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140003350
nop
lea rcx, [rsp + 0x48]
call fcn.140003350
nop
lea rcx, [rbp - 0x70]
call fcn.140003350
nop
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140002330
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400037a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400034d0
lea rdx, str.Languages
lea rcx, [rsp + 0x48]
call fcn.140004120
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140003370
lea r8, str..
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001c70
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400037a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400034d0
xor ebx, ebx
lea rcx, [rsi + 0x808]
lea rax, str.English
mov qword [rsp + 0x20], rax
lea r9, str.Directory
lea r8, str.Language
lea rdx, [rsp + 0x60]
call fcn.140001070
nop
lea rcx, [rsp + 0x60]
call fcn.140003620
lea rcx, [0x14001b7b8]
mov rax, qword [rbp - 0x68]
test rax, rax
cmovne rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000265c
nop dword [rax + rax]
cmp byte [rbp - 4], 0x2e
je 0x14000263c
lea rcx, [rsp + 0x30]
call fcn.140003520
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x30]
call fcn.140003f30
test byte [rbp - 0x30], 0x10
je 0x14000263c
lea r9, [0x14001b7b8]
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne r9, rax
movsxd rdi, ebx
mov r8, rdi
mov edx, 0x14a
mov rcx, qword [rsi + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x14000260f
mov r9d, ebx
mov r8, rdi
mov edx, 0x151
mov rcx, qword [rsi + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400033a0
test eax, eax
je 0x14000263a
xor r9d, r9d
mov r8, rdi
mov edx, 0x14e
mov rcx, qword [rsi + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageA]
inc ebx
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x1400025a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x60]
call fcn.1400034d0
nop
lea rcx, [rbp - 0x70]
call fcn.1400034d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400034d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14000d8c0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140008f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
lea rax, [0x14001cc58]
mov qword [rcx], rax
add rcx, 0x68
call fcn.14000b710
test eax, eax
je 0x140008ff2
mov eax, dword [rbx + 0x24]
xor edi, edi
test eax, eax
je 0x140008f6e
mov r8d, dword [rbx + 0x34]
jmp 0x140008f71
mov r8d, edi
test eax, eax
je 0x140008f7a
mov edx, dword [rbx + 0x30]
jmp 0x140008f7c
mov edx, edi
mov rcx, qword [rbx + 0x40]
mov r9d, dword [rbx + 0x38]
sub r9d, dword [rbx + 0x30]
mov r10d, dword [rbx + 0x3c]
sub r10d, dword [rbx + 0x34]
mov rax, qword [rbx + 0x60]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
mov r8d, dword [rbx + 0x34]
mov edx, dword [rbx + 0x30]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x140008fd4
call fcn.140006b00
mov rdi, rax
mov rdx, rdi
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rax
call fcn.14000b9a0
lea rcx, [rbx + 0x48]
call fcn.140008240
mov rcx, rbx
call fcn.1400081c0
nop
lea rcx, [rbx + 0x68]
call fcn.14000be50
nop
lea rcx, [rbx + 0x48]
call fcn.140008460
nop
lea rax, vtable.CRect.0
mov qword [rbx + 0x28], rax
mov rcx, rbx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
add rsp, 0x68
jmp fcn.140008460
Function at 0x140018430
Capabilities:
Terminate process

Disassembly:
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x70], eax
je 0x1400183a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xbc]
mov eax, eax
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0xa8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x2c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
test byte [rax + rax*8], ah
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + rax*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax], al
add bh, al
and al, 0x48
add byte [rax], al
add byte [rax], al
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x34]
call rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400184e5
jmp fcn.14001871f
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x38]
and al, 0x38
Function at 0x14001847c
Capabilities:
Terminate process

Disassembly:
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x70], eax
je 0x1400183a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xbc]
mov eax, eax
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0xa8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x2c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
test byte [rax + rax*8], ah
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + rax*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax], al
add bh, al
and al, 0x48
add byte [rax], al
add byte [rax], al
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x34]
call rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400184e5
jmp fcn.14001871f
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x38]
and al, 0x38
Function at 0x1400184f8
Capabilities:
Terminate process

Disassembly:
and al, 0x38
mov ecx, dword [rcx + 0xa8]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0xb4]
mov rcx, qword [rsp + 0x80]
call rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14001853e
jmp fcn.14001871f
mov rax, qword [rsp + 0xc0]
lea r9, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rcx + 0xbc]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call rax
test eax, eax
je 0x140018587
cmp dword [rsp + 0x48], 0
jbe 0x140018587
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x14001853e
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
jne 0x14001859d
jmp fcn.14001871f
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 0
jmp 0x1400185bd
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x14
jge 0x1400185eb
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x84]
movsxd rcx, dword [rsp + 0x30]
mov eax, dword [rax + rcx]
add eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov dword [rdx + rcx], eax
jmp 0x1400185b2
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14001861b
jmp fcn.14001871f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xbc]
mov eax, eax
mov rcx, qword [rsp + 0x38]
mov r9d, dword [rcx + 0x9c]
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x58]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 8
jmp 0x140018687
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
and al, 0x30
cmp dword [rsp + 0x30], 0x6000
jge 0x1400186b1
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
jmp 0x14001867c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0xd0]
Function at 0x140018504
Capabilities:
Terminate process

Disassembly:
and al, 0x38
mov ecx, dword [rcx + 0xa8]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0xb4]
mov rcx, qword [rsp + 0x80]
call rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14001853e
jmp fcn.14001871f
mov rax, qword [rsp + 0xc0]
lea r9, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rcx + 0xbc]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call rax
test eax, eax
je 0x140018587
cmp dword [rsp + 0x48], 0
jbe 0x140018587
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x14001853e
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
jne 0x14001859d
jmp fcn.14001871f
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 0
jmp 0x1400185bd
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x14
jge 0x1400185eb
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x84]
movsxd rcx, dword [rsp + 0x30]
mov eax, dword [rax + rcx]
add eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov dword [rdx + rcx], eax
jmp 0x1400185b2
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14001861b
jmp fcn.14001871f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xbc]
mov eax, eax
mov rcx, qword [rsp + 0x38]
mov r9d, dword [rcx + 0x9c]
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x58]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 8
jmp 0x140018687
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
and al, 0x30
cmp dword [rsp + 0x30], 0x6000
jge 0x1400186b1
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
jmp 0x14001867c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0xd0]