joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001357
Capabilities:
Get common file path

Disassembly:
jmp 0x140006d50
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x140014040]
xor rax, rbp
mov qword [rbp + 0x398], rax
lea rcx, [0x14001821e]
call fcn.1400014a1
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x138]
call fcn.1400011fe
lea r8, str.LosslessScaling.exe
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x178]
call fcn.14000139d
lea r8, str.Hooks.dll
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1b8]
call fcn.14000139d
lea rdx, str.Lossless_Exe:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000107d
lea rdx, [rbp + 0x178]
mov rcx, rax
call fcn.14000143d
lea rdx, str._nHooks_dll:
mov rcx, rax
call fcn.14000107d
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14000143d
lea rdx, [0x140010484]
mov rcx, rax
call fcn.14000107d
lea rcx, [rbp + 0x1b8]
call fcn.140001064
mov qword [rbp + 0x388], rax
lea rcx, [rbp + 0x178]
call fcn.140001064
mov qword [rbp + 0x390], rax
mov rdx, qword [rbp + 0x388]
mov rcx, qword [rbp + 0x390]
call fcn.140001118
mov dword [rbp + 0x374], 0
lea rcx, [rbp + 0x1b8]
call fcn.1400010c8
lea rcx, [rbp + 0x178]
call fcn.1400010c8
lea rcx, [rbp + 0x138]
call fcn.1400010c8
mov eax, dword [rbp + 0x374]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140010910]
call fcn.1400013d4
mov eax, edi
mov rcx, qword [rbp + 0x398]
xor rcx, rbp
call fcn.140001230
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x14000141a
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140004100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140014040]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400180f6]
call fcn.1400014a1
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400041a6
mov rdx, qword [rbp + 0x250]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140004195
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1400041b2
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140004171
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14000fe80]
call fcn.1400013d4
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140001230
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret

Function at 0x140004100
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140004100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140014040]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400180f6]
call fcn.1400014a1
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400041a6
mov rdx, qword [rbp + 0x250]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140004195
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1400041b2
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140004171
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14000fe80]
call fcn.1400013d4
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140001230
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x140006d50
Capabilities:
Get common file path

Disassembly:
jmp 0x140006d50
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x140014040]
xor rax, rbp
mov qword [rbp + 0x398], rax
lea rcx, [0x14001821e]
call fcn.1400014a1
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x138]
call fcn.1400011fe
lea r8, str.LosslessScaling.exe
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x178]
call fcn.14000139d
lea r8, str.Hooks.dll
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1b8]
call fcn.14000139d
lea rdx, str.Lossless_Exe:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000107d
lea rdx, [rbp + 0x178]
mov rcx, rax
call fcn.14000143d
lea rdx, str._nHooks_dll:
mov rcx, rax
call fcn.14000107d
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14000143d
lea rdx, [0x140010484]
mov rcx, rax
call fcn.14000107d
lea rcx, [rbp + 0x1b8]
call fcn.140001064
mov qword [rbp + 0x388], rax
lea rcx, [rbp + 0x178]
call fcn.140001064
mov qword [rbp + 0x390], rax
mov rdx, qword [rbp + 0x388]
mov rcx, qword [rbp + 0x390]
call fcn.140001118
mov dword [rbp + 0x374], 0
lea rcx, [rbp + 0x1b8]
call fcn.1400010c8
lea rcx, [rbp + 0x178]
call fcn.1400010c8
lea rcx, [rbp + 0x138]
call fcn.1400010c8
mov eax, dword [rbp + 0x374]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140010910]
call fcn.1400013d4
mov eax, edi
mov rcx, qword [rbp + 0x398]
xor rcx, rbp
call fcn.140001230
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x140003980
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x60
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x18]
mov rbx, rsi
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x140003a1f
mov rcx, qword [rbx + 0x60]
xor edx, edx
cmp word [rcx], dx
je 0x1400039d2
cmp rdx, 0x3f
jae 0x1400039d2
movzx eax, byte [rcx]
add rcx, 2
inc rdx
mov byte [rsp + rdx + 0x1f], al
cmp word [rcx], 0
jne 0x1400039b8
lea rcx, [rsp + 0x20]
mov byte [rsp + rdx + 0x20], 0
call qword [sym.imp.USER32.dll_CharLowerA]
or rcx, 0xffffffffffffffff
xor r8d, r8d
mov r11, rax
xor eax, eax
mov edx, 0x35
mov rdi, r11
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140003a1f
movsx eax, byte [r11]
inc r8d
lea edx, [rdx + rdx*2]
add edx, eax
movsxd rax, r8d
inc r11
cmp rax, rcx
jb 0x140003a00
cmp edx, 0x35c206b
je 0x140003a28
cmp rsi, rbx
jne 0x1400039a3
mov rax, qword [rbx + 0x30]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x140003a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov ebp, edx
mov eax, dword [rax + rcx + 0x88]
mov rsi, rcx
mov ebx, dword [rax + rcx + 0x1c]
mov r11d, dword [rax + rcx + 0x20]
mov r13d, dword [rax + rcx + 0x24]
add r11, rcx
add r13, rcx
lea r12, [rcx + rbx]
test ebx, ebx
je 0x140003ad8
nop word [rax + rax]
mov r8d, dword [r11]
or rcx, 0xffffffffffffffff
xor eax, eax
add r8, rsi
xor r10d, r10d
mov edx, 0x35
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140003ac8
movsx eax, byte [r8]
inc r10d
lea edx, [rdx + rdx*2]
add edx, eax
movsxd rax, r10d
inc r8
cmp rax, rcx
jb 0x140003ab1
cmp edx, ebp
je 0x140003af3
inc r9d
add r11, 4
cmp r9d, ebx
jb 0x140003a90
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r13
pop r12
ret
movzx ecx, word [r13 + r9*2]
mov eax, dword [r12 + rcx*4]
add rax, rsi
jmp 0x140003ada
Function at 0x1400138a0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140013710

Function at 0x140015543
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400315f0]
jne 0x14000cf7a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cf76
repz ret
ror rcx, 0x10
jmp 0x14001549c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140033a80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140033b78]
mov qword [rsp + 0x58], rax
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 0x140015521
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, [0x140033a80]
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 0x140015543
mov rax, qword [rsp + 0x88]
mov qword [0x140033b78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140033b18], rax
mov rax, qword [0x140033b78]
mov qword [0x1400339f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140033b00], rax
mov dword [0x1400339e0], 0xc0000409
mov dword [0x1400339e4], 1
mov rax, qword [0x1400315f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400315f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140033a78], eax
mov ecx, 1
call fcn.140022b64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400286d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140033a78], 0
jne 0x1400155ca
mov ecx, 1
call fcn.140022b64
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 0x140022574
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400315f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140014844
xor ebx, ebx
cmp qword [0x1400342a0], rbx
mov rdi, rax
jne 0x140022687
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002275e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002275e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400342a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400342a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400342b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400342c0], rax
test rax, rax
je 0x14002267e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400342b8], rax
jmp 0x14002268e
mov rax, qword [0x1400342b8]
jmp 0x140022695
mov rax, qword [0x1400342b8]
mov r11, qword [0x1400342c0]
cmp rax, rdi
je 0x1400226fc
cmp r11, rdi
je 0x1400226fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400342c0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400226fc
test rax, rax
je 0x1400226fc
call rsi
test rax, rax
je 0x1400226f6
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400226f6
test byte [rsp + 0x40], 1
jne 0x1400226fc
bts ebp, 0x15
jmp 0x14002273c
mov rcx, qword [0x1400342a8]
cmp rcx, rdi
je 0x14002273c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002273c
call rax
mov rbx, rax
test rax, rax
je 0x14002273c
mov rcx, qword [0x1400342b0]
cmp rcx, rdi
je 0x14002273c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002273c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400342a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002275e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140022760
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cf60
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1405582d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
cmp qword [rsp + 0x60], 0
jne 0x1405582fc
mov qword [rsp + 0x70], 0
jmp 0x140558436
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140558320
mov qword [rsp + 0x70], 0
jmp 0x140558436
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140558350
mov qword [rsp + 0x70], 0
jmp 0x140558436
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x18]
jae 0x14055842d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov edx, 0x911c9ac5
call fcn.1405593cb
cmp eax, dword [rsp + 0x6c]
jne 0x140558418
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov ecx, dword [rsp + 0x3c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x1c]
add rcx, rdx
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x140558436
jmp 0x14055841d
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x140558385
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x140559361
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0
jne 0x14055938c
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x1405593b0
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 2
call fcn.140559361
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x1405593cb
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0
jne 0x1405593f6
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x14055941a
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 1
call fcn.1405593cb
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x140002613
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000c010]
jne 0x1400011ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400011e6
repz ret
ror rcx, 0x10
jmp 0x14000256c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000d380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000d478]
mov qword [rsp + 0x58], rax
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 0x1400025f1
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, [0x14000d380]
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 0x140002613
mov rax, qword [rsp + 0x88]
mov qword [0x14000d478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000d418], rax
mov rax, qword [0x14000d478]
mov qword [0x14000d2f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000d400], rax
mov dword [0x14000d2e0], 0xc0000409
mov dword [0x14000d2e4], 1
mov rax, qword [0x14000c010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000c018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000d378], eax
mov ecx, 1
call fcn.140005c2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140009300]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000d378], 0
jne 0x14000269a
mov ecx, 1
call fcn.140005c2c
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 0x140002a74
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400028e4
Function at 0x1400063a4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003a20
xor ebx, ebx
cmp qword [0x14000e2a0], rbx
mov rdi, rax
jne 0x1400064b7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000658e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000658e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000e2a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000e2a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000e2b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000e2c0], rax
test rax, rax
je 0x1400064ae
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000e2b8], rax
jmp 0x1400064be
mov rax, qword [0x14000e2b8]
jmp 0x1400064c5
mov rax, qword [0x14000e2b8]
mov r11, qword [0x14000e2c0]
cmp rax, rdi
je 0x14000652c
cmp r11, rdi
je 0x14000652c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000e2c0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000652c
test rax, rax
je 0x14000652c
call rsi
test rax, rax
je 0x140006526
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140006526
test byte [rsp + 0x40], 1
jne 0x14000652c
bts ebp, 0x15
jmp 0x14000656c
mov rcx, qword [0x14000e2a8]
cmp rcx, rdi
je 0x14000656c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000656c
call rax
mov rbx, rax
test rax, rax
je 0x14000656c
mov rcx, qword [0x14000e2b0]
cmp rcx, rdi
je 0x14000656c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000656c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000e2a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000658e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140006590
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400011d0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x2fc4c7060
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c7a62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ec108]
test eax, eax
je 0x2fc4c7afa
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ec110]
mov qword [rbp - 8], rax
jmp 0x2fc4c7ade
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c7ad2
cmp qword [rbp - 0x10], 0
je 0x2fc4c7ad2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c7a98
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c7afb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c7c00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c7c28
mov eax, 0
jmp 0x2fc4c7c76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c7c51
mov eax, 0
jmp 0x2fc4c7c76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c7c71
mov eax, 0
jmp 0x2fc4c7c76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c7c7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c7cfa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c7cf1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c7cf1
mov rax, qword [rbp - 8]
jmp 0x2fc4c7d0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c7cc4
mov eax, 0
add rsp, 0x20
pop rbp
ret