joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098ec0
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 [0x1401ec1a0]
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.140097ab0
test eax, eax
je 0x140099058
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.140076ff0
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.140097ab0
test eax, eax
je 0x140099058
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x14009904c
mov r8d, 0x8c6
lea rdx, [0x140179df0]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call fcn.14010c680
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140099024
mov eax, dword [rsp + 0x50]
jmp 0x140099069
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0xa8
ret
Function at 0x1400b0a80
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400772e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.1400afdc0
movzx eax, al
test eax, eax
je 0x1400b0ac1
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 0x1400b0adc
mov r8d, 0x10c
lea rdx, [0x140183c60]
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.14010c680
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 [0x14024c040]
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.14002a7d0
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 [0x14024c048]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x14024c050]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x14024c048], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400b0bb4
mov dword [rsp + 0x28], 1
jmp 0x1400b0bbc
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 0x1400b0beb
mov dword [rsp + 0x2c], 1
jmp 0x1400b0bf3
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 0x1400b0c22
mov dword [rsp + 0x30], 1
jmp 0x1400b0c2a
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.1400b0280
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x1400b0c65
mov dword [rsp + 0x34], 0xffffffff
jmp 0x1400b0c6e
call fcn.14007bee0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x14020dbe8], eax
je 0x1400b0c91
mov eax, dword [rsp + 0x38]
mov dword [0x14020dbe8], eax
call fcn.1400b0150
call fcn.1400b03e0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x78
ret
Function at 0x1400bb550
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 [0x1402134e0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1998]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 0x19a0]
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.14002a7d0
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 0x1400bb696
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 0x1400bb658
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1400922b0
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 0x1400bb653
jmp 0x1400bb696
jmp 0x1400bb5d1
cmp dword [rsp + 0x28], 0xd
jne 0x1400bb664
jmp 0x1400bb5d1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.1400b30a0
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 0x1400bb5d1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1400bb6b5
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400bb6f1
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.14002a7d0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1401da584]
ja 0x1400bb715
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1401da584]
jp 0x1400bb72f
jne 0x1400bb72f
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 0x1400bb74a
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 0x1400d8c50
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 [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.14002ca60
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 0x1400d8cc5
xor al, al
jmp 0x1400d8d2d
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 0x1400d8d20
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1400d8d20
mov dword [rsp + 0x40], 1
jmp 0x1400d8d28
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x68
ret
Function at 0x1400d8d40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x1a0]
mov byte [rax], 0
mov rax, qword [rsp + 0x1a0]
add rax, 8
lea rdx, [0x1401d9d6e]
mov rcx, rax
call fcn.14000f650
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
lea rdx, [0x1401d9d6e]
mov rcx, rax
call fcn.14000f650
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
lea rdx, [0x1401d9d6e]
mov rcx, rax
call fcn.14000f650
nop
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x68], 0
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x78], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x79], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x7b], 0
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x1a8]
mov rcx, rax
call fcn.14000f4c0
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1a8]
call fcn.1400dd160
cmp rax, 0xffffffffffffffff
jne 0x1400d8ede
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000f650
nop
lea rdx, [0x1401da550]
lea rcx, [rsp + 0x48]
call fcn.1400dd1a0
mov r8, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1400df850
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.14000f570
lea rcx, [rsp + 0x28]
call fcn.14000f540
nop
lea rcx, [rsp + 0x48]
call fcn.14000f540
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
mov rdx, qword [rsp + 0x1b0]
mov rcx, rax
call fcn.14000f4c0
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.14000f4c0
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c0]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c8]
mov qword [rax + 0x70], rcx
mov rcx, qword [rsp + 0x1a0]
call fcn.1400d9230
nop
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x198
ret
Function at 0x1400e0dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1402134f8]
mov dword [rsp + 0x30], eax
movsxd rax, dword [0x1402134fc]
mov qword [rsp + 0x20], 0
mov r9d, 0x3c
lea r8, [0x14020d940]
mov rdx, rax
mov rcx, qword [0x1402134d0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x1402134d0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1402134fc], eax
movsxd rax, dword [0x1402134fc]
mov qword [rsp + 0x20], 0
mov r9d, 0x3c
lea r8, [0x14020d940]
mov rdx, rax
mov rcx, qword [0x1402134d0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x140212af5]
cmp eax, 1
jne 0x1400e0e71
mov eax, dword [0x1402134fc]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1400e3f50
jmp 0x1400e0e8f
movzx eax, byte [0x140212af7]
cmp eax, 1
jne 0x1400e0e8f
mov eax, dword [0x1402134fc]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1400e3f50
movzx eax, byte [0x140212af4]
cmp eax, 1
jne 0x1400e0eaf
mov eax, dword [0x1402134fc]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1400e3f50
jmp 0x1400e0ecd
movzx eax, byte [0x140212af6]
cmp eax, 1
jne 0x1400e0ecd
mov eax, dword [0x1402134fc]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1400e3f50
mov eax, dword [0x1402134fc]
add eax, 0x5e
mov ecx, dword [0x1402134fc]
add ecx, 9
mov edx, eax
call fcn.1400e3f90
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140213508]
mov rdx, rax
mov rcx, qword [0x1402134d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1402134fc]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140213508]
mov rdx, rax
mov rcx, qword [0x1402134d0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret

Function at 0x1400e13d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x14021321c]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8, qword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x58
ret
Function at 0x1400e2bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x14021321c]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
mov ecx, 0xe0c36e8
call fcn.1400080c0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, 4
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 2
mov r8d, 4
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x58
ret

