joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fa0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x1400070b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x1400071a8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140003021
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x1400071a8]
jmp 0x14000303d
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x1400071a8], r11
mov qword [0x140007148], rax
mov rax, qword [0x1400069a8]
mov qword [0x140007020], r11
mov qword [0x140007130], rdi
mov dword [0x140007010], 0xc0000409
mov dword [0x140007014], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x1400069a0]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140004c38]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x1400069a8]
jne 0x140003719
rol rcx, 0x10
test cx, 0xffff
jne 0x140003715
ret
ror rcx, 0x10
jmp 0x140002fa0
Function at 0x140003130
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
mov edi, esi
xor eax, eax
lock cmpxchg qword [0x1400075c0], rbx
je 0x140003176
cmp rax, rbx
jne 0x140003169
mov edi, 1
jmp 0x140003176
mov ecx, 0x3e8
call qword [sym.imp.orauts.dll_Sleep]
jmp 0x140003150
mov eax, dword [0x1400075bc]
cmp eax, 1
jne 0x14000318b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x1400031ca
mov eax, dword [0x1400075bc]
test eax, eax
jne 0x1400031c0
mov dword [0x1400075bc], 1
lea rdx, [0x1400041d8]
lea rcx, [0x1400041c0]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x1400031ca
mov eax, 0xff
jmp 0x1400032ab
mov dword [0x1400075a4], 1
mov eax, dword [0x1400075bc]
cmp eax, 1
jne 0x1400031f2
lea rdx, [0x1400041b8]
lea rcx, [0x1400041a0]
call sub.MSVCR80.dll__initterm
mov dword [0x1400075bc], 2
test edi, edi
jne 0x1400031fd
xchg qword [0x1400075c0], rsi
cmp qword [0x1400075d8], 0
je 0x140003226
lea rcx, [0x1400075d8]
call fcn.140003660
test eax, eax
je 0x140003226
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1400075d8]
mov rcx, qword [sym.imp.MSVCR80.dll___initenv]
mov rax, qword [0x140007588]
mov qword [rcx], rax
mov r8, qword [0x140007588]
mov rdx, qword [0x140007590]
mov ecx, dword [0x140007580]
call fcn.1400012ac
mov dword [0x1400075a0], eax
cmp dword [0x140007584], 0
jne 0x140003267
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x1400075a4], 0
jne 0x14000327c
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x1400075a0]
jmp 0x1400032ab
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
call fcn.140002ee0
add rsp, 0x28
jmp 0x140003130
Function at 0x140002ec8
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140002efb
lea ecx, [rdx + 0x57]
jmp 0x140002f99
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
mov r9d, 0x30
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140002f9f
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov r9d, 0x40
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140002f9f
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x140002f94
movsxd rdx, dword [rsp + 0x9c]
mov eax, edx
cmp rax, qword [rsp + 0x48]
ja 0x140002f94
cmp edx, 0x40
jb 0x140002f94
and qword [rsp + 0x20], 0
add rdx, rbx
mov r9d, 0xf8
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140002f9f
cmp dword [rdi], 0x4550
jne 0x140002f94
mov eax, 1
jmp 0x140002fa1
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140004f90
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003e30
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rdi, rcx
lea r8d, [r14 + 0x1c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140004080
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x40]
mov r13d, 0x40
xor edx, edx
mov r8d, r13d
call fcn.140005db0
mov eax, 0x5a4d
mov dword [rbp - 4], r13d
mov word [rbp - 0x40], ax
lea r8, [rbp - 0x40]
lea rax, [rsp + 0x30]
mov r9d, r13d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
cmp qword [rsp + 0x30], r13
jne 0x140004080
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x108
lea rbx, [rsi + 0x40]
call fcn.140005db0
lea eax, [r13 - 0x3f]
mov dword [rbp], 0x4550
mov word [rbp + 6], ax
lea r8, [rbp]
mov eax, 0x20b
mov dword [rbp + 0x14], 0x200000f0
mov word [rbp + 0x18], ax
mov r9d, 0x108
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
mov eax, 0x108
cmp qword [rsp + 0x30], rax
jne 0x140004080
and dword [rsp + 0x40], 0
lea r9d, [r13 - 0x18]
and dword [rsp + 0x5c], 0
lea r8, [rsp + 0x38]
add rbx, rax
xorps xmm0, xmm0
movabs rax, 0x72756f7465642e
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov eax, ebx
sub eax, esi
lea esi, [r14 + 0x58]
add eax, 0x28
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
cmp qword [rsp + 0x30], 0x28
jne 0x140004080
mov r8d, r13d
lea rcx, [rbp - 0x80]
xor edx, edx
add rbx, 0x28
call fcn.140005db0
lea rax, [rsp + 0x30]
mov dword [rbp - 0x80], r13d
mov r9d, r13d
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov dword [rbp - 0x7c], 0x727444
mov rdx, rbx
mov dword [rbp - 0x78], r13d
mov rcx, rdi
mov dword [rbp - 0x74], esi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
cmp qword [rsp + 0x30], r13
jne 0x140004080
movups xmm0, xmmword [r12]
and dword [rsp + 0x64], 0
lea eax, [r14 + 0x18]
mov dword [rsp + 0x60], eax
lea r9d, [r13 - 0x28]
lea rax, [rsp + 0x30]
add rbx, r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
cmp qword [rsp + 0x30], 0x18
jne 0x140004080
lea rcx, [rsp + 0x30]
mov r9d, r14d
mov qword [rsp + 0x20], rcx
lea rdx, [rbx + 0x18]
mov rcx, rdi
mov r8, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004080
cmp qword [rsp + 0x30], r14
jne 0x140004080
lea eax, [r13 - 0x3f]
jmp 0x140004082
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140004f90
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400042d0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rdi, r8
lea rdx, [rbp - 0x20]
mov ebx, ecx
xor esi, esi
and qword [rsp + 0x50], rsi
lea rcx, str.WINDIR
mov r8d, 0x104
mov r15, r9
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r9, rdi
lea rcx, [rsp + 0x50]
mov edx, ebx
mov r14d, eax
call fcn.1400040a8
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x14000449d
lea eax, [r14 - 1]
cmp eax, 0x102
ja 0x14000449d
lea r8, str._syswow64_rundll32.exe
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.140002860
test eax, eax
js 0x14000449d
lea r9, [rbx + 0xc]
mov edx, 0x104
lea r8, str.rundll32.exe___hs__1
lea rcx, [rbp + 0x1f0]
call fcn.1400027c4
test eax, eax
js 0x14000449d
xorps xmm0, xmm0
lea r8d, [rsi + 0x64]
xor eax, eax
lea rcx, [rsp + 0x74]
xor edx, edx
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x58], xmm0
call fcn.140005db0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x1f0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x20]
and qword [rsp + 0x38], rsi
xor r8d, r8d
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], esi
call r15
test eax, eax
je 0x14000449d
mov r9d, dword [rbx]
lea rdx, [0x140027ef0]
mov rcx, qword [rsp + 0x58]
mov r8, rbx
call fcn.140003e30
test eax, eax
jne 0x14000443f
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000449d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x1f4
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], esi
mov eax, 1
cmove esi, eax
test rbx, rbx
je 0x1400044aa
mov rcx, rbx
call fcn.140004fb4
mov eax, esi
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140004f90
mov rbx, qword [rsp + 0x540]
add rsp, 0x510
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400044d4
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x70
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
jne 0x140004503
xorps xmm0, xmm0
lea rbx, [r11 - 0x28]
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
mov rax, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x604
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004548
xor eax, eax
jmp 0x1400045d2
mov rdi, qword [rsp + 0xd0]
lea rdx, [rsp + 0x98]
mov rcx, qword [rbx]
mov qword [rsp + 0x98], rdi
call fcn.140003a94
test eax, eax
jne 0x1400045b0
mov r9, qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea r8, [rsp + 0x98]
mov ecx, dword [rbx + 0x10]
mov qword [rsp + 0x98], rdi
call fcn.1400042d0
test eax, eax
jne 0x1400045b0
mov rcx, qword [rbx]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004541
lea rcx, [rsp + 0x50]
cmp rbx, rcx
jne 0x1400045cd
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x14000db84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000d8e8
Function at 0x14001a1f8
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r13, r9
mov r12, r8
mov r9, rdx
mov r8, rcx
mov r14, rdx
lea rcx, [rbp + 0x170]
xor eax, eax
mov ebx, 0x104
mov edx, ebx
mov esi, eax
call fcn.140011b4c
lea r15, [rbp + r14*2 + 0x16e]
mov edx, ebx
mov rcx, r15
lea r9d, [rsi + 4]
lea r8, [0x140027840]
call fcn.140011b4c
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a389
jmp 0x14001a368
test byte [rsp + 0x20], 0x10
je 0x14001a368
cmp word [rsp + 0x4c], 0x2e
movzx eax, word [rsp + 0x4e]
jne 0x14001a2c6
test ax, ax
je 0x14001a368
cmp word [rsp + 0x4c], 0x2e
jne 0x14001a2c6
cmp ax, 0x2e
jne 0x14001a2c6
cmp word [rsp + 0x50], cx
je 0x14001a368
lea rax, [rsp + 0x4c]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], cx
jne 0x14001a2cf
mov eax, 0x104
cmp r14, rax
ja 0x14001a34f
mov edx, eax
lea r8, [rsp + 0x4c]
sub rdx, r14
mov r9, rbx
mov rcx, r15
call fcn.140011b4c
mov eax, 0x5c
lea rcx, [r15 + 2]
mov edx, 0x103
mov word [r15 + rbx*2], ax
sub rdx, r14
lea r9, [r13 + 1]
sub rdx, rbx
lea rcx, [rcx + rbx*2]
mov r8, r12
call fcn.140011b4c
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001a368
xor edx, edx
lea rcx, [rbp + 0x170]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x14001a380
jmp 0x14001a368
mov ecx, 2
call fcn.14000ca24
mov rcx, rax
lea rdx, str.FileTracker_:_WARNING_:_Path_to_UI_DLL_candidate_overflowed_or_underflowed._n
call fcn.14001ab08
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ecx, ecx
test eax, eax
jne 0x14001a28c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rsi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140004f90
add rsp, 0x498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001a87c
Capabilities:
Query environment variable

