joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.1400264b0
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x140067c7a
mov edx, dword [rsp + 0x80]
mov ecx, 0x14
call fcn.140067980
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x13
call fcn.140067980
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x12
call fcn.140067980
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x11
call fcn.140067980
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x28]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x44]
call fcn.1400264b0
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14004b990
mov eax, dword [rsp + 0x78]
and eax, 2
test eax, eax
je 0x140067d1c
mov edx, dword [rsp + 0x80]
mov ecx, 7
call fcn.140067980
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 6
call fcn.140067980
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 5
call fcn.140067980
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 4
call fcn.140067980
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x34]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x4c]
call fcn.1400264b0
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14004b990
mov eax, dword [rsp + 0x78]
and eax, 4
test eax, eax
je 0x140067dbe
mov edx, dword [rsp + 0x80]
mov ecx, 0xb
call fcn.140067980
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0xa
call fcn.140067980
movss xmm1, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 9
call fcn.140067980
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 8
call fcn.140067980
movss xmm1, dword [rsp + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x40]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.1400264b0
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14004b990
movss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x140167ee4]
jp 0x140067dd2
je 0x140067df6
mov ecx, 0xe
call fcn.14004e530
movzx eax, al
test eax, eax
je 0x140067df6
movss xmm1, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.14004b940
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x140167ee4]
jp 0x140067e0a
je 0x140067e2e
mov ecx, 0xf
call fcn.14004e530
movzx eax, al
test eax, eax
je 0x140067e2e
movss xmm1, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.14004b940
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400766b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400752a0
test eax, eax
je 0x140076848
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400544e0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400752a0
test eax, eax
je 0x140076848
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x14007683c
mov r8d, 0x8c6
lea rdx, [0x14012d790]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call fcn.1400d509c
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140076814
mov eax, dword [rsp + 0x50]
jmp 0x140076859
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400bf720
add rsp, 0xa8
ret
Function at 0x14008d9c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400547d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.14008cd00
movzx eax, al
test eax, eax
je 0x14008da01
lea rax, str.Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__.
test rax, rax
jne 0x14008da1c
mov r8d, 0x10c
lea rdx, [0x1401373d0]
lea rcx, str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.1400d509c
xor eax, eax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1401c9898]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.1400264b0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1401c98a0]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1401c98a8]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1401c98a0], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008daf4
mov dword [rsp + 0x28], 1
jmp 0x14008dafc
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008db2b
mov dword [rsp + 0x2c], 1
jmp 0x14008db33
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008db62
mov dword [rsp + 0x30], 1
jmp 0x14008db6a
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.14008d1c0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x14008dba5
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14008dbae
call fcn.1400593d0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x1401c5db8], eax
je 0x14008dbd1
mov eax, dword [rsp + 0x38]
mov dword [0x1401c5db8], eax
call fcn.14008d090
call fcn.14008d320
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bf720
add rsp, 0x78
ret
Function at 0x1400998a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401c8338]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1978]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 0x1980]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x38], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.1400264b0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x1400999e6
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 0xa
jne 0x1400999a8
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.14006fad0
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1400999a3
jmp 0x1400999e6
jmp 0x140099921
cmp dword [rsp + 0x28], 0xd
jne 0x1400999b4
jmp 0x140099921
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.14008ffe0
mulss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
jmp 0x140099921
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140099a05
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x140099a41
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400264b0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140167ee4]
ja 0x140099a65
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140167ee4]
jp 0x140099a7f
jne 0x140099a7f
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x140099a9a
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400b6cb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.140010e80
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400b6d25
xor al, al
jmp 0x1400b6d8d
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], 0
je 0x1400b6d80
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1400b6d80
mov dword [rsp + 0x40], 1
jmp 0x1400b6d88
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bf720
add rsp, 0x68
ret
Function at 0x1400b93f0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1401c8350]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x1401c8328]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1401c8354], eax
movsxd rax, dword [0x1401c8354]
mov qword [rsp + 0x20], 0
mov r9d, 0x3c
lea r8, [0x1401c59d8]
mov rdx, rax
mov rcx, qword [0x1401c8328]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x1401c8115]
cmp eax, 1
jne 0x1400b9474
mov eax, dword [0x1401c8354]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1400bc760
jmp 0x1400b9492
movzx eax, byte [0x1401c8117]
cmp eax, 1
jne 0x1400b9492
mov eax, dword [0x1401c8354]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1400bc760
movzx eax, byte [0x1401c8116]
cmp eax, 1
jne 0x1400b94b2
mov eax, dword [0x1401c8354]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1400bc760
jmp 0x1400b94d0
movzx eax, byte [0x1401c8134]
cmp eax, 1
jne 0x1400b94d0
mov eax, dword [0x1401c8354]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1400bc760
mov eax, dword [0x1401c8354]
add eax, 0x5e
mov ecx, dword [0x1401c8354]
add ecx, 9
mov edx, eax
call fcn.1400bc7a0
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1401c8348]
mov rdx, rax
mov rcx, qword [0x1401c8328]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1401c8354]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1401c8348]
mov rdx, rax
mov rcx, qword [0x1401c8328]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret

Function at 0x1400bcfb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400bcffe
xor eax, eax
jmp 0x1400bd071
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400bd05e
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.1400cef24
test eax, eax
jne 0x1400bd04a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x1400bd04a
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400bd01a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x1400bd071
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400bf720
add rsp, 0x288
ret
Function at 0x1400c0614
Capabilities:
Parse pe header

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

Function at 0x1400ce268
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400ce0d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ce0d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ce0d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ce0d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ce0d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ce0d3
cmp dword [rcx + 0xf8], 0
je 0x1400ce0d3
mov ecx, ebx
call fcn.1400ce184
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400cdf60
nop
cmp dword [rbp + 0x20], 0
je 0x1400ce121
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ce12c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400ce064
Function at 0x1400ce61c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400c0280
sub rsp, rax
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400dc5ac
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400ce66b
mov rax, rbp
jmp 0x1400ce773
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1c7990]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e2190
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1c7990]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400ce76f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ce76f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e2190
test rax, rax
js 0x1400ce76f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400ce76f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400ce761
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400ce761
cmp byte [rcx], 0xd
jne 0x1400ce747
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400ce756
cmp byte [rcx + 1], 0xa
jne 0x1400ce756
inc rcx
jmp 0x1400ce756
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1774b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400ce729
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400ce773
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400bf720
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d8874
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401018d8]
mov rbp, rcx
call fcn.1400e63e8
xor edi, edi
test rax, rax
je 0x1400d895a
mov ebx, edi
call fcn.1400d9230
mov r14d, dword [rax]
call fcn.1400d9230
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400e6334
mov rsi, rax
test rax, rax
je 0x1400d88eb
call fcn.1400d9230
mov dword [rax], r14d
jmp 0x1400d8915
call fcn.1400d9230
cmp dword [rax], 0x22
jne 0x1400d8952
call fcn.1400d9230
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400e6334
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400d8952
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400d8919
cmp rax, 3
je 0x1400d8934
mov rcx, rsi
call fcn.1400d87d0
test al, al
je 0x1400d8945
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400d8945
mov dil, 1
mov rcx, rbx
call fcn.1400cd1bc
mov al, dil
jmp 0x1400d895c
mov rcx, rbx
call fcn.1400cd1bc
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400bf720
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400dc7c8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400dc7de
mov al, 1
jmp 0x1400dc83e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400dc7ef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400dc83c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400e6958
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400dc83c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400dc83c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400dc83c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400dc83e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400e1530
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401c7990]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400e1587
cmp word [rdx], r13w
jne 0x1400e1587
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e158c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e16b1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e16d2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e15c5
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e15ec
cmp r9, r8
jae 0x1400e15fc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400e15a6
jmp 0x1400e16b1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e16a6
cmp dword [rsp + 0x80], esi
je 0x1400e16a6
lea r8, [0x1401c7990]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e167e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e164e
mov word [rbx], r13w
jmp 0x1400e16ae
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400e165b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e16ae
cmp word [rsp + 0x70], r13w
jne 0x1400e168b
cmp rbx, r14
je 0x1400e1648
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400e2198
cmp word [rsp + 0x70], r13w
je 0x1400e16b1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401c7990]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e16ab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e16b1