joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a2a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14007a2ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007a2bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007a2a5
lea eax, [rcx + 1]
jmp 0x14007a2cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007a2de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007a2c4
sub eax, 3
jb 0x14007a2fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007a34d
sar eax, 1
movsxd rbp, eax
jb 0x14007a334
jmp 0x14007a30c
add ebx, ebx
jne 0x14007a30a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007a334
inc ecx
add ebx, ebx
jne 0x14007a31a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007a334
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007a32d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007a31c
add ecx, 2
jmp 0x14007a339
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007a262
jmp 0x14007a2ad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x45a00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007a39d
cmp rsi, rcx
jae 0x14007a3a5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007a384
cmp al, 0x8f
ja 0x14007a384
cmp byte [rsi - 2], 0xf
je 0x14007a38a
sub al, 0xe8
cmp al, 1
ja 0x14007a36e
cmp rsi, rcx
jae 0x14007a3a5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007a374
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007a3a5
lodsb al, byte [rsi]
jmp 0x14007a384
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x76000]
mov eax, dword [rdi]
or eax, eax
je 0x14007a40e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7b5a8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14007a3b2
jns 0x14007a3e7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14007a3f1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14007a408
mov qword [rbx], rax
add rbx, 8
jmp 0x14007a3d2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14007a448
cmp al, 0xef
ja 0x14007a43a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007a41a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007a429
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14007a49c
sub rsp, 0xffffffffffffff80
jmp 0x140028750
Function at 0x14000b4d0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x14000b64f
mov rsi, rdx
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b510
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b53e
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
movzx eax, word [rsi]
cmp eax, 0x5a4d
jne 0x14000b64f
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b57a
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
movsxd rdi, dword [rsi + 0x3c]
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b5ac
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
cmp edi, 0x400
jg 0x14000b64f
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b5e6
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
add rsi, rdi
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b617
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
cmp dword [rsi], 0x4550
jne 0x14000b64f
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000b651
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
jmp 0x14000b651
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400132c0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140014750
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140014750
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x140014e00
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1400161a0
test al, al
je 0x140014e3d
mov ecx, 2
call qword [fcn.140014750]
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140014dd0
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400162a0
Function at 0x140014eb0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400161a0
test al, al
je 0x140014ee5
mov ecx, 2
call qword [fcn.140014750]
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140014dd0
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400162a0

Function at 0x140015d30
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140039008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x140015d9c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140015d9c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x140015d9c
movzx edx, word [rax + 6]
test edx, edx
je 0x140015d9c
sub rcx, qword [0x140039008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140015d88
add rax, 0x28
dec edx
je 0x140015d9c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140015d80
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140015d80
jmp 0x140015d9e
xor eax, eax
ret

Function at 0x140015da0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140039008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140015dd5
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140015dd5
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140015dd5
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140015e50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140039008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140015e7c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140015e7c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x140015e7e
xor eax, eax
ret
Function at 0x140015fe0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x140042fab], 1
jne 0x140016005
cmp byte [0x140042faa], 0
jne 0x140016024
jmp 0x140016044
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x140016044
mov ecx, 2
call qword [fcn.140014750]
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.1400139f0
lea rax, [0x14003a130]
mov qword [rsi], rax
lea rax, [0x140042f98]
mov qword [rsi + 8], rax
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], 0
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x80]
movups xmm0, xmmword [rdi + 0x10]
movdqu xmm1, xmmword [rdi + 0x30]
pshufd xmm1, xmm1, 0x4e
movdqu xmm2, xmmword [rdi + 0x20]
pshufd xmm2, xmm2, 0x4e
movups xmm3, xmmword [rdi + 0x40]
movups xmm4, xmmword [rdi + 0x50]
movups xmm5, xmmword [rdi + 0x60]
movups xmm6, xmmword [rdi + 0x70]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rax
movaps xmmword [rsi + 0x130], xmm0
mov qword [rsi + 0x140], rcx
movdqu xmmword [rsi + 0x148], xmm1
movdqu xmmword [rsi + 0x158], xmm2
movups xmmword [rsi + 0x168], xmm3
movups xmmword [rsi + 0x178], xmm4
movups xmmword [rsi + 0x188], xmm5
movups xmmword [rsi + 0x198], xmm6
mov qword [rsi + 0x1a8], rdx
test rdx, rdx
je 0x14001618b
mov rcx, rsi
call fcn.1400145f0
test al, al
jne 0x140016192
mov byte [rsi + 0x658], 1
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400161a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140042fab], 1
jne 0x1400161bc
cmp byte [0x140042faa], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140042faa]
mov byte [0x140042fab], 1
add rsp, 0x28
ret
Function at 0x1400161f0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x140042fab], 1
jne 0x140016213
cmp byte [0x140042faa], 0
jne 0x140016232
jmp 0x140016257
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x140016257
mov ecx, 2
call qword [fcn.140014750]
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.1400139f0
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x140045008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14001628b
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x140045008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400162a0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x140042fab], 1
jne 0x1400162c4
cmp byte [0x140042faa], 0
jne 0x1400162e3
jmp 0x140016308
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x140016308
mov ecx, 2
call qword [fcn.140014750]
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.1400139f0
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x140045008]
mov ebp, 0xffffe672
test al, al
je 0x1400163a9
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x140045008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x1400163a9
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [0x140045008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x140045008]
cmp qword [rsp + 0x50], 0
je 0x1400163a9
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x140045008]
add rax, qword [rsp + 0x50]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x140045008]
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400163c0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp byte [0x140042fab], 1
jne 0x1400163dc
cmp byte [0x140042faa], 0
jne 0x1400163fb
jmp 0x140016418
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x140016418
mov ecx, 2
call qword [fcn.140014750]
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.1400139f0
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x140045008]
mov rcx, rsi
xor edx, edx
add rsp, 0x20
pop rsi
jmp r8
Function at 0x140016440
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
cmp byte [0x140042fab], 1
jne 0x140016460
cmp byte [0x140042faa], 0
jne 0x14001647f
jmp 0x14001649f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x14001649f
mov ecx, 2
call qword [fcn.140014750]
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.1400139f0
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x140045008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400164d0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp byte [0x140042fab], 1
jne 0x1400164ec
cmp byte [0x140042faa], 0
jne 0x14001650b
jmp 0x140016528
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x140016528
mov ecx, 2
call qword [fcn.140014750]
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.1400139f0
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x140045008]
mov eax, 0xffffe674
add rsp, 0x20
pop rsi
ret

Function at 0x140016550
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x140042fab], 1
jne 0x140016579
cmp byte [0x140042faa], 0
jne 0x140016598
jmp 0x1400165bc
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140042fab], 1
test rax, rax
setne byte [0x140042faa]
je 0x1400165bc
mov ecx, 2
call qword [fcn.140014750]
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.1400139f0
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x140045008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400165f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140042fa9], 1
jne 0x14001660c
cmp byte [0x140042fa8], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140042fa8]
mov byte [0x140042fa9], 1
add rsp, 0x28
ret
Function at 0x1800110fa
Capabilities:
Write file on windows

Disassembly:
jmp 0x18001dbf0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1800370f5]
call fcn.1800118de
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x18001dc47
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x18001dd53
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x18001dcec
cmp qword [rbp + 0x28], 0
jle 0x18001dcec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x18001dc8c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.180011866
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x18001dd42
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x18001dd42
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x180011479
Capabilities:
Query environment variable

Disassembly:
jmp 0x18001ddc0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x180030040]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x1800370f9]
call fcn.1800118de
lea rcx, [0x180030778]
call fcn.1800110eb
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x138]
call fcn.180011406
nop
lea rdx, [0x180030738]
lea rcx, [rbp + 0x138]
call fcn.180011217
lea rcx, [rbp + 0x138]
call fcn.1800110eb
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x194], 1
jmp 0x18001de82
mov eax, dword [rbp + 0x194]
inc eax
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0x2710
jg 0x18001dea3
lea rdx, [0x18002aa28]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180011113
jmp 0x18001de74
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x178]
call fcn.180011541
jmp 0x18001deae

Function at 0x18001150a
Capabilities:
Terminate process

Disassembly:
jmp 0x180021530
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 0x1800118c0
Capabilities:
Write file on windows

Disassembly:
jmp 0x180018ea0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x180030040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1800370f5]
call fcn.1800118de
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x180018f06
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180018f0d
mov al, 1
jmp 0x18001905d
call fcn.18001128a
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.18001128a
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.180011712
movzx eax, al
test eax, eax
je 0x180018f5e
xor al, al
jmp 0x18001905d
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x180018fc3
cmp dword [rbp + 0x154], 1
je 0x180018fce
cmp dword [rbp + 0x154], 3
je 0x18001904c
jmp 0x18001905b
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x18001901e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x18001901e
xor al, al
jmp 0x18001905d
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180019039
mov dword [rbp + 0x154], 1
jmp 0x180019043
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x18001905d
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18001905d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1800297d0]
call fcn.180011767
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.18001145b
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret