joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ea200
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov r11, qword [0x14024ec58]
movaps xmmword [rsp + 0x30], xmm6
mov rdi, r11
mov rax, qword [r11 + 0x4c48]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400ea237
mov eax, dword [r11 + 0x40a0]
mov dword [rbx + 0x6c], eax
cmp qword [r11 + 0x4c58], rbx
je 0x1400ea282
test rbx, rbx
je 0x1400ea270
mov eax, dword [rbx + 0x28]
mov dword [r11 + 0x4c50], eax
mov rax, qword [r11 + 0x39a8]
mov qword [r11 + 0x4c58], rbx
test rax, rax
je 0x1400ea282
mov rcx, rbx
call rax
mov r11, qword [0x14024ec58]
jmp 0x1400ea282
mov dword [r11 + 0x4c50], 0x3f800000
mov qword [r11 + 0x4c58], rbx
movss xmm1, dword [rdi + 0x3ad0]
lea r8, [0x1401fab41]
subss xmm1, dword [rdi + 0x3a40]
movss xmm0, dword [rdi + 0x3acc]
lea rsi, [0x1401fe2a0]
movss dword [rdi + 0x4b98], xmm0
xorps xmm6, xmm6
mov r10d, 0xffffffff
mov r9b, 0x23
mov edx, r10d
maxss xmm1, xmm6
movss dword [rdi + 0x4b9c], xmm1
movss xmm5, dword [r11 + 0x3a40]
addss xmm5, xmm5
addss xmm5, dword [r11 + 0x3e80]
cmp r9b, 0x23
jne 0x1400ea2f4
cmp byte [r8], r9b
jne 0x1400ea2f4
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [rsi + rcx*4]
test r9b, r9b
jne 0x1400ea2e1
not edx
lea rcx, [r11 + 0x4128]
call fcn.1400477a0
mov rcx, rax
test rbx, rbx
jne 0x1400ea330
mov rax, qword [r11 + 0x4c48]
mov rbx, qword [rax]
xor esi, esi
test rcx, rcx
je 0x1400ea344
cmp word [rcx + 0x100], si
jne 0x1400ea3e2
movss xmm1, dword [rbx + 0x130]
movaps xmm3, xmm6
movss xmm0, dword [rbx + 0x10]
movaps xmm4, xmm1
addss xmm4, dword [rbx + 8]
movss xmm2, dword [rbx + 0x134]
subss xmm0, xmm1
addss xmm2, dword [rbx + 0xc]
addss xmm0, dword [rbx + 0x138]
or dword [r11 + 0x4b08], 3
movss dword [r11 + 0x4b1c], xmm4
movss dword [r11 + 0x4b20], xmm2
movss dword [r11 + 0x4b30], xmm5
maxss xmm3, xmm0
mov qword [r11 + 0x4b24], rsi
mov dword [r11 + 0x4b0c], 1
mov byte [r11 + 0x4b48], 1
mov dword [r11 + 0x4b10], 1
addss xmm3, xmm4
subss xmm3, xmm4
movss dword [r11 + 0x4b2c], xmm3
addss xmm5, dword [rbx + 0x134]
movss dword [rbx + 0x134], xmm5
mov eax, dword [rbx]
movaps xmm1, xmm6
or dword [r11 + 0x4b08], 0x200
mov ecx, 3
mov dword [r11 + 0x4b74], eax
call fcn.1400491f0
mov rbx, qword [0x14024ec58]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3a18]
lea rcx, [rbx + 0x4bb8]
movss xmm0, dword [rbx + 0x3a1c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14007cc30
xor edx, edx
mov qword [rbx + 0x3a18], rsi
mov r8d, 0x8050f
lea rcx, str.MainMenuBar
call fcn.140054ff0
mov ecx, 2
movzx ebx, al
call fcn.140049300
mov qword [rdi + 0x4b98], rsi
test bl, bl
je 0x1400ea479
call fcn.1400e9ca0
jmp 0x1400ea47e
call fcn.140057ca0
mov rsi, qword [rsp + 0x58]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ff610
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov ebx, ecx
call fcn.1401be750
test eax, eax
jne 0x1400ff815
cmp byte [0x140249884], al
mov qword [rsp + 0x30], rbp
jne 0x1400ff63d
xor ebp, ebp
jmp 0x1400ff659
mov ecx, 5
call qword [0x1402498f0]
mov rbp, rax
test rax, rax
je 0x1400ff659
mov rcx, rax
call qword [0x140249900]
test ebx, ebx
jle 0x1400ff7f8
test rsi, rsi
je 0x1400ff7f8
cmp dword [0x14024efd0], 0
mov qword [rsp + 0x38], rdi
jne 0x1400ff77f
call fcn.1401be750
test eax, eax
je 0x1400ff695
movups xmm0, xmmword [str.expand_32_byte_k]
movups xmmword [0x14024efd0], xmm0
jmp 0x1400ff6f9
cmp byte [0x140249884], 0
jne 0x1400ff6a7
mov rdi, qword [0x14024ed20]
jmp 0x1400ff6e6
mov ecx, 2
mov qword [rsp + 0x40], r14
call qword [0x1402498f0]
mov r14, rax
test rax, rax
je 0x1400ff6da
mov rcx, rax
call qword [0x140249900]
mov rdi, qword [0x14024ed20]
mov rcx, r14
call qword [0x140249910]
jmp 0x1400ff6e1
mov rdi, qword [0x14024ed20]
mov r14, qword [rsp + 0x40]
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x14024efd0], xmm0
test rdi, rdi
jne 0x1400ff71b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14024efe0], xmm0
mov qword [0x14024f000], rax
movups xmmword [0x14024eff0], xmm0
mov dword [0x14024f008], eax
jmp 0x1400ff75f
mov eax, dword [0x140249a30]
test eax, eax
je 0x1400ff74d
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x14024efe0], xmm0
mov dword [0x14024efe0], eax
movups xmmword [0x14024eff0], xmm0
mov qword [0x14024f000], rcx
mov dword [0x14024f008], ecx
jmp 0x1400ff75f
lea r8, [0x14024efe0]
mov edx, 0x2c
mov rcx, rdi
call qword [rdi + 0x68]
mov eax, dword [0x14024f000]
xor cl, cl
mov byte [0x14024f050], cl
mov dword [0x14024f00c], eax
mov dword [0x14024f000], 0
jmp 0x1400ff786
movzx ecx, byte [0x14024f050]
movzx eax, cl
lea rdi, [0x14024f010]
cmp ebx, eax
jle 0x1400ff7d5
test cl, cl
je 0x1400ff7b3
movzx r8d, cl
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, byte [0x14024f050]
sub ebx, ecx
add rsi, rcx
inc dword [0x14024f000]
lea rdx, [0x14024efd0]
mov rcx, rdi
call fcn.1400ff240
mov cl, 0x40
mov byte [0x14024f050], cl
cmp ebx, 0x40
jg 0x1400ff794
movzx eax, cl
mov rcx, rsi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub byte [0x14024f050], bl
mov rdi, qword [rsp + 0x38]
jmp 0x1400ff802
mov dword [0x14024efd0], 0
test rbp, rbp
je 0x1400ff810
mov rcx, rbp
call qword [0x140249910]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14011a540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
mov r9, rcx
jne 0x14011a597
movzx eax, byte [rcx + 0x10]
test al, al
je 0x14011a597
cmp al, 1
jne 0x14011a559
test edx, edx
jne 0x14011a597
mov r10, qword [rcx + 8]
test r8, r8
je 0x14011a572
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
je 0x14011a594
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2f0]
cmp edx, dword [rcx + 0x80]
jle 0x14011a594
cmp byte [rcx + 0xa], 0
jne fcn.140112550
xor eax, eax
ret
jmp fcn.14011a1c0
Function at 0x14012d990
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
je 0x14012d9bf
lea r8d, [rdx + 1]
nop dword [rax]
mov ecx, dword [rax + 0xc8]
mov edx, r8d
xor edx, ecx
and edx, 3
xor edx, ecx
mov dword [rax + 0xc8], edx
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14012d9a0
ret
Function at 0x14013a190
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.1400fbf20
mov rbx, rax
test rax, rax
jne 0x14013a1d2
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp byte [0x140249884], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x14013a237
mov rax, qword [0x140249a10]
test rax, rax
je 0x14013a1fc
mov ecx, 0xc8
call rax
test eax, eax
jne 0x14013a237
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400ff820]
mov qword [rbx + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14013a24f
jmp 0x14013a23f
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x14013a26c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14016f7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x14016f9d7
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14016f838
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x14016f848
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe0]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x14016f875
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.140128980
jmp 0x14016f8a0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.14016eab0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x14016f8df
mov rcx, rdi
call fcn.140128840
test eax, eax
jne 0x14016f9be
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x14016f9be
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x54], ecx
mov dword [rdx + 0x50], r14d
mov word [rdx + 0x4a], 8
test r14d, r14d
je 0x14016f9ad
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x14016f9ad
mov dword [rbx + rax*4 + 0xe0], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x14016f810
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401cd558
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401cd5dc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401f1da0]
cmp byte [rcx + rax], 0
je 0x1401cd5dc
dec r8
sub rdx, 1
jne 0x1401cd5c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401ce440
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005746
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005746
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005746
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005746
cmp dword [rcx + 0x84], 0xe
jbe 0x140005746
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005748
xor al, al
add rsp, 0x28
ret
Function at 0x1400110d2
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a160
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, [0x1400320ec]
call fcn.140011807
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001a1b8
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 0x14001a2ca
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 0x14001a263
cmp qword [rbp + 0x28], 0
jle 0x14001a263
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001a201
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.140011780
nop
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]
nop
cmp qword [rbp + 0x130], 0
jle 0x14001a2b9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001a2b9
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 0x14001146f
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d020
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 0x140011587
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001db50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001db70
xor al, al
jmp 0x14001dbf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001db83
xor al, al
jmp 0x14001dbf1
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 0x14001dbad
xor al, al
jmp 0x14001dbf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001dbc1
xor al, al
jmp 0x14001dbf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001dbd3
xor al, al
jmp 0x14001dbf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001dbef
xor al, al
jmp 0x14001dbf1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400117e9
Capabilities:
Write file on windows

