joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c0001dd0
Capabilities:
Install driver

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor eax, eax
mov rbp, rdx
mov r14, rcx
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
lea esi, [rax + 0xa]
mov qword [r11 - 0x20], rax
call fcn.1c0001d48
mov rdi, rax
test rax, rax
jne 0x1c0001e1a
mov ebx, 0xc0000017
jmp 0x1c0001ee2
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwLoadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
mov eax, 0x80000000
mov r15d, 0xc000010e
lea ecx, [rbx + rax]
test eax, ecx
jne 0x1c0001e69
cmp ebx, r15d
jne 0x1c0001ee2
cmp ebx, r15d
lea rdx, str.DeviceDxgKrnl
lea rcx, [rsp + 0x30]
setne dil
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
mov r9, rbp
lea rcx, [rsp + 0x30]
mov r8, r14
mov edx, 0xc0000000
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1c0001edb
test dil, dil
jne 0x1c0001ed4
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], 0xffffffffffff3cb0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
nop dword [rax + rax]
add esi, 0xffffffff
jne 0x1c0001e88
jmp 0x1c0001ee2
call fcn.1c0001f04
jmp 0x1c0001ee2
test dil, dil
cmove ebx, r15d
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1c0001f04
Capabilities:
Unload driver

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
call fcn.1c0001d48
mov rbx, rax
test rax, rax
je 0x1c0001f59
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwUnloadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
add rsp, 0x30
pop rbx
ret
Function at 0x1401df490
Capabilities:
Parse pe header

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

Function at 0x1401e292c
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 0x1401e299b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e299b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e299b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e299b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e299b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e299b
cmp dword [rcx + 0xf8], 0
je 0x1401e299b
mov ecx, ebx
call fcn.1401e2a4c
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.1401e2828
nop
cmp dword [rbp + 0x20], 0
je 0x1401e29e9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401e29f4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401e292c

Function at 0x1401e2b30
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401e292c
Function at 0x1401e5be4
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401e5c14
xor eax, eax
jmp 0x1401e5cd7
mov rbp, rbx
cmp word [rax], si
je 0x1401e5c39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401e5c20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401e5c1c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401e5b04
movsxd r14, eax
test eax, eax
jne 0x1401e5c77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401e5c0d
mov rcx, r14
call fcn.1401e6678
mov rdi, rax
test rax, rax
jne 0x1401e5c90
xor ecx, ecx
call fcn.1401e413c
jmp 0x1401e5c6c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401e5b04
test eax, eax
jne 0x1401e5cc1
mov rcx, rdi
call fcn.1401e413c
jmp 0x1401e5ccb
xor ecx, ecx
call fcn.1401e413c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401eb440
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401eb468
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401eb468
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140007b50
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 [0x1400182a0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140009420
test rax, rax
je 0x140007ba4
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 0x140007c39
mov ecx, 2
call fcn.140009150
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140009170
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 0x140007c25
test ebx, ebx
jne 0x140007c25
lea ecx, [rax + 2]
call fcn.140009150
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 0x140007c60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x1400182a0]
call fcn.140009420
test rax, rax
je 0x140007c95
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.140009150
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140009170
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 0x140007d1e
test ebx, ebx
jne 0x140007d1e
lea ecx, [rax + 2]
call fcn.140009150
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 0x140009eb7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140017068]
jne 0x140007d8a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007d86
repz ret
ror rcx, 0x10
jmp 0x140009e10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140018380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140018478]
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 0x140009e95
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, [0x140018380]
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 0x140009eb7
mov rax, qword [rsp + 0x88]
mov qword [0x140018478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140018418], rax
mov rax, qword [0x140018478]
mov qword [0x1400182f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140018400], rax
mov dword [0x1400182e0], 0xc0000409
mov dword [0x1400182e4], 1
mov rax, qword [0x140017068]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140017070]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140018378], eax
mov ecx, 1
call fcn.140009150
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140012510]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140018378], 0
jne 0x140009f3e
mov ecx, 1
call fcn.140009150
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 0x14000c1c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x1400178d0]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14000c1fe
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x14000c1e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x14000c3e5
mov ecx, 3
call fcn.140010a30
cmp eax, 1
je 0x14000c39c
mov ecx, 3
call fcn.140010a30
test eax, eax
jne 0x14000c235
cmp dword [0x140017050], 1
je 0x14000c39c
cmp edi, 0xfc
je 0x14000c3e5
mov qword [rsp + 0x50], rbp
lea rbp, [0x140018930]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140008f80
test eax, eax
je 0x14000c279
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140007ab0
lea rdx, [0x140018949]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x140018a4d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000c2c9
lea r8, str._program_name_unknown_
lea rcx, [0x140018949]
mov edx, 0x2fb
call fcn.140008f80
test eax, eax
je 0x14000c2c9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140007ab0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140018949]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x14000c318
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140018c44]
lea r9d, [rax + 3]
lea r8, [0x140012b74]
sub rdx, rcx
call fcn.140010200
test eax, eax
je 0x14000c318
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140007ab0
lea r8, [0x140012b70]
mov edx, 0x314
mov rcx, rbp
call fcn.140010140
test eax, eax
je 0x14000c344
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140007ab0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140010140
test eax, eax
je 0x14000c374
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140007ab0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1400107d0
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 0x14000c3e5
cmp rax, 0xffffffffffffffff
je 0x14000c3e5
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 0x14000c400
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140010a30
cmp eax, 1
je 0x14000c432
mov ecx, 3
call fcn.140010a30
test eax, eax
jne 0x14000c4e6
cmp dword [0x140017050], 1
jne 0x14000c4e6
mov qword [rsp + 0x48], rbx
lea rbx, [0x1400178d0]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x14000c45e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x14000c448
jmp 0x14000c4d2
cmp edi, 0x17
jae 0x14000c4d2
mov ecx, 3
call fcn.140010a30
cmp eax, 1
je 0x14000c489
mov ecx, 3
call fcn.140010a30
test eax, eax
jne 0x14000c4d2
cmp dword [0x140017050], 1
jne 0x14000c4d2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x14000c4d2
cmp rax, 0xffffffffffffffff
je 0x14000c4d2
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.14000c1c0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x14000cc40
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x140018d58]
test eax, eax
jne 0x14000cc93
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14000cc73
mov dword [0x140018d58], 1
jmp 0x14000ccae
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14000cc8d
mov dword [0x140018d58], 2
jmp 0x14000cd89
mov eax, dword [0x140018d58]
cmp eax, 1
jne 0x14000cd80
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14000cdd3
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x14000ccd5
add rbx, 2
cmp word [rbx], 0
jne 0x14000ccc1
add rbx, 2
cmp word [rbx], 0
jne 0x14000ccc1
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x14000cd73
mov rcx, rbp
call fcn.14000a420
test rax, rax
mov rsi, rax
je 0x14000cd73
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14000cd4d
mov rcx, rsi
call fcn.140009100
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14000cd59
cmp eax, 2
je 0x14000cd89
test eax, eax
jne 0x14000cdd3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x14000cdd3
cmp byte [rax], 0
je 0x14000cdb2
nop
add rax, 1
cmp byte [rax], 0
jne 0x14000cda0
add rax, 1
cmp byte [rax], 0
jne 0x14000cda0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.14000a420
test rax, rax
mov rdi, rax
jne 0x14000cde5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140009f70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret

Function at 0x1400104d0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140017068]
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 0x140010517
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140007d70
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140007d50
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140007d70
add rsp, 0x38
ret
Function at 0x1400107d0
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.140009330
xor ebx, ebx
cmp qword [0x140019070], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400108fc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140010a0f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010a0f
mov rcx, rax
call fcn.140009260
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140019070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140009260
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140019078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140009260
lea rcx, [rsp + 0x98]
mov qword [0x140019080], rax
call fcn.14000a6d0
test eax, eax
je 0x1400108af
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140007ab0
cmp dword [rsp + 0x98], 2
jne 0x1400108fc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140009260
test rax, rax
mov qword [0x140019090], rax
je 0x1400108fc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140009260
mov qword [0x140019088], rax
mov rcx, qword [0x140019088]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400109a8
cmp qword [0x140019090], rbp
je 0x1400109a8
call fcn.140009420
mov rcx, qword [0x140019090]
mov rsi, rax
call fcn.140009420
test rsi, rsi
mov r12, rax
je 0x1400109a8
test rax, rax
je 0x1400109a8
call rsi
test rax, rax
je 0x140010973
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 0x140010973
test byte [rsp + 0x40], 1
jne 0x1400109a8
lea rcx, [rsp + 0x30]
call fcn.14000a720
test eax, eax
je 0x140010995
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140007ab0
cmp dword [rsp + 0x30], 4
jb 0x1400109a2
bts edi, 0x15
jmp 0x1400109e6
bts edi, 0x12
jmp 0x1400109e6
mov rcx, qword [0x140019078]
cmp rcx, rbp
je 0x1400109e6
call fcn.140009420
test rax, rax
je 0x1400109e6
call rax
test rax, rax
mov rbx, rax
je 0x1400109e6
mov rcx, qword [0x140019080]
cmp rcx, rbp
je 0x1400109e6
call fcn.140009420
test rax, rax
je 0x1400109e6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140019070]
call fcn.140009420
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x140010a0f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140010a11
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400010bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_module_handle._Error:__lu_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001170
add rsp, 0x58
ret
mov rdx, rax
lea rcx, str.Module_Handle:__p_n
call fcn.140001010
xor eax, eax
mov dword [rsp + 0x20], 0x65006b
lea rcx, [rsp + 0x20]
mov word [rsp + 0x38], ax
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rsp + 0x2c], 0x320033
mov dword [rsp + 0x30], 0x64002e
mov dword [rsp + 0x34], 0x6c006c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000113c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_handle_for_k.dll._Error:__lu_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001170
add rsp, 0x58
ret
mov rdx, rax
lea rcx, str.k_Handle:__p_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001170
add rsp, 0x58
ret

Function at 0x140001a30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a7c
xor al, al
add rsp, 0x28
ret
Function at 0x14001104b
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
jmp 0x1400119e7
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret

Function at 0x14001114f
Capabilities:
Terminate process

Disassembly:
jmp 0x140012560
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
nop
mov dword [rbp + 4], 0
cmp dword [rbp + 4], 0
je 0x1400125a6
lea rdx, str.Caught_by_a_MOV_SS_Single_Step_Check_
mov cx, 0x2001
call fcn.1400112bc
nop
mov ecx, 0x2001
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111bd
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
jmp 0x140011bf0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
nop
mov qword [rbp + 8], 0xffffffffffffffff
mov dword [rbp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rbp + 0x24], 0
je 0x140011c79
lea rdx, str.Caught_by_CheckRemoteDebuggerPresent_
mov cx, 0x1001
call fcn.1400112bc
nop
mov ecx, 0x1001
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bd00]
call fcn.1400113cf
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140011cd0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rax, str.OLLYDBG
mov qword [rbp + 0x48], rax
lea rax, [0x14001c564]
mov qword [rbp + 0x68], rax
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011d2f
mov dword [rbp + 4], 1
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011d4d
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140011d70
lea rdx, str.Caught_by_FindWindow__ClassName__
mov cx, 0x1005
call fcn.1400112bc
nop
mov ecx, 0x1005
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret