joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008330
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x14002206c]
test eax, eax
jne 0x140008434
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000839f
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x14002206c], eax
sub ecx, 1
je 0x140008410
cmp ecx, 1
jne 0x140008434
cmp edx, 5
jne 0x1400083fe
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400083f7
sub eax, ecx
je 0x1400083dd
cmp eax, ecx
je 0x1400083d3
lea eax, [rdx + 0xf]
jmp 0x140008452
mov edx, 0x10
lea ecx, [rdx - 0xf]
jmp 0x1400083e5
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x140008452
mov eax, 4
jmp 0x140008452
cmp edx, 4
ja 0x14000844d
mov ecx, 2
mov eax, ecx
mov dword [0x14002206c], ecx
cmp edx, 4
jne 0x140008434
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x140008427
cmp ecx, 0xa
je 0x140008427
cmp ecx, 0x5a
jne 0x140008434
mov ecx, 1
mov eax, ecx
mov dword [0x14002206c], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400144d0
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x14002206c], eax
jmp 0x140008434
Function at 0x140008a0c
Capabilities:
Get token membership

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov word [rbp + 0x4b], 0x500
lea rax, [rbp + 0x2f]
mov dword [rbp + 0x47], ebx
mov qword [r11 - 0x48], rax
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov esi, ebx
mov dword [rsp + 0x28], ebx
mov edi, ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp + 0x37], rbx
mov dword [rbp + 0x3f], ebx
mov word [rbp + 0x43], 0x500
mov qword [rbp + 0x2f], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x140008ad7
mov rdx, qword [rbp + 0x2f]
lea r8, [rbp + 0x27]
xor ecx, ecx
mov dword [rbp + 0x27], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x140008ab7
mov esi, dword [rbp + 0x27]
jmp 0x140008ac5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax + rax]
jmp 0x140008ae5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test esi, esi
je 0x140008afe
mov eax, 1
jmp 0x140008b6d
lea rax, [rbp + 0x37]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x47]
mov dword [rsp + 0x48], ebx
mov dl, 1
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
lea r8d, [r9 + 0x13]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x140008b6b
mov rdx, qword [rbp + 0x37]
lea r8, [rbp + 0x27]
xor ecx, ecx
mov dword [rbp + 0x27], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x37]
test eax, eax
cmovne ebx, dword [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400144d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140008d9c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x140018f18]
lea rcx, [0x140021d40]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
je 0x140008e6e
mov r9d, 0x104
lea rcx, [rsp + 0x20]
mov eax, r9d
cmp word [rcx], si
je 0x140008e1c
add rcx, 2
sub rax, 1
jne 0x140008e0d
test rax, rax
je 0x140008e26
sub r9, rax
jmp 0x140008e29
mov r9, rsi
test rax, rax
je 0x140008e6e
add r9, 0xfffffffffffffffd
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.140007580
test eax, eax
js 0x140008e6e
mov rdx, rbx
mov rcx, rdi
call fcn.140007074
test eax, eax
js 0x140008e6e
mov rax, qword [0x1400220f0]
lea rcx, [rsp + 0x20]
call qword [0x140017da8]
mov eax, 1
jmp 0x140008e70
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400144d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008e9c
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, r9
mov r12, r8
mov r13, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [r11 - 0x50], r15
or rax, 0xffffffffffffffff
mov qword [r11 - 0x40], rax
mov r14, rax
mov qword [r11 - 0x48], rax
xor eax, eax
mov qword [r11 - 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
and qword [r11 - 0x68], rax
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
mov rax, qword [0x1400220c8]
call qword [0x140017da8]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, r14
je 0x14000901d
test rbx, rbx
je 0x140008f4b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x64], rbx
and dword [rsp + 0x6c], r15d
neg rbx
sbb rdi, rdi
lea rax, [rsp + 0x60]
and rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rsi
mov edx, ebx
mov rax, qword [0x1400220e8]
call qword [0x140017da8]
test eax, eax
je 0x140009015
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
je 0x140009015
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140009015
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
mov r15, rax
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0xb8]
test r15, r15
jne 0x140009069
cmp r14, 0xffffffffffffffff
je 0x140009038
mov rcx, r14
mov rax, qword [0x1400220d8]
call qword [0x140017da8]
cmp rsi, 0xffffffffffffffff
je 0x140009064
mov rcx, rsi
mov rax, qword [0x1400220d8]
call qword [0x140017da8]
cmp rsi, 0xffffffffffffffff
je 0x140009064
mov rcx, r13
mov rax, qword [0x1400220f0]
call qword [0x140017da8]
test r15, r15
je 0x14000908f
test rdi, rdi
je 0x140009076
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140009086
mov qword [rax], r14
test r12, r12
je 0x14000908f
mov qword [r12], rsi
mov rax, r15
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140009340
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
or edi, 0xffffffff
cmp dword [0x1400213c0], edi
jne 0x14000936d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
nop dword [rax + rax]
mov dword [0x1400213c0], eax
cmp eax, edi
je 0x140009390
cmp dword [0x1400213c8], edi
jne 0x14000938b
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
nop dword [rax + rax]
mov dword [0x1400213c8], eax
cmp eax, edi
je 0x140009390
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400098b0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov eax, dword [0x140022088]
test eax, eax
je 0x140009ab8
add eax, 0xffffffff
mov dword [0x140022088], eax
jne 0x140009ab8
mov rsi, qword [0x1400220a0]
and qword [0x1400220a0], 0
lea rbx, [0x1400092e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop dword [rax + rax]
cmp rbx, rax
cmove rax, qword [0x140022090]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop dword [rax + rax]
and qword [0x140022090], 0
mov ecx, dword [0x1400213c0]
call qword [sym.imp.KERNEL32.dll_TlsFree]
nop dword [rax + rax]
or dword [0x1400213c0], 0xffffffff
mov ecx, dword [0x1400213c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400099c8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140009997
mov rax, qword [rax]
jmp 0x140009982
mov rcx, rdi
call fcn.140009ad0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140009997
mov rax, qword [rbx]
mov rdi, qword [rax + rdx*8 - 8]
dec rdx
mov rcx, rbx
call fcn.14000b034
test rdi, rdi
jne 0x14000996e
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400099c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, dword [0x1400213c8]
call qword [sym.imp.KERNEL32.dll_TlsFree]
nop dword [rax + rax]
or dword [0x1400213c8], 0xffffffff
lea rcx, [0x140021fd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rdx, qword [0x140022080]
test rdx, rdx
je 0x140009a86
xor ebx, ebx
mov ecx, dword [0x1400220a8]
test ecx, ecx
je 0x140009a4c
mov rdi, qword [rdx + rbx*8]
test rdi, rdi
je 0x140009a46
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rdx, qword [0x140022080]
mov ecx, dword [0x1400220a8]
inc ebx
cmp ebx, ecx
jb 0x140009a10
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, qword [0x140022080]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
and qword [0x140022080], 0
and dword [0x1400220a8], 0
and dword [0x1400220b0], 0
lea rcx, [0x140021fd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
je 0x140009aa6
mov rcx, rsi
call fcn.14000f29c
and dword [0x140022098], 0
call fcn.14000bc5c
mov eax, dword [0x140022088]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140009d78
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, 0x208
lea rcx, [rsp + 0x40]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
lea rdx, str.SYSTEMSetupPanther
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140009e33
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.TelemetryAssertList
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x140009e55
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, str.PANTHER_ENABLE_TELASSERT
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
je 0x140009e5f
lea rcx, [rsp + 0x40]
call fcn.140009cac
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400144d0
add rsp, 0x260
pop rbx
ret
Function at 0x14000aaa4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov ecx, dword [0x1400213c0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000ac6d
lea rcx, [0x140021fd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
cmp qword [0x140022080], rdi
jne 0x14000ab34
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
lea r8d, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [0x140022080], rax
lea ebx, [rsi + 1]
test rax, rax
je 0x14000ac02
xor eax, eax
mov dword [0x1400220b0], eax
mov dword [0x1400220a8], ebx
jmp 0x14000ab9a
mov eax, dword [0x1400220b0]
mov ecx, dword [0x1400220a8]
cmp eax, ecx
jne 0x14000ab95
lea ebx, [rcx + 1]
shl rbx, 3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r9, rbx
mov r8, qword [0x140022080]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
nop dword [rax + rax]
mov ebx, 1
test rax, rax
je 0x14000ac02
mov qword [0x140022080], rax
add dword [0x1400220a8], ebx
mov eax, dword [0x1400220b0]
jmp 0x14000ab9a
mov ebx, 1
mov ecx, eax
mov rax, qword [0x140022080]
and qword [rax + rcx*8], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
mov r8d, 0x8018
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000ac02
add rax, 0x18
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], 0x8000
mov rdx, rdi
mov ecx, dword [0x1400213c0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
cmovne esi, ebx
test esi, esi
je 0x14000ac21
mov edx, dword [0x1400220b0]
mov rax, qword [0x140022080]
mov qword [rax + rdx*8], rdi
add edx, ebx
mov dword [0x1400220b0], edx
jmp 0x14000ac57
xor edx, edx
mov ecx, dword [0x1400213c0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor edi, edi
lea rcx, [0x140021fd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cd34
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [0x140022140], 0
jne 0x14000cf9d
cmp dword [0x1400216e8], 0
mov dword [0x140022140], 1
mov dword [0x140022100], ecx
je 0x14000cd98
and dword [0x1400216e8], 0
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
xor ecx, ecx
cmp eax, 0x80000000
setb cl
mov dword [0x140022118], ecx
jmp 0x14000cd9e
mov ecx, dword [0x140022118]
test ecx, ecx
je 0x14000ce38
lea rax, [0x14000caa0]
mov qword [0x1400220d0], rax
lea rcx, str.kernel32
lea rax, [0x14000cb50]
mov qword [0x140022148], rax
lea rax, [0x14000cc20]
mov qword [0x140022108], rax
lea rax, [0x14000c7c0]
mov qword [0x1400220f8], rax
lea rax, [0x14000cce0]
mov qword [0x1400220e0], rax
lea rax, [0x14000cd00]
mov qword [0x1400220c8], rax
lea rax, [0x14000cd20]
mov qword [0x1400220f0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x14000ce9a
lea rdx, str.AddVectoredExceptionHandler
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
jmp 0x14000ce9a
lea rax, [0x14000c3f0]
mov qword [0x1400220d0], rax
lea rax, [0x14000c520]
mov qword [0x140022148], rax
lea rax, [0x14000c680]
mov qword [0x140022108], rax
lea rax, [0x14000c7c0]
mov qword [0x1400220f8], rax
lea rax, [0x14000c7e0]
mov qword [0x1400220e0], rax
lea rax, [0x14000c8d0]
mov qword [0x1400220c8], rax
lea rax, [0x14000c9e0]
mov qword [0x1400220f0], rax
lea rax, [0x14000c270]
xor edx, edx
mov qword [0x1400220c0], rax
lea rcx, [rsp + 0x20]
lea rax, [0x14000c2a0]
mov r8d, 0x208
mov qword [0x140022128], rax
lea rax, [0x14000c2c0]
mov qword [0x1400220d8], rax
lea rax, [0x14000c2f0]
mov qword [0x140022130], rax
lea rax, [0x14000c320]
mov qword [0x140022150], rax
lea rax, [0x14000c340]
mov qword [0x140022120], rax
lea rax, [0x14000c390]
mov qword [0x140022138], rax
lea rax, [0x14000c3b0]
mov qword [0x140022110], rax
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, str._windir__system32dbghelp.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x14000cf8f
xor r8d, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
jne 0x14000cf77
lea rax, [0x14000c3e0]
xor ecx, ecx
mov qword [0x1400220e8], rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
jmp 0x14000cf9d
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
jmp 0x14000cf96
lea rax, [0x14000c3e0]
mov qword [0x1400220e8], rax
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400144d0
add rsp, 0x248
ret
Function at 0x140014268
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140149000
add rsp, 0x28
jmp 0x140014268
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x140022170], rbx
je 0x1400142b2
cmp rax, rbx
jne 0x1400142c7
mov edi, 1
mov eax, dword [0x140022178]
cmp eax, 1
jne 0x1400142d4
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140014341
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001429b
mov eax, dword [0x140022178]
test eax, eax
jne 0x140014337
mov dword [0x140022178], 1
lea r14, [0x140017e20]
lea rbx, [0x140017e08]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x140014329
test eax, eax
jne 0x14001432d
cmp qword [rbx], 0
je 0x14001431e
mov rax, qword [rbx]
mov rcx, qword [0x140017da8]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400142ff
test eax, eax
je 0x140014341
mov eax, 0xff
jmp 0x140014494
mov dword [0x140021764], 1
mov eax, dword [0x140022178]
cmp eax, 1
jne 0x140014369
lea rdx, [0x140017e00]
lea rcx, [0x140017db0]
call sub.msvcrt.dll__initterm
mov dword [0x140022178], 2
test edi, edi
jne 0x140014376
xor eax, eax
xchg qword [0x140022170], rax
cmp qword [0x140022190], 0
je 0x1400143aa
lea rcx, [0x140022190]
call fcn.140014b40
test eax, eax
je 0x1400143aa
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140022190]
mov r9, qword [0x140017da8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x140014436
test cl, cl
je 0x1400143cd
test edi, edi
jne 0x140014436
dec cl
cmp cl, 0x1f
ja 0x1400143e0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x1400143cd
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000191c
mov dword [0x140021760], eax
cmp dword [0x140021780], 0
jne 0x14001441f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140021764], 0
jne 0x140014434
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140021760]
jmp 0x140014494
cmp cl, 0x22
jne 0x140014448
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14001445a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x1400143bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x140014a2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140014a78
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014a70
cmp dword [rcx + 0x3c], edx
jl 0x140014a70
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140014a70
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140014a78
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001123a
Capabilities:
Terminate process

Disassembly:
jmp 0x140013810
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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]
nop
add rsp, 0x28
ret

Function at 0x1400112d5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014b60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b80
xor al, al
jmp 0x140014c01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b93
xor al, al
jmp 0x140014c01
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014bbd
xor al, al
jmp 0x140014c01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014bd1
xor al, al
jmp 0x140014c01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014be3
xor al, al
jmp 0x140014c01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014bff
xor al, al
jmp 0x140014c01
mov al, 1
add rsp, 0x38
ret
Function at 0x1400128b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011406
movzx eax, al
test eax, eax
jne 0x1400128d0
mov ecx, 7
call fcn.14001137a
nop
mov byte [rsp + 0x20], 0
call fcn.14001138e
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400128f4
mov ecx, 7
call fcn.14001137a
nop
jmp 0x14001294c
cmp dword [0x14001d868], 0
jne 0x140012947
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111e5
test eax, eax
je 0x140012928
mov eax, 0xff
jmp 0x140012a51
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011384
mov dword [0x14001d868], 2
jmp 0x14001294c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011366
call fcn.1400112f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400129a9
mov rcx, qword [rsp + 0x30]
call fcn.140011195
movzx eax, al
test eax, eax
je 0x1400129a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.14001132a
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400129dd
mov rcx, qword [rsp + 0x38]
call fcn.140011195
movzx eax, al
test eax, eax
je 0x1400129dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113c5
nop
call fcn.140012b00
mov dword [rsp + 0x28], eax
call fcn.1400112d5
movzx eax, al
test eax, eax
jne 0x1400129fc
mov ecx, dword [rsp + 0x28]
call fcn.140011064
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012a0b
call fcn.1400113cf
nop
xor edx, edx
mov cl, 1
call fcn.140011181
mov eax, dword [rsp + 0x28]
jmp 0x140012a51
add rsp, 0x68
ret