joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e287
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.14001dfd7
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.14001de28
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14001e2f4
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_longjmp]
call rax
mov eax, dword [0x1400cf1e0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001e438
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14001e391
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001e34c
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001ca2e
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400cf1e0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14001e438
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001e3cb
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001e438
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001ca2e
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400cf1e0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
call rax
nop
Function at 0x140020520
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
lea rax, [0x1400cf200]
mov rcx, rax
call fcn.14001c2ac
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov eax, dword [rax]
cmp eax, 0xbab1f0ed
jne 0x14002055c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov eax, dword [rax + 4]
test eax, eax
jg 0x14002059c
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
mov dword [rsp + 0x20], 0x28
lea r9, str..._.._.._mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
lea rax, str.Assertion_failed:___s___file__s__line__d_n
mov rdx, rax
call fcn.140019810
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov edx, dword [rax + 4]
sub edx, 1
mov dword [rax + 4], edx
lea rax, [0x1400cf200]
mov rcx, rax
call fcn.14001c32b
mov eax, dword [rbp + 0x18]
add rsp, 0x30
pop rbp
ret

Function at 0x140025cd0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call rcx
nop
jmp 0x1400cbe20
Function at 0x140085f60
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140085fa8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140085f7a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140098a60
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 0x140098a88
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
test eax, eax
jle 0x140098ad0
cdqe
add rsi, rax
sub rbx, rax
jne 0x140098aa0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x140098adc
call rbp
cmp dword [rax], 4
je 0x140098aa0
lea rcx, str.random_device_could_not_be_read
call fcn.1400cd260
nop
nop
nop
nop
nop
nop
nop
nop
mov rax, qword [0x1400d7fb0]
add rax, 0x10
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov eax, dword [rax - 8]
test eax, eax
mov rax, qword [rcx + 8]
jg 0x140098b20
mov dword [rax - 8], 1
ret
lock add dword [rax - 8], 1
ret

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

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x9c0], 0x26f
mov r9, rcx
jbe 0x1400a4b89
call fcn.1400a4aa0
mov rax, qword [r9 + 0x9c0]
lea rdx, [rax + 1]
mov eax, dword [r9 + rax*4]
mov qword [r9 + 0x9c0], rdx
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x28
ret

Function at 0x1400aba40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rcx, 0x3fffffffffffffff
mov rax, qword [rdx]
cmp rcx, rax
jb 0x1400aba9b
lea r9, [rax + 1]
cmp r8, rax
jae 0x1400aba79
add r8, r8
cmp rax, r8
jae 0x1400aba79
cmp rcx, r8
jae 0x1400aba88
movabs r9, 0x4000000000000000
mov qword [rdx], rcx
mov rcx, r9
add rsp, 0x28
jmp fcn.1400cb2e0
lea r9, [r8 + 1]
mov qword [rdx], r8
mov rcx, r9
add rsp, 0x28
jmp fcn.1400cb2e0
lea rcx, [0x1400d38e0]
call fcn.1400cd190
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov qword [rcx + 8], rdx
ret
Function at 0x1400af830
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rax, 0x1fffffffffffffff
mov rcx, qword [rdx]
cmp rax, rcx
jb 0x1400af891
cmp r8, rcx
jb 0x1400af860
add rcx, 1
add rcx, rcx
add rsp, 0x28
jmp fcn.1400cb2e0
add r8, r8
cmp rcx, r8
jae 0x1400af84b
cmp rax, r8
jae 0x1400af888
movabs rcx, 0x4000000000000000
mov qword [rdx], rax
add rsp, 0x28
jmp fcn.1400cb2e0
mov qword [rdx], r8
lea rcx, [r8 + 1]
jmp 0x1400af84f
lea rcx, str.basic_string::_M_create
call fcn.1400cd190
nop
nop
nop
mov qword [rcx + 8], rdx
ret

Function at 0x1400cb2e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 1
test rcx, rcx
cmovne rax, rcx
mov rbx, rax
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x1400cb307
add rsp, 0x20
pop rbx
ret
call fcn.1400c4b90
test rax, rax
je 0x1400cbe40
call rax
jmp 0x1400cb2f4

Function at 0x1400cbb50
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
call fcn.14000db37
nop

