joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009100
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400211b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [0x1400228e0], rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
xor edi, edi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x20], 2
mov rsi, rax
je 0x140009183
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea r11, [0x14001ac10]
lea rax, [0x140008c30]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor eax, eax
jmp 0x140009223
lea rdx, [rsp + 0x50]
mov r8d, 0x100
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsi + 8]
lea rdx, [0x14001ac2c]
call fcn.14000c560
test eax, eax
jne 0x1400091f1
mov qword [rsp + 0x270], rbx
call fcn.1400046f0
mov ecx, 0x1f4
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
sete dil
lea r8, [rsp + 0x50]
lea rdx, str.GFNEX_Service
lea rcx, [0x1400210b8]
mov r9d, edi
call fcn.140007560
mov rbx, qword [rsp + 0x270]
mov edi, eax
jmp 0x140009218
mov rcx, qword [rsi + 8]
lea rdx, [0x14001ac24]
call fcn.14000c560
test eax, eax
jne 0x140009218
lea rcx, [0x1400210b8]
call fcn.140007700
mov edi, eax
call fcn.1400045a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000ad20
mov rsi, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14000af10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
mov ebx, edx
jne 0x14000af4e
call fcn.14000dcb0
xor ebx, ebx
mov dword [rax], ebx
call fcn.14000dc80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
mov qword [rsp + 0x20], rbx
call fcn.14000b470
lea eax, [rbx + 0x16]
add rsp, 0x30
pop rbx
ret
test edx, 0xfffffff9
jne 0x14000af1d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000af7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000dce0
call fcn.14000dc80
mov eax, dword [rax]
add rsp, 0x30
pop rbx
ret
test al, 0x10
jne 0x14000afab
test al, 1
je 0x14000afab
test bl, 2
je 0x14000afab
call fcn.14000dcb0
mov dword [rax], 5
call fcn.14000dc80
mov dword [rax], 0xd
call fcn.14000dc80
mov eax, dword [rax]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14000b470
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140022bf0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.14000e1b0
test rax, rax
je 0x14000b4c4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x14000b559
mov ecx, 2
call fcn.14000dfe0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14000c1d0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000b545
test ebx, ebx
jne 0x14000b545
lea ecx, [rax + 2]
call fcn.14000dfe0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000b580
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x140022bf0]
call fcn.14000e1b0
test rax, rax
je 0x14000b5b5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.14000dfe0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14000c1d0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000b63e
test ebx, ebx
jne 0x14000b63e
lea ecx, [rax + 2]
call fcn.14000dfe0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret

Function at 0x14000c9b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400211b0]
jne 0x14000ad3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000ad36
repz ret
ror rcx, 0x10
jmp 0x14000c910
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140022cd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140022dc8]
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 0x14000c995
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, [0x140022cd0]
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 0x14000c9b7
mov rax, qword [rsp + 0x88]
mov qword [0x140022dc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140022d68], rax
mov rax, qword [0x140022dc8]
mov qword [0x140022c40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140022d50], rax
mov dword [0x140022c30], 0xc0000409
mov dword [0x140022c34], 1
mov rax, qword [0x1400211b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400211b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140022cc8], eax
mov ecx, 1
call fcn.14000dfe0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001b2d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140022cc8], 0
jne 0x14000ca3e
mov ecx, 1
call fcn.14000dfe0
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 0x140011d30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140021aa0]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140011d6e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140011d50
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140011f55
mov ecx, 3
call fcn.140017ad0
cmp eax, 1
je 0x140011f0c
mov ecx, 3
call fcn.140017ad0
test eax, eax
jne 0x140011da5
cmp dword [0x140021200], 1
je 0x140011f0c
cmp edi, 0xfc
je 0x140011f55
mov qword [rsp + 0x50], rbp
lea rbp, [0x140023280]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.14000dd70
test eax, eax
je 0x140011de9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000b3d0
lea rdx, [0x140023299]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14002339d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140011e39
lea r8, str._program_name_unknown_
lea rcx, [0x140023299]
mov edx, 0x2fb
call fcn.14000dd70
test eax, eax
je 0x140011e39
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000b3d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140023299]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140011e88
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140023594]
lea r9d, [rax + 3]
lea r8, [0x14001b9a4]
sub rdx, rcx
call fcn.140016f20
test eax, eax
je 0x140011e88
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000b3d0
lea r8, [0x14001b9a0]
mov edx, 0x314
mov rcx, rbp
call fcn.140016e60
test eax, eax
je 0x140011eb4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000b3d0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140016e60
test eax, eax
je 0x140011ee4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000b3d0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140017870
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140011f55
cmp rax, 0xffffffffffffffff
je 0x140011f55
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140011f70
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140017ad0
cmp eax, 1
je 0x140011fa2
mov ecx, 3
call fcn.140017ad0
test eax, eax
jne 0x140012056
cmp dword [0x140021200], 1
jne 0x140012056
mov qword [rsp + 0x48], rbx
lea rbx, [0x140021aa0]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140011fce
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140011fb8
jmp 0x140012042
cmp edi, 0x17
jae 0x140012042
mov ecx, 3
call fcn.140017ad0
cmp eax, 1
je 0x140011ff9
mov ecx, 3
call fcn.140017ad0
test eax, eax
jne 0x140012042
cmp dword [0x140021200], 1
jne 0x140012042
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140012042
cmp rax, 0xffffffffffffffff
je 0x140012042
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140011d30
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140012880
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x1400237ac]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x1400128dc
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400128bc
mov dword [0x1400237ac], 1
jmp 0x1400128ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400128d6
mov dword [0x1400237ac], 2
jmp 0x140012959
mov eax, dword [0x1400237ac]
cmp eax, 1
jne 0x140012950
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14001292a
cmp word [rdi], bp
mov rax, rdi
je 0x140012909
add rax, 2
cmp word [rax], bp
jne 0x1400128f7
add rax, 2
cmp word [rax], bp
jne 0x1400128f7
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.140010460
test rax, rax
mov rbx, rax
jne 0x140012931
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140012a4b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000a960
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x140012a4b
cmp eax, 2
je 0x140012959
test eax, eax
jne 0x14001292a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x14001292a
cmp byte [rax], bpl
mov rbx, rax
je 0x1400129a8
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14001292a
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x140012970
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.1400104d0
test rax, rax
mov r12, rax
jne 0x1400129cd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x140012a4b
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x140012a35
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140012a5e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x1400129e0
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.14000def0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x140012a46
Function at 0x140017870
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000e0c0
xor ebx, ebx
cmp qword [0x140023ad8], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14001799c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140017aaf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140017aaf
mov rcx, rax
call fcn.14000dff0
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140023ad8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14000dff0
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140023ae0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14000dff0
lea rcx, [rsp + 0x98]
mov qword [0x140023ae8], rax
call fcn.140010710
test eax, eax
je 0x14001794f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14000b3d0
cmp dword [rsp + 0x98], 2
jne 0x14001799c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14000dff0
test rax, rax
mov qword [0x140023af8], rax
je 0x14001799c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14000dff0
mov qword [0x140023af0], rax
mov rcx, qword [0x140023af0]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140017a48
cmp qword [0x140023af8], rbp
je 0x140017a48
call fcn.14000e1b0
mov rcx, qword [0x140023af8]
mov rsi, rax
call fcn.14000e1b0
test rsi, rsi
mov r12, rax
je 0x140017a48
test rax, rax
je 0x140017a48
call rsi
test rax, rax
je 0x140017a13
lea rcx, [rsp + 0x34]
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 0x140017a13
test byte [rsp + 0x40], 1
jne 0x140017a48
lea rcx, [rsp + 0x30]
call fcn.140010760
test eax, eax
je 0x140017a35
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14000b3d0
cmp dword [rsp + 0x30], 4
jb 0x140017a42
bts edi, 0x15
jmp 0x140017a86
bts edi, 0x12
jmp 0x140017a86
mov rcx, qword [0x140023ae0]
cmp rcx, rbp
je 0x140017a86
call fcn.14000e1b0
test rax, rax
je 0x140017a86
call rax
test rax, rax
mov rbx, rax
je 0x140017a86
mov rcx, qword [0x140023ae8]
cmp rcx, rbp
je 0x140017a86
call fcn.14000e1b0
test rax, rax
je 0x140017a86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140023ad8]
call fcn.14000e1b0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x140017aaf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140017ab1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018710
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400211b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140018757
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000ad20
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140018700
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000ad20
add rsp, 0x38
ret
Function at 0x1400011c0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x3290
call fcn.140002430
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3280], rax
lea rdx, str.x64dbg.dll
lea rcx, [rsp + 0x28]
call fcn.140001400
nop
lea r8, [rsp + 0x24]
mov edx, 0x1000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400012df
mov r14d, dword [rsp + 0x24]
shr r14d, 2
xor esi, esi
test r14d, r14d
je 0x1400012df
nop dword [rax + rax]
mov r8d, dword [rsp + rsi*4 + 0x70]
test r8d, r8d
je 0x1400012d4
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x1400012d4
lea r9, [rsp + 0x20]
mov r8d, 0x2000
lea rdx, [rsp + 0x1070]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400012d4
xor ebx, ebx
mov eax, dword [rsp + 0x20]
test rax, 0xfffffffffffffff8
jbe 0x1400012d4
lea rdi, [rsp + 0x1070]
nop dword [rax]
mov r9d, 0x104
lea r8, [rsp + 0x3070]
mov rdx, qword [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x14000131f
inc ebx
add rdi, 8
mov ecx, dword [rsp + 0x20]
shr rcx, 3
movsxd rax, ebx
cmp rax, rcx
jb 0x1400012a0
inc esi
cmp esi, r14d
jb 0x140001240
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14000133f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000133a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000133a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x3070]
lea rcx, [rsp + 0x48]
call fcn.140001400
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400015ac
mov rcx, qword [rsp + 0x3280]
xor rcx, rsp
call fcn.140001550
lea r11, [rsp + 0x3290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140001ed0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f1c
xor al, al
add rsp, 0x28
ret
Function at 0x1400011d0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x78], xmm0
xor eax, eax
mov rdx, rcx
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x70], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001288
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400032b0
add rsp, 0xf8
ret
Function at 0x140002aa0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
lea rax, [rcx + 2]
mov r9d, r10d
mov rdx, rax
nop dword [rax]
movzx r8d, r9w
lea rdx, [rdx + 2]
add r8w, word [rcx]
inc r9
xor word [rdx - 2], r8w
cmp r9, 0x97
jb 0x140002ab0
mov word [rcx + 0x130], r10w
ret
Function at 0x140003da0
Capabilities:
Parse pe header

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

Function at 0x1400069c4
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 0x140006a33
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006a33
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006a33
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006a33
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006a33
cmp dword [rcx + 0x84], 0xe
jbe 0x140006a33
cmp dword [rcx + 0xf8], 0
je 0x140006a33
mov ecx, ebx
call fcn.140006ae4
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.1400068c0
nop
cmp dword [rbp + 0x20], 0
je 0x140006a81
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140006a8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400069c4

Function at 0x140006bc8
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 0x140006a33
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006a33
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006a33
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006a33
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006a33
cmp dword [rcx + 0x84], 0xe
jbe 0x140006a33
cmp dword [rcx + 0xf8], 0
je 0x140006a33
mov ecx, ebx
call fcn.140006ae4
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.1400068c0
nop
cmp dword [rbp + 0x20], 0
je 0x140006a81
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140006a8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400069c4