Disassembly:
test rdx, rdx
je 0x14001a995
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov rbp, rcx
lea rdx, [rsp + 0x40]
mov r8d, 0xa
lea rcx, str.TRACKER_CONSOLEPAGE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14001a8d8
lea rcx, [rsp + 0x40]
call fcn.14000ef0c
mov esi, eax
test eax, eax
jne 0x14001a8e0
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, eax
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
mov r8, rbx
and dword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
test eax, eax
jle 0x14001a969
mov rcx, r14
call fcn.14000c52c
mov rdi, rax
test rax, rax
je 0x14001a974
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
mov ecx, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rbp
test eax, eax
jle 0x14001a957
mov rdx, rdi
call fcn.14001aac4
jmp 0x14001a95f
mov rdx, rbx
call fcn.14001ab08
mov rcx, rdi
call fcn.14000c534
jmp 0x14001a974
mov rdx, rbx
mov rcx, rbp
call fcn.14001ab08
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004f90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001a885
Capabilities:
Query environment variable

Disassembly:
test rdx, rdx
je 0x14001a995
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov rbp, rcx
lea rdx, [rsp + 0x40]
mov r8d, 0xa
lea rcx, str.TRACKER_CONSOLEPAGE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14001a8d8
lea rcx, [rsp + 0x40]
call fcn.14000ef0c
mov esi, eax
test eax, eax
jne 0x14001a8e0
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, eax
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
mov r8, rbx
and dword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
test eax, eax
jle 0x14001a969
mov rcx, r14
call fcn.14000c52c
mov rdi, rax
test rax, rax
je 0x14001a974
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
mov ecx, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rbp
test eax, eax
jle 0x14001a957
mov rdx, rdi
call fcn.14001aac4
jmp 0x14001a95f
mov rdx, rbx
call fcn.14001ab08
mov rcx, rdi
call fcn.14000c534
jmp 0x14001a974
mov rdx, rbx
mov rcx, rbp
call fcn.14001ab08
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004f90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001adcc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
and qword [rax + 0x18], 0
lea r8, [0x1400278ec]
mov r14, rcx
mov rbx, rdx
lea rcx, [rax + 0x18]
call fcn.14001b6c8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ae9e
xor edx, edx
lea r8d, [rdx + 2]
call fcn.14001bcdc
test eax, eax
jne 0x14001ae97
mov rcx, qword [rsp + 0x40]
call fcn.14001c1c0
movsxd rsi, eax
test eax, eax
js 0x14001ae97
lea ecx, [rsi + 8]
movsxd rcx, ecx
call fcn.14000c52c
mov qword [r14], rax
test rax, rax
jne 0x14001ae4c
mov ecx, 0x7db
mov rdx, rbx
call fcn.1400011f8
jmp 0x14001aeab
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call fcn.14001bcdc
test eax, eax
jne 0x14001ae97
mov r9, qword [rsp + 0x40]
lea edx, [rax + 1]
mov rcx, qword [r14]
mov r8, rsi
call fcn.14001b9a0
mov rcx, qword [r14]
mov rdi, rax
mov byte [rsi + rcx], 0
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov rcx, qword [r14]
mov byte [rdx + rcx], 0
mov rcx, qword [rsp + 0x40]
call fcn.140016aa8
mov eax, edi
jmp 0x14001aeae
mov ecx, 0x7dc
jmp 0x14001ae42
mov rdx, rbx
mov ecx, 0x7da
call fcn.140001234
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001d180
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001d020
call fcn.14000c8e4
mov dword [rax], 0x16
call fcn.14000c7c4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001d008
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001d008
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001d052
lock or dword [rax + 0x14], 0x10
jmp 0x14001d008
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001d06f
mov rcx, qword [rbp + 0x10]
call fcn.1400188b8
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140010ccc
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001ca58
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001d0c6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001d008
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001d132
mov rcx, qword [rbp + 0x10]
call fcn.140010ccc
cmp eax, 0xffffffff
je 0x14001d119
mov rcx, qword [rbp + 0x10]
call fcn.140010ccc
cmp eax, 0xfffffffe
je 0x14001d119
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140010ccc
movsxd rdi, eax
lea rsi, [0x14002c550]
mov rcx, rbx
sar rdi, 6
call fcn.140010ccc
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001d120
lea rax, [0x14002b2e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001d132
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001d168
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001d164
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001d164
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001d00b
jmp 0x14001cfd8
Function at 0x111ec
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
call fcn.000129dc
call fcn.00012bd4
call fcn.00012ffc
call fcn.00013300
call fcn.000135e4
call fcn.00013cb0
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rdi, [0x0001d1e0]
mov dl, 1
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r8, qword [0x0001d278]
test r8, r8
je 0x11263
mov r9, qword [r8 + 8]
mov rbx, qword [r8 + 0x18]
test r9, r9
je 0x1125b
mov r8, qword [r8]
lea rdx, [0x00018870]
lea rcx, [0x00018890]
call sub.ntoskrnl.exe_DbgPrint
mov r8, rbx
test rbx, rbx
jne 0x11238
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
call fcn.00014040
call fcn.00014344
call fcn.00014648
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov dl, 1
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r11, qword [0x0001d1a0]
test r11, r11
je 0x112d7
mov rax, qword [r11 + 0x10]
mov r9d, dword [r11 + 4]
mov r8d, dword [r11 + 0x18]
mov rbx, qword [r11 + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [r11 + 8]
lea rdx, [0x00019bc0]
lea rcx, [0x00019be0]
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_DbgPrint
mov r11, rbx
test rbx, rbx
jne 0x1129e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov dl, 1
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r8, qword [0x0001d1a8]
test r8, r8
je 0x1132a
mov rbx, qword [r8 + 0x20]
mov r9, qword [r8 + 0x18]
mov r8, qword [r8 + 0x10]
lea rdx, [0x00019e10]
lea rcx, [0x00019e30]
call sub.ntoskrnl.exe_DbgPrint
mov r8, rbx
test rbx, rbx
jne 0x11303
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]