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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1400a407c]
call fcn.140075db4
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1400796f0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140014275
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1400141c9
mov dword [rbp + 0x160], 1
jmp 0x1400141d3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140014270
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x14001424a
cmp qword [rbp + 0x198], 2
jb 0x14001424a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001424a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001424a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140014194
jmp 0x14001430f
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x14001430f
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400142e6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400142e6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400142e6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140014275
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14006faf0
Capabilities:
Enumerate process modules

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1c8]
mov rax, qword [0x140097858]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400a4377]
call fcn.140075db4
mov qword [rbp + 8], 0
mov r8d, dword [rbp + 0x1a0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14006fc0c
lea r9, [rbp + 0x84]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14006fc02
cmp dword [rbp + 0x84], 0
je 0x14006fc02
mov eax, dword [rbp + 0x84]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14006fc02
mov eax, dword [rbp + 0x84]
xor edx, edx
mov ecx, 8
div rcx
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x84]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14006fbf8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + rax]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14008c450]
call fcn.140075c58
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140075f60
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x14006fc40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x140097858]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x1400a4377]
call fcn.140075db4
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14006fd0f
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x130
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14006fd05
mov rcx, qword [rbp + 0x270]
call fcn.140071480
mov rdx, rax
lea rcx, [rbp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14006fcf4
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x14006fd05
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006fccf
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14008c3f0]
call fcn.140075c58
mov eax, edi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140075f60
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x14006fdd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x140097858]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x1400a4377]
call fcn.140075db4
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14006fe37
xor al, al
jmp 0x14006fee7
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14006fe60
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14006fee7
mov byte [rbp + 0x284], 0
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x448]
call fcn.14006ebe0
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x480], rax
mov rdx, qword [rbp + 0x4b0]
mov rcx, qword [rbp + 0x480]
call fcn.14006de50
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x448]
call fcn.14006f470
movzx eax, byte [rbp + 0x424]
test eax, eax
je 0x14006fec5
mov byte [rbp + 0x284], 1
jmp 0x14006fed6
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14006fe67
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbp + 0x284]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14008c510]
call fcn.140075c58
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.140075f60
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x140070310
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rcx, [0x1400a4377]
call fcn.140075db4
call fcn.140071b20
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140070371
movzx eax, byte [0x140097820]
test eax, eax
jne 0x14007035a
mov dword [rbp + 0x114], 1
jmp 0x140070364
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov byte [0x140097820], al
call fcn.14004b4f0
call fcn.14004d130
call fcn.14001db40
movzx eax, byte [0x140097820]
mov byte [rbp + 0x114], al
call fcn.140011e00
movzx ecx, byte [rbp + 0x114]
mov byte [rax + 0x68], cl
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0xe4]
call fcn.1400047a0
mov qword [rbp + 0x118], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0x104]
call fcn.1400047a0
mov qword [rbp + 0x120], rax
mov r8, qword [rbp + 0x118]
xor edx, edx
mov rcx, qword [rbp + 0x120]
call fcn.140024240
mov r8d, 0x187
xor edx, edx
lea rcx, str.project_YX_watermark
call fcn.140006f50
lea rcx, str.Undeceted
call fcn.140069c90
call fcn.14000e470
movzx eax, byte [0x140097820]
test eax, eax
je 0x140070422
call fcn.14006fd40
call fcn.140073390
call fcn.140072060
call fcn.14000e9e0
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 0x1b
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rbp + 0x118], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x14007e61c]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rcx, qword [0x14009e560]
call qword [rax + 0x148]
test eax, eax
jl 0x140070540
call fcn.14001f410
call fcn.140011a00
mov rcx, rax
call fcn.14004b530
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rcx, qword [0x14009e560]
call qword [rax + 0x150]
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x88760868
jne 0x1400705d3
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rcx, qword [0x14009e560]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400705d3
call fcn.14004b400
mov rax, qword [0x14009e560]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x118], rax
lea rdx, [0x14009e570]
mov rcx, qword [0x14009e560]
call qword [rbp + 0x118]
call fcn.14004aea0
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140070680
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x190
lea rbp, [rsp + 0x60]
lea rcx, [0x1400a4377]
call fcn.140075db4
mov dword [rbp + 0xc8], 0x50
mov dword [rbp + 0xcc], 0
lea rax, [0x140070890]
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], 0
mov dword [rbp + 0xdc], 0
mov qword [rbp + 0xe0], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0xe8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
lea rax, [0x14008c988]
mov qword [rbp + 0x108], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x110], rax
lea rax, [0x14009e500]
lea rcx, [rbp + 0xc8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x50
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x14009e500]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cmp qword [0x14009e4d8], 0
je 0x1400707c7
lea rdx, [0x14009e620]
mov rcx, qword [0x14009e4d8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x14009e630]
mov rcx, qword [0x14009e4d8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x14009e630]
mov dword [0x14009e620], eax
mov eax, dword [0x14009e634]
mov dword [0x14009e624], eax
mov eax, dword [0x14009e628]
mov dword [0x14009e4e4], eax
mov eax, dword [0x14009e62c]
mov dword [0x14009e4e0], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [0x14009e4e0]
mov dword [rsp + 0x38], eax
mov eax, dword [0x14009e4e4]
mov dword [rsp + 0x30], eax
mov eax, dword [0x14009e4f0]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14009e4e8]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
lea r8, [0x14008c988]
lea rdx, [0x14008c988]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14009e4f8], rax
lea rdx, [0x140097840]
mov rcx, qword [0x14009e4f8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14009e4f8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x14009e4f8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14009e4f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rsp, [rbp + 0x130]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076eec
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14002a50c
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14002a50c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x14002a469
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14002a517
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14002a4fa
mov edx, eax
cmp rdx, rbp
jae 0x14002a4fa
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x14002a4fa
lea rax, [rdx + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14002a4d2
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14002a4ee
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14002ada0
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x14002a482
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14002a517
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002e400
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002cbf0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14002cc79
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14002cc30
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x14002cd57
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x14002cd57
nop dword [rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14002ccd5
lea rcx, [rsp + 0x28]
call fcn.140026ab0
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14002ccf5
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002cd8d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14002cd4d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cd48
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cdd6
call fcn.14002e6ac
inc ebx
cmp ebx, dword [rdi]
jb 0x14002cca0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002e400
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14002cde2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cddd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002cddd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e6ac
mov rax, rbx
jmp 0x14002cd6a
Function at 0x14002d180
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 0x14002d1a8
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 0x14002d1ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002d1d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14002d229
test ecx, ecx
jle 0x14002d209
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 0x14002d229
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002d229
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

Function at 0x14002d250
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14002d272
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14002d288
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002d2a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002d2a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002d2e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002d37e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002d31d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14002d35e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14002d37e
cmp rbx, rax
ja 0x14002d330
test rbx, rbx
je 0x14002d37e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14002d7b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002d7dd
xor eax, eax
jmp 0x14002d949
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002d817
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002d817
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14002d949
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002d93c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002d85a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002d885
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002d941
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002d8f4
sub eax, 1
je 0x14002d8f4
cmp eax, 2
jne 0x14002d93c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002d941
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002d922
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14002d93c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002d941
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002e400
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret