joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004e00
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x468
mov rax, qword [0x140035950]
xor rax, rsp
mov qword [rsp + 0x450], rax
call fcn.14000624c
test eax, eax
je 0x140004ea6
mov rcx, qword [0x14003f7d8]
lea r8, [rsp + 0x50]
mov r9d, 0x200
mov edx, 0x6e
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x140004e62
mov rcx, qword [0x14003f7a8]
lea rdx, [rsp + 0x50]
mov r9d, 0x30
xor r8d, r8d
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [0x140035200], 5
jbe 0x140004f2c
movabs rdx, 0x200000000000
test qword [0x140035210], rdx
je 0x140004f2c
mov rax, qword [0x140035218]
and rax, rdx
cmp rax, qword [0x140035218]
jne 0x140004f2c
lea rdx, [0x14002e7cd]
jmp 0x140004f08
mov rcx, qword [0x14003f7a8]
lea r8, str.http:__go.microsoft.com_fwlink__LinkId140672
mov dword [rsp + 0x28], 5
lea rdx, str.open
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x140035200], 5
jbe 0x140004f2c
movabs rdx, 0x200000000000
test qword [0x140035210], rdx
je 0x140004f2c
mov rax, qword [0x140035218]
and rax, rdx
cmp rax, qword [0x140035218]
jne 0x140004f2c
lea rdx, [0x14002e7f4]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rcx, [0x140035200]
xor r8d, r8d
mov dword [rsp + 0x20], 2
call fcn.140001270
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000a7b0
add rsp, 0x468
ret

Function at 0x14000624c
Capabilities:
Get token privileges

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x50], 0
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
lea edx, [rbx + 9]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400062a5
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 3]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r9d
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x13]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400062ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140008004
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x670]
sub rsp, 0x770
mov rax, qword [0x140035950]
xor rax, rsp
mov qword [rbp + 0x660], rax
mov r15, r8
movsxd rsi, r9d
mov r14, rdx
mov r8d, 0x100
lea rdx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x460]
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor r12d, r12d
mov ebx, eax
test eax, eax
je 0x14000815c
mov edx, ebx
lea ecx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [rsp + 0x20]
lea rcx, [rbp + 0x460]
mov r9, rax
mov r8d, ebx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140008153
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04x_
lea rcx, [rbp + 0x360]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
test rsi, rsi
jle 0x140008153
mov ebx, r12d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x200
lea rdx, [rbp + 0x360]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.14000b024
mov rdx, qword [rbx + r15]
lea rcx, [rsp + 0x40]
call fcn.14000b024
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x50]
mov word [rax], r12w
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [rbx + r15 + 8]
mov rcx, r14
mov r8, qword [rsp + 0x30]
test eax, eax
jne 0x140008143
lea r8, str._error_
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
add rbx, 0x10
sub rsi, 1
jne 0x1400080da
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.14000a7b0
add rsp, 0x770
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000a168
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14015e000
add rsp, 0x28
jmp 0x14000a168
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 [0x14003ffa0], rbx
je 0x14000a1b2
cmp rax, rbx
jne 0x14000a1c7
mov edi, 1
mov eax, dword [0x14003ffa8]
cmp eax, 1
jne 0x14000a1d4
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14000a241
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a19b
mov eax, dword [0x14003ffa8]
test eax, eax
jne 0x14000a237
mov dword [0x14003ffa8], 1
lea r14, [0x140020840]
lea rbx, [0x140020828]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14000a229
test eax, eax
jne 0x14000a22d
cmp qword [rbx], 0
je 0x14000a21e
mov rax, qword [rbx]
mov rcx, qword [0x140020800]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000a1ff
test eax, eax
je 0x14000a241
mov eax, 0xff
jmp 0x14000a394
mov dword [0x14003f964], 1
mov eax, dword [0x14003ffa8]
cmp eax, 1
jne 0x14000a269
lea rdx, [0x140020820]
lea rcx, [0x140020808]
call sub.msvcrt.dll__initterm
mov dword [0x14003ffa8], 2
test edi, edi
jne 0x14000a276
xor eax, eax
xchg qword [0x14003ffa0], rax
cmp qword [0x14003ffb0], 0
je 0x14000a2aa
lea rcx, [0x14003ffb0]
call fcn.14000a9b0
test eax, eax
je 0x14000a2aa
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14003ffb0]
mov r9, qword [0x140020800]
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 0x14000a336
test cl, cl
je 0x14000a2cd
test edi, edi
jne 0x14000a336
dec cl
cmp cl, 0x1f
ja 0x14000a2e0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14000a2cd
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.140007bf4
mov dword [0x14003f960], eax
cmp dword [0x14003f980], 0
jne 0x14000a31f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14003f964], 0
jne 0x14000a334
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14003f960]
jmp 0x14000a394
cmp cl, 0x22
jne 0x14000a348
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 0x14000a35a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14000a2bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x14000a89c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a8e8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000a8e0
cmp dword [rcx + 0x3c], edx
jl 0x14000a8e0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000a8e0
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 0x14000a8e8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14000b430
Capabilities:
Migrate process to active window station

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140035950]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ebx, ecx
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
je 0x14000b475
mov eax, 1
jmp 0x14000b4f7
mov r8d, 0x2000000
lea rcx, str.WinSta0
mov edx, ebx
call qword [sym.imp.USER32.dll_OpenWindowStationW]
test rax, rax
je 0x14000b4f5
mov rcx, rax
call qword [sym.imp.USER32.dll_SetProcessWindowStation]
mov r8d, 0x2000000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rdi, rax
test rax, rax
jne 0x14000b4d0
mov r9d, 0x2000000
lea rcx, str.Winlogon
mov r8d, ebx
xor edx, edx
call qword [sym.imp.USER32.dll_OpenDesktopW]
mov rdi, rax
test rax, rax
je 0x14000b4f5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rcx, rax
call qword [sym.imp.USER32.dll_CloseDesktop]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
jmp 0x14000b46b
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000a7b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret

Function at 0x14000b80c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x14000b83f
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000b891
mov rcx, qword [rsp + 0x38]
jmp 0x14000b844
mov qword [rsp + 0x38], rcx
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x58], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test rbx, rbx
je 0x14000b87e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14000b891
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x30], eax
jne 0x14000b891
lea eax, [rdi + 1]
jmp 0x14000b893
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000b8ac
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x14000b8df
lea r8, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000b918
mov rcx, qword [rsp + 0x48]
jmp 0x14000b8e4
mov qword [rsp + 0x48], rcx
mov eax, dword [rsp + 0x60]
xor r8d, r8d
mov r9d, dword [rsp + 0x68]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test rbx, rbx
je 0x14000b914
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14000b91c
xor eax, eax
jmp 0x14000b921
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d248
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140035950]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, r8d
mov r14, rcx
test edx, edx
je 0x14000d28b
mov rcx, qword [rcx + 8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x14000d3db
mov rcx, qword [r14 + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [r14 + 0x18]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov rcx, r14
movups xmm0, xmmword [rax + 4]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.14000c218
mov r9d, dword [rbp - 0x1c]
or rdx, 0xffffffffffffffff
mov r8d, dword [rbp - 0x20]
mov ebx, dword [rbp - 0x14]
mov edi, dword [rbp - 0x18]
sub ebx, r9d
mov rcx, qword [r14 + 8]
sub edi, r8d
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [r14 + 0x18]
cmp dword [rax + 0x1c], 0
je 0x14000d3a7
movups xmm0, xmmword [rax + 0x20]
mov rdx, qword [r14 + 8]
lea r8, [rbp - 0x20]
mov r9d, 2
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r9d, dword [rbp - 0x14]
mov r8d, dword [rbp - 0x18]
mov edx, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0x20]
mov r15, qword [r14 + 0x20]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov r9d, ebx
mov r8d, edi
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateRectRgn]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov r9d, 4
mov r8, rsi
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.GDI32.dll_CombineRgn]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov rdx, rdi
mov qword [r14 + 0x20], rdi
call qword [sym.imp.USER32.dll_SetWindowRgn]
test r15, r15
je 0x14000d3cc
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14000d3cc
cmp qword [r14 + 0x20], 0
je 0x14000d3cc
mov rcx, qword [r14 + 8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.GDI32.dll_DeleteObject]
and qword [r14 + 0x20], 0
mov rcx, qword [r14 + 8]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000a7b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000dc94
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 0x208]
cmp qword [rdi], 0
jne 0x14000dcd6
mov rdx, rcx
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000001
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000dcd6
and qword [rdi], 0
lea rbx, [0x1400359d8]
mov esi, 0x27
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000dd38
mov rdx, qword [rbx - 8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000dd38
cmp dword [rbx], 0
mov eax, dword [rsp + 0x40]
je 0x14000dd35
cmp eax, dword [rbx + 4]
cmovl eax, dword [rbx + 4]
cmp eax, dword [rbx + 8]
cmovg eax, dword [rbx + 8]
mov dword [rsp + 0x40], eax
mov dword [rbx + 0xc], eax
add rbx, 0x20
sub rsi, 1
jne 0x14000dce2
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14000dde8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rdi
sub rsp, 0x30
mov rbx, r8
cmp edx, 0x26
ja 0x14000de3f
and dword [r8], 0
lea rbp, str.Framework
and qword [rax - 0x10], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x208]
xor r8d, r8d
and qword [rax - 0x18], 0
movsxd rdi, edx
shl rdi, 5
mov rdx, qword [rdi + rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000de44
mov ecx, dword [rdi + rbp + 0x14]
mov dword [rbx], ecx
jmp 0x14000de44
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000dec4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x30
cmp edx, 0x26
ja 0x14000df1b
mov rcx, qword [rcx + 0x210]
lea rdi, str.Framework
movsxd rbx, edx
mov r9d, 4
shl rbx, 5
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov eax, dword [rbx + rdi + 0x14]
mov rdx, qword [rbx + rdi]
mov dword [rsp + 0x48], eax
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000df20
and dword [rbx + rdi + 0x18], eax
jmp 0x14000df20
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400165f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rcx + 0xa0], 0
xor r9d, r9d
mov rdi, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x98], rax
test rax, rax
jne 0x14001663d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x14001663f
xor ecx, ecx
test ecx, ecx
jns 0x14001664a
mov eax, ecx
jmp 0x140016705
lea rax, [rdi + 0x90]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140016e90]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x1400166a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x98]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0x98], 0
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
jmp 0x140016703
mov rcx, qword [rdi + 0x98]
or esi, 0xffffffff
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x1400166c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [rdi + 0xa0]
test esi, esi
js 0x1400166d5
mov qword [rdi + 0x88], rbx
xor ebx, ebx
jmp 0x1400166f0
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0x98], 0
mov esi, dword [rdi + 0xa0]
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140016703
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14001131b
Capabilities:
Create thread