Disassembly:
jmp 0x140016b00
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 [0x14002b040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400320ec]
call fcn.140011807
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140016b67
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016b6e
mov al, 1
jmp 0x140016cbe
call fcn.140011221
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.140011221
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011645
movzx eax, al
test eax, eax
je 0x140016bbf
xor al, al
jmp 0x140016cbe
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 0x140016c24
cmp dword [rbp + 0x154], 1
je 0x140016c2f
cmp dword [rbp + 0x154], 3
je 0x140016cad
jmp 0x140016cbc
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 0x140016c7f
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 0x140016c7f
xor al, al
jmp 0x140016cbe
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016c9a
mov dword [rbp + 0x154], 1
jmp 0x140016ca4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140016cbe
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140016cbe
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400257b0]
call fcn.140011690
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400113c5
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001b450
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001184d
movzx eax, al
test eax, eax
jne 0x14001b470
mov ecx, 7
call fcn.1400116a4
nop
mov byte [rsp + 0x20], 0
call fcn.1400116ea
mov byte [rsp + 0x21], al
cmp dword [0x14002b740], 1
jne 0x14001b494
mov ecx, 7
call fcn.1400116a4
nop
jmp 0x14001b4ec
cmp dword [0x14002b740], 0
jne 0x14001b4e7
mov dword [0x14002b740], 1
lea rdx, [0x140024770]
lea rcx, [0x140024440]
call fcn.1400113a2
test eax, eax
je 0x14001b4c8
mov eax, 0xff
jmp 0x14001b5f1
lea rdx, [0x140024330]
lea rcx, [section..rdata]
call fcn.1400116d1
mov dword [0x14002b740], 2
jmp 0x14001b4ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011681
call fcn.1400115b4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001b549
mov rcx, qword [rsp + 0x30]
call fcn.1400112e4
movzx eax, al
test eax, eax
je 0x14001b549
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 [0x140033020]
nop
call fcn.14001161d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001b57d
mov rcx, qword [rsp + 0x38]
call fcn.1400112e4
movzx eax, al
test eax, eax
je 0x14001b57d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400117bc
nop
call fcn.14001b6a0
mov dword [rsp + 0x28], eax
call fcn.140011587
movzx eax, al
test eax, eax
jne 0x14001b59c
mov ecx, dword [rsp + 0x28]
call fcn.140011091
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001b5ab
call fcn.1400117d5
nop
xor edx, edx
mov cl, 1
call fcn.1400112b2
mov eax, dword [rsp + 0x28]
jmp 0x14001b5f1
add rsp, 0x68
ret
Function at 0x1400062d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006322
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006322
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006322
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006322
cmp dword [rcx + 0x84], 0xe
jbe 0x140006322
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006324
xor al, al
add rsp, 0x28
ret
Function at 0x1400024e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140002501
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000252e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002530
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002589
test ecx, ecx
jle 0x140002569
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002589
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002589
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
push 0x5a403cff
push qword [rsi]
cmp dword [rsi - 1], ecx
and esp, dword [0x16322ee2a]
jmp cs:[rdx]