Function at 0x1400cbb5a
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1401060c0]
call sub.gdiplus.dll_GdiplusShutdown
nop
nop
nop
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x90
xor eax, eax
mov qword [0x1401060d0], 1
mov qword [0x1401060d8], rax
mov qword [0x1401060e0], rax
movabs rax, 0x302c31202a0e1f43
mov qword [rsp + 0x5f], rax
lea rdx, [rsp + 0x8e]
movabs rax, 0x272d2a141f37252c
mov qword [rsp + 0x67], rax
movabs rax, 0x312237101f30342c
mov qword [rsp + 0x6f], rax
movabs rax, 0x131f362d260e6337
mov qword [rsp + 0x77], rax
movabs rax, 0x1f302e2231242c31
mov qword [rsp + 0x7f], rax
movabs rax, 0x1f33363731223710
mov byte [rsp + 0x8f], 0
mov qword [rsp + 0x87], rax
lea rax, [rsp + 0x5f]
mov rbx, rax
xor byte [rax + 1], 0x43
inc rax
cmp rax, rdx
jne 0x1400cbc0a
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.1400016e8
mov byte [rsp + 0x37], 0
lea rdx, [rsp + 0x36]
movabs rax, 0x4451444155554425
mov qword [rsp + 0x2f], rax
lea rax, [rsp + 0x2f]
xor byte [rax + 1], 0x25
inc rax
cmp rax, rdx
jne 0x1400cbc49
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
xor edx, edx
mov rcx, rsi
mov r8, rax
call fcn.1400aab60
mov rdx, rax
lea rcx, [0x1401060a0]
call fcn.1400abca0
mov rcx, rsi
call fcn.1400a8e80
lea rcx, [0x1400016d0]
call fcn.140001583
mov byte [rsp + 0x79], 0
lea rdx, [rsp + 0x78]
movabs rax, 0x66333331223c384b
mov qword [rsp + 0x5f], rax
movabs rax, 0x2e2566313f222729
mov word [rsp + 0x77], 0x2e28
mov qword [rsp + 0x67], rax
movabs rax, 0x2a3b38652d23653f
mov qword [rsp + 0x6f], rax
mov rax, rbx
xor byte [rax + 1], 0x4b
inc rax
cmp rax, rdx
jne 0x1400cbcd0
mov rdx, rdi
lea rcx, [0x140106100]
call fcn.1400016e8
lea rcx, [0x1400016dc]
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp fcn.140001583
Function at 0x1400cbb70
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1401060c0]
call sub.gdiplus.dll_GdiplusShutdown
nop
nop
nop
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x90
xor eax, eax
mov qword [0x1401060d0], 1
mov qword [0x1401060d8], rax
mov qword [0x1401060e0], rax
movabs rax, 0x302c31202a0e1f43
mov qword [rsp + 0x5f], rax
lea rdx, [rsp + 0x8e]
movabs rax, 0x272d2a141f37252c
mov qword [rsp + 0x67], rax
movabs rax, 0x312237101f30342c
mov qword [rsp + 0x6f], rax
movabs rax, 0x131f362d260e6337
mov qword [rsp + 0x77], rax
movabs rax, 0x1f302e2231242c31
mov qword [rsp + 0x7f], rax
movabs rax, 0x1f33363731223710
mov byte [rsp + 0x8f], 0
mov qword [rsp + 0x87], rax
lea rax, [rsp + 0x5f]
mov rbx, rax
xor byte [rax + 1], 0x43
inc rax
cmp rax, rdx
jne 0x1400cbc0a
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.1400016e8
mov byte [rsp + 0x37], 0
lea rdx, [rsp + 0x36]
movabs rax, 0x4451444155554425
mov qword [rsp + 0x2f], rax
lea rax, [rsp + 0x2f]
xor byte [rax + 1], 0x25
inc rax
cmp rax, rdx
jne 0x1400cbc49
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
xor edx, edx
mov rcx, rsi
mov r8, rax
call fcn.1400aab60
mov rdx, rax
lea rcx, [0x1401060a0]
call fcn.1400abca0
mov rcx, rsi
call fcn.1400a8e80
lea rcx, [0x1400016d0]
call fcn.140001583
mov byte [rsp + 0x79], 0
lea rdx, [rsp + 0x78]
movabs rax, 0x66333331223c384b
mov qword [rsp + 0x5f], rax
movabs rax, 0x2e2566313f222729
mov word [rsp + 0x77], 0x2e28
mov qword [rsp + 0x67], rax
movabs rax, 0x2a3b38652d23653f
mov qword [rsp + 0x6f], rax
mov rax, rbx
xor byte [rax + 1], 0x4b
inc rax
cmp rax, rdx
jne 0x1400cbcd0
mov rdx, rdi
lea rcx, [0x140106100]
call fcn.1400016e8
lea rcx, [0x1400016dc]
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp fcn.140001583
Function at 0x1400cbe20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400cb400
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call fcn.140025cf0
mov rcx, rax
jmp 0x1400cbd60
call fcn.1400cb400
call fcn.1400cb650
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400cbde7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.1400258c0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400259b0
test al, al
jne 0x1400cbe05
lea rbx, [0x1400da8d0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400259b0
test al, al
je 0x1400cbe0a
mov ecx, 8
call fcn.1400cb390
lea r8, [0x14008c180]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1400d7fa0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
add rbx, 0x90
jmp 0x1400cbd76
call fcn.1400cb8c0
mov rcx, rdi
call fcn.140025cd0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rax
call fcn.1400cb400
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
call fcn.1400cb390
lea r8, [fcn.1400c2480]
lea rdx, [0x1400db540]
mov rcx, rax
mov rax, qword [0x1400d8230]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400cbeec
call fcn.1400cb400
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 sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.1400cb530
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rdi
call fcn.140019d20
call fcn.1400cb8c0
call fcn.1400cb400
call fcn.1400cb530
jmp 0x1400cbeda
Function at 0x1400cbe40
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400cb400
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call fcn.140025cf0
mov rcx, rax
jmp 0x1400cbd60
call fcn.1400cb400
call fcn.1400cb650
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400cbde7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.1400258c0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400259b0
test al, al
jne 0x1400cbe05
lea rbx, [0x1400da8d0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400259b0
test al, al
je 0x1400cbe0a
mov ecx, 8
call fcn.1400cb390
lea r8, [0x14008c180]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1400d7fa0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
add rbx, 0x90
jmp 0x1400cbd76
call fcn.1400cb8c0
mov rcx, rdi
call fcn.140025cd0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rax
call fcn.1400cb400
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
call fcn.1400cb390
lea r8, [fcn.1400c2480]
lea rdx, [0x1400db540]
mov rcx, rax
mov rax, qword [0x1400d8230]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400cbeec
call fcn.1400cb400
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 sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.1400cb530
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rdi
call fcn.140019d20
call fcn.1400cb8c0
call fcn.1400cb400
call fcn.1400cb530
jmp 0x1400cbeda
Function at 0x1400cbe70
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400cb400
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call fcn.140025cf0
mov rcx, rax
jmp 0x1400cbd60
call fcn.1400cb400
call fcn.1400cb650
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400cbde7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.1400258c0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400259b0
test al, al
jne 0x1400cbe05
lea rbx, [0x1400da8d0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400259b0
test al, al
je 0x1400cbe0a
mov ecx, 8
call fcn.1400cb390
lea r8, [0x14008c180]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1400d7fa0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
add rbx, 0x90
jmp 0x1400cbd76
call fcn.1400cb8c0
mov rcx, rdi
call fcn.140025cd0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rax
call fcn.1400cb400
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
call fcn.1400cb390
lea r8, [fcn.1400c2480]
lea rdx, [0x1400db540]
mov rcx, rax
mov rax, qword [0x1400d8230]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400cb910
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400cbeec
call fcn.1400cb400
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 sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.1400cb530
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rdi
call fcn.140019d20
call fcn.1400cb8c0
call fcn.1400cb400
call fcn.1400cb530
jmp 0x1400cbeda
Function at 0x1400010b9
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14018d7dc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14018d869
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14018d869
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14018d869
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14018d850
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14018d84a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14018d852
add rdx, 0x28
jmp 0x14018d82f
xor edx, edx
test rdx, rdx
jne 0x14018d85b
xor al, al
jmp 0x14018d86f
cmp dword [rdx + 0x24], 0
jge 0x14018d865
xor al, al
jmp 0x14018d86f
mov al, 1
jmp 0x14018d86f
xor al, al
jmp 0x14018d86f
add rsp, 0x18
ret

Function at 0x140001113
Capabilities:
Terminate process

Disassembly:
jmp 0x14018cfd0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001145
Capabilities:
Terminate process

Disassembly:
jmp 0x14018cfb8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011db
test al, al
je 0x14018ce83
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011b8
mov bl, al
mov ecx, dword [0x1401947e8]
cmp ecx, 1
je 0x14018ce8e
test ecx, ecx
jne 0x14018cdb9
mov dword [0x1401947e8], 1
lea rdx, [0x140192660]
lea rcx, [0x140192330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x14018cd9a
mov eax, 0xff
jmp 0x14018ce73
lea rdx, [0x140192220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1401947e8], 2
jmp 0x14018cdc1
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011a4
call fcn.140001163
mov rbx, rax
cmp qword [rax], 0
je 0x14018cdf4
mov rcx, rax
call fcn.1400010b9
test al, al
je 0x14018cdf4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140198020]
call fcn.140001181
mov rbx, rax
cmp qword [rax], 0
je 0x14018ce16
mov rcx, rax
call fcn.1400010b9
test al, al
je 0x14018ce16
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140001140
mov ebx, eax
call fcn.14000114a
test al, al
je 0x14018ce98
test sil, sil
jne 0x14018ce4d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010af
mov eax, ebx
jmp 0x14018ce73
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011ae
nop
mov ecx, 7
call fcn.1400011ae
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001154
add rsp, 0x28
jmp 0x14018cd2c

Function at 0x14000114a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14018dd90
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14018dddb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14018dddb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14018dddb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14018dddb
cmp dword [rcx + 0x84], 0xe
jbe 0x14018dddb
cmp dword [rcx + 0xf8], 0
je 0x14018dddb
mov al, 1
jmp 0x14018dddd
xor al, al
add rsp, 0x28
ret
Function at 0x14018c9d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp ecx, 2
jge 0x14018c9e7
lea rcx, str.____Missing_PID..._Finding..._n
call fcn.1400010e6
jmp 0x14018c9f5
mov rcx, qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x14018ca0d
lea rcx, str.____Process_not_found_n
call fcn.1400010e6
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, eax
call fcn.1400010a0
xor eax, eax
add rsp, 0x28
ret