Disassembly:
jmp 0x140020f50
push rbp
push rsi
push rdi
sub rsp, 0x3e0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140043058]
xor rax, rbp
mov qword [rbp + 0x3a0], rax
lea rcx, [0x14004b11b]
call fcn.140011e74
jmp 0x140020f95
call fcn.140011af0
cmp qword [0x140043470], 0
jne 0x140020fc6
mov dword [rbp + 0x264], 0x64
lea rdx, [rbp + 0x264]
lea rcx, [rbp + 0x248]
call fcn.140011a73
mov rcx, rax
call fcn.140011be0
jmp 0x140020f90
call fcn.1400115e1
mov edx, 0x20
lea rcx, [rbp + 8]
call fcn.14001123a
lea rcx, [rbp + 0x284]
call fcn.140011cbc
mov qword [rbp + 0x398], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400115ff]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x378], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001181b]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x380], rax
lea rax, [rbp + 0x388]
mov r8, rax
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x2a8]
call fcn.14001166d
lea rcx, [rbp + 0x2d8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x350]
lea rcx, [rbp + 0x2d8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rbp + 0x398]
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 8]
call fcn.140011dd4
nop
lea rax, [rbp + 8]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
call fcn.140011c03
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x48]
call fcn.140011a5f
mov qword [rbp + 0x88], rax
jmp 0x1400210db
mov rax, qword [rbp + 0x68]
add rax, 8
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0x68], rax
je 0x140021105
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400210cf
xor eax, eax
cmp eax, 1
je 0x140021133
mov dword [rbp + 0x324], 0x64
lea rdx, [rbp + 0x324]
lea rcx, [rbp + 0x308]
call fcn.14001133e
mov rcx, rax
call fcn.1400112a3
jmp 0x140021105
lea rcx, [rbp + 8]
call fcn.140011465
lea rcx, [rbp - 0x30]
lea rdx, [0x1400390d0]
call fcn.140011bfe
mov rcx, qword [rbp + 0x3a0]
xor rcx, rbp
call fcn.1400116a9
lea rsp, [rbp + 0x3b0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400117cb
Capabilities:
Terminate process

Disassembly:
jmp 0x1400314c0
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]
add rsp, 0x28
ret
Function at 0x1400119dd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140030710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140030730
xor al, al
jmp 0x1400307b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140030743
xor al, al
jmp 0x1400307b1
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 0x14003076d
xor al, al
jmp 0x1400307b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140030781
xor al, al
jmp 0x1400307b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140030793
xor al, al
jmp 0x1400307b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400307af
xor al, al
jmp 0x1400307b1
mov al, 1
add rsp, 0x38
ret
Function at 0x415e40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415fcb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004333e0
xorps xmm15, xmm15
mov r14, qword [0x00646950]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415ea5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415eb4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415ed3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415ee3
cmp rbx, 0x1000
jae 0x415eab
jmp 0x415f4d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415ef5
xor edx, edx
jmp 0x415f44
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004333e0
xorps xmm15, xmm15
mov r14, qword [0x00646950]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415ed9
jmp 0x415ec8
call fcn.004647c0
xorps xmm15, xmm15
mov r14, qword [0x00646950]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004377e0
lea rax, [0x00511a73]
mov ebx, 0x18
nop dword [rax]
call fcn.00438060
mov rax, qword [rsp + 0x38]
call fcn.00437da0
lea rax, [0x005120de]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438060
mov rax, qword [rsp + 0x30]
call fcn.00437da0
call fcn.00437a20
call fcn.00437840
lea rax, [0x005150df]
mov ebx, 0x21
call fcn.00435e40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415e40