Function at 0x1400e4880
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1401ec1a0]
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 0x1400e48ce
xor eax, eax
jmp 0x1400e4941
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 0x1400e492e
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.140114108
test eax, eax
jne 0x1400e491a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x1400e491a
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 0x1400e48ea
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x1400e4941
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400fd000
add rsp, 0x288
ret
Function at 0x1400fdf18
Capabilities:
Parse pe header

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

Function at 0x140112d90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140112dc7
call fcn.140118a98
mov dword [rax], 0x16
call fcn.14010be64
xor eax, eax
jmp 0x140112e55
mov rdx, r9
mov rcx, r8
call fcn.140112d2c
mov rbx, rax
test rax, rax
je 0x140112e52
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140112c58]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140112e3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140118a0c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140112e26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140112e35
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140125748
jmp 0x140112e52
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140112e4f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14011323c
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 0x1401130a7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401130a7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401130a7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401130a7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401130a7
cmp dword [rcx + 0x84], 0xe
jbe 0x1401130a7
cmp dword [rcx + 0xf8], 0
je 0x1401130a7
mov ecx, ebx
call fcn.140113158
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.140112f34
nop
cmp dword [rbp + 0x20], 0
je 0x1401130f5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140113100
int3
xor r8d, r8d
xor edx, edx
jmp 0x140113038
Function at 0x1401135f0
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.1400fdd40
sub rsp, rax
mov rax, qword [0x1401ec1a0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14011dc24
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14011363f
mov rax, rbp
jmp 0x140113747
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 + 0x2124d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401282d8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2124d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140113743
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 0x140113743
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401282d8
test rax, rax
js 0x140113743
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140113743
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140113735
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140113735
cmp byte [rcx], 0xd
jne 0x14011371b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14011372a
cmp byte [rcx + 1], 0xa
jne 0x14011372a
inc rcx
jmp 0x14011372a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1ec5c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401136fd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140113747
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400fd000
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 0x140128384
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, [0x1402124d0]
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 0x1401283db
cmp word [rdx], r13w
jne 0x1401283db
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401283e0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140128505
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140128526
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140128419
mov rdx, r9
mov word [rbx], cx
jmp 0x140128440
cmp r9, r8
jae 0x140128450
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 0x1401283fa
jmp 0x140128505
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 0x1401284fa
cmp dword [rsp + 0x80], esi
je 0x1401284fa
lea r8, [0x1402124d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401284d2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401284a2
mov word [rbx], r13w
jmp 0x140128502
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 0x1401284af
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140128502
cmp word [rsp + 0x70], r13w
jne 0x1401284df
cmp rbx, r14
je 0x14012849c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401282e0
cmp word [rsp + 0x70], r13w
je 0x140128505
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, [0x1402124d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401284ff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140128505