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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rcx, qword [0x1401342e8]
xor edx, edx
mov r8d, 0x408
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rbx
jne 0x1400ddb64
mov ecx, 2
call fcn.140061484
cmp eax, 4
je 0x1400ddb38
lea rcx, [rdi + 8]
mov dword [rdi + 4], 0xaa55
mov qword [rdi], 0x400
mov qword [0x1401351e0], rcx
mov eax, ebx
mov edx, 8
test al, 1
je 0x1400ddb91
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400ddb93
shr eax, 1
sub rdx, 1
jne 0x1400ddb84
inc ebx
mov dword [rcx], eax
add rcx, 4
cmp ebx, 0x100
jl 0x1400ddb7d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ddbb4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, qword [0x1401351e0]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r10, r10
jne 0x1400ddbe9
call fcn.1400ddb2c
mov r10, qword [0x1401351e0]
mov r9b, dil
or ebx, 0xffffffff
xor r8d, r8d
and r9b, 7
je 0x1400ddc0d
movsx rax, r9b
sub rdi, rax
lea r8, [rdi - 0x18]
cmp qword [r8], 0
je 0x1400ddc0d
mov ebx, dword [r8 + 8]
test rsi, rsi
je 0x1400ddc30
movzx eax, byte [rbp]
movzx ecx, bl
inc rbp
xor rcx, rax
mov eax, ebx
mov ebx, dword [r10 + rcx*4]
shr eax, 8
xor ebx, eax
sub rsi, 1
jne 0x1400ddc12
test r9b, 2
je 0x1400ddc45
mov eax, ebx
mov qword [r8], 1
mov qword [r8 + 8], rax
jmp 0x1400ddc5f
not ebx
test rdi, rdi
je 0x1400ddc5f
lea rdx, str._08X
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400de624
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 2]
mov rcx, rdi
mov ebx, eax
movsxd rdx, r8d
call fcn.1400619c8
mov r11, qword [rdi]
xor eax, eax
mov word [r11], ax
mov rdx, qword [rdi]
lea r8d, [rbx + 1]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_GetWindowTextW]

Function at 0x1400df01c
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rcx + 0x18], 0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1400def8c]
mov rdx, rbx
mov dword [rbx + 0x10], eax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0x18]
add rsp, 0x20
pop rbx
ret
Function at 0x1400df38c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x38
cmp dword [0x140134820], 0
je 0x1400df3a3
cmp qword [0x140135228], 0
jne 0x1400df3fe
mov rcx, qword [0x140133a68]
mov edx, 0x271b
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x140133a68]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400df3fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400df3fe
mov rcx, qword [0x140133a68]
and qword [rsp + 0x20], 0
lea r9, [0x1400df334]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
add rsp, 0x38
ret

Function at 0x1400df4d4
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret

Function at 0x1400dfab0
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov byte [rax + 0x10], 0
mov byte [rax + 0x11], 0
mov byte [rax + 0x12], 0
mov byte [rax + 0x13], 0
mov byte [rax + 0x14], 0
mov byte [rax + 0x15], 5
lea rax, [rax + 0x18]
lea rcx, [rsp + 0x78]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400dfb4a
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x70]
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400e97d8
Capabilities:
Capture screenshot

Disassembly:
test edx, edx
js 0x1400e9928
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x90
and dword [rax - 0x48], 0
and dword [rax - 0x44], 0
and dword [rax - 0x40], 0
and dword [rax - 0x3c], 0
mov r14d, edx
lea rdx, [rax - 0x48]
mov r13, rcx
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [rsp + 0x68]
mov esi, dword [rsp + 0x6c]
sub ebp, dword [rsp + 0x60]
mov rcx, r13
sub esi, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetDC]
mov ecx, 0xf
mov r12, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, r12
mov edi, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, r12
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea rcx, [rsp + 0x70]
mov rdx, rbx
mov r8, rax
call fcn.1400591cc
lea rdx, [rsp + 0x60]
mov r8d, r14d
mov rcx, rbx
call fcn.1400df484
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebp
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
call fcn.1400e95f4
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x70]
call fcn.140059220
test rbx, rbx
je 0x1400e98f6
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r12, r12
je 0x1400e9907
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1400f5070
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov r9, rdx
mov rbx, rcx
cmp rdx, r12
je 0x1400f51da
cmp dword [rdx], r12d
jge 0x1400f50c1
cmp dword [rdx + 4], r12d
jge 0x1400f50c1
cmp dword [rdx + 8], r12d
jge 0x1400f50c1
cmp dword [rdx + 0xc], r12d
jge 0x1400f50c1
or eax, 0xffffffff
mov word [rcx + 0x9a], ax
jmp 0x1400f51da
mov r10d, r12d
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, r10d
inc r10d
cdq
and eax, 1
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, 4
cmp r10d, 4
lea rdx, [rcx + r8*2 + 0x22]
mov dword [rbx + rdx*4], eax
jl 0x1400f50c4
lea rdi, [rbx + 0x78]
mov ebp, 2
mov rcx, qword [rdi]
cmp rcx, r12
je 0x1400f510c
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rdi], r12
add rdi, 8
sub rbp, 1
jne 0x1400f50fe
mov rax, qword [0x140135328]
cmp rax, r12
jne 0x1400f5135
lea ecx, [rbp + 5]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [0x140135328], rax
mov ecx, dword [rbx + 0x8c]
mov r8d, 0x80000000
cmp ecx, r12d
jge 0x1400f5156
cmp ecx, r8d
je 0x1400f5156
mov qword [rbx + 0x78], rax
mov rax, qword [0x140135328]
mov edx, dword [rbx + 0x94]
cmp edx, r12d
jge 0x1400f516d
cmp edx, r8d
je 0x1400f516d
mov qword [rbx + 0x80], rax
cmp ecx, r12d
jl 0x1400f517c
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x78], rax
mov ecx, dword [rbx + 0x94]
cmp ecx, r12d
jl 0x1400f5194
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x80], rax
cmp word [rbx + 0x9a], r12w
jge 0x1400f51a6
mov word [rbx + 0x9a], r12w
mov eax, dword [rbx + 0x94]
cmp eax, r12d
jl 0x1400f51da
cmp eax, dword [rbx + 0x8c]
jne 0x1400f51da
mov eax, dword [rbx + 0x88]
cmp dword [rbx + 0x90], eax
jne 0x1400f51da
mov al, byte [rbx + 0xa4]
cmp al, r12b
jle 0x1400f51da
or al, 0x80
mov byte [rbx + 0xa4], al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400f563c
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x80
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400f579b
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1400f5682
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x20]
and qword [rbp + 0xd0], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0xa0], 0
and dword [rsp + 0xa4], 0
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov esi, dword [rsp + 0x58]
mov edi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub esi, dword [rsp + 0x50]
sub edi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, esi
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, rax
mov qword [rbp + 0xd0], rax
call fcn.1400591cc
mov eax, dword [rsp + 0x54]
and qword [rsp + 0x60], 0
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x60]
call fcn.140059220
test rbx, rbx
je 0x1400f578a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400f579b
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x1400f9934
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400f995d
mov eax, 0x42
cmp ax, cx
je 0x1400f995d
mov eax, 0xfffffffe
jmp 0x1400f9986
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400f9a5c
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400f9ac2
add rsp, 0x78
ret
Function at 0x140100924
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1401031f4
nop
cmp dword [0x140135578], 1
je 0x1401008d0
mov dword [0x140135574], 1
mov byte [0x140135570], r12b
test ebx, ebx
jne 0x1401008bc
mov rcx, qword [0x1401366d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401008a9
mov rcx, qword [0x1401366c8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140100848
call fcn.140100040
cmp qword [rdi], rax
jne 0x140100848
jmp 0x14010082e
cmp rdi, rsi
jb 0x1401008a9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140100040
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1401366d0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1401366c8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140100887
cmp r13, rax
je 0x1401008a7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14010082e
lea rdx, [0x140114380]
lea rcx, [0x140114368]
call fcn.140100678
lea rdx, [0x140114390]
lea rcx, [0x140114388]
call fcn.140100678
nop
test r12d, r12d
je 0x1401008df
mov ecx, 8
call fcn.1401030f4
test r12d, r12d
jne 0x14010090a
mov dword [0x140135578], 1
lea ecx, [r12 + 8]
call fcn.1401030f4
mov ecx, r15d
call fcn.14010060c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140100798

Function at 0x140100930
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140100798
Function at 0x14010bb2f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140132550]
jne 0x140102a7a
rol rcx, 0x10
test cx, 0xffff
jne 0x140102a76
repz ret
ror rcx, 0x10
jmp 0x14010ba88
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140135f30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140136028]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14010bb0d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140135f30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14010bb2f
mov rax, qword [rsp + 0x88]
mov qword [0x140136028], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140135fc8], rax
mov rax, qword [0x140136028]
mov qword [0x140135ea0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140135fb0], rax
mov dword [0x140135e90], 0xc0000409
mov dword [0x140135e94], 1
mov rax, qword [0x140132550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140132558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140135f28], eax
mov ecx, 1
call fcn.14010ac74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140127980]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140135f28], 0
jne 0x14010bbb6
mov ecx, 1
call fcn.14010ac74
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14010c730
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140100040
xor ebx, ebx
mov rdi, rax
cmp qword [0x140136408], rbx
jne 0x14010c836
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14010c90b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14010c90b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1401279e0]
mov rcx, rsi
mov qword [0x140136408], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140136410], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140136418], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140136428], rax
test rax, rax
je 0x14010c82d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140136420], rax
jmp 0x14010c83d
mov rax, qword [0x140136420]
jmp 0x14010c844
mov rax, qword [0x140136420]
mov r11, qword [0x140136428]
cmp rax, rdi
je 0x14010c8ac
cmp r11, rdi
je 0x14010c8ac
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140136428]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14010c8ac
test rax, rax
je 0x14010c8ac
call rsi
test rax, rax
je 0x14010c8a6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14010c8a6
test byte [rsp + 0x38], 1
jne 0x14010c8ac
bts ebp, 0x15
jmp 0x14010c8ea
mov rcx, qword [0x140136410]
cmp rcx, rdi
je 0x14010c8ea
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010c8ea
call rax
mov rbx, rax
test rax, rax
je 0x14010c8ea
mov rcx, qword [0x140136418]
cmp rcx, rdi
je 0x14010c8ea
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010c8ea
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140136408]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010c90b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14010c90d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001000
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
call fcn.140001210
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x104
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
lea r8, str.df_steam_translate_hook.dll
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str..dll
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001080
lea r9d, [rax + 4]
lea r8, [rsp + 0x40]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat_s]
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, str.Dll_name:
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
test ebx, ebx
jne 0x1400010e1
lea rcx, str._nWaiting_for_the_game
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
call fcn.140001210
mov ecx, 0x2e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400010c4
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400011de
mov qword [rsp + 0x1c0], rbp
lea rcx, str.kernel32.dll
mov qword [rsp + 0x1c8], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, 0xffffffffffffffff
mov rbp, rax
lea rax, [rsp + 0x90]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001140
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
lea rax, [rsp + 0x90]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001170
mov r9, rbx
lea r8, [rsp + 0x90]
xor ebx, ebx
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rbx
mov r9, rbp
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.DLL_Loaded_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
mov rsi, qword [rsp + 0x1c8]
mov rbp, qword [rsp + 0x1c0]
jmp 0x1400011eb
lea rcx, str.DLL_Not_Loaded_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400012f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x140001210
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400012b6
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400012b6
nop dword [rax]
mov ecx, 0x2000
call fcn.140001310
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
lea r8, str.Dwarf_Fortress.exe
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x1400012d9
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001260
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400012f0
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
mov eax, dword [rsp + 0x38]
jmp 0x1400012b8

Function at 0x140001c10
Capabilities:
Parse pe header

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