joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005df0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x460
mov rax, qword [0x180067480]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r12, qword [rsp + 0x4b0]
mov rsi, rdx
mov rdx, qword [rdx]
cmp dword [rdx - 0x10], 0
mov r13d, r9d
mov rdi, r8
mov rbx, rcx
je 0x180005f8f
test r12, r12
je 0x180005f8f
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x180005eaf
mov rdx, qword [rsi]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x180005eaf
mov rdx, qword [rsi]
sub rdx, 0x18
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180005e8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180005ea8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x180005f70
mov qword [rsp + 0x458], rbp
mov rbp, qword [rdi]
cmp dword [rbp - 0x10], 0
jne 0x180005ee4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
sub rdx, 0x18
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180005f48
jmp 0x180005f3f
mov ebx, dword [rsp + 0x4b8]
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, rbx
call fcn.1800336d0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov r9d, r13d
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
sub rdx, 0x18
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180005f48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180005f63
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rsp + 0x458]
mov eax, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180031f50
add rsp, 0x460
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180005e8d
jmp 0x180005e84
Function at 0x180009e90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x180067480]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, r8
mov rbp, rdx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x30], 0x200
mov r8, rdx
lea rdx, str.CLSID_
lea rcx, [rsp + 0x48]
call fcn.1800077b0
nop
lea r8, str.InprocServer32
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800076e0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009f1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edi, edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000a008
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180051c58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180009ffc
xor eax, eax
mov rcx, rbx
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.180001a70
mov rcx, qword [rsi]
mov edi, dword [rcx - 0x10]
mov edx, 0x5c
call fcn.1800345e4
test rax, rax
jne 0x180009fb6
mov eax, ebx
jmp 0x180009fb8
sub eax, dword [rsi]
sub edi, eax
lea r8d, [rdi - 1]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180006080
nop
mov rdx, rax
mov rcx, rsi
call fcn.180001b50
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009ff7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000a028
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a048
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
jmp 0x18000a04a
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180031f50
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000ac40
Capabilities:
Get common file path
Print debug messages
Read .ini file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180067480]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x61], rax
mov byte [rsp + 0x69], al
mov byte [rsp + 0x70], al
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x71]
call fcn.180031f80
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdi, [rsp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [0x180052a80]
mov qword [rdi - 1], rax
mov eax, dword [0x180052a88]
mov dword [rdi + 7], eax
movzx eax, word [0x180052a8c]
mov word [rdi + 0xb], ax
movzx eax, byte [0x180052a8e]
mov byte [rdi + 0xd], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, [rsp + 0x60]
lea r8, [0x180051c58]
lea rdx, [0x180052a78]
lea rcx, [0x180052a70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rsi, [rsp + 0x60]
lea rdi, [0x180052a68]
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
jne 0x18000adba
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov r8d, 0xf
lea rdx, [0x180052a58]
lea rcx, [rsp + 0x38]
call fcn.1800072f0
mov r8d, 3
lea rdx, [0x180052a50]
lea rcx, [rsp + 0x38]
call fcn.180007180
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180007180
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
cmp qword [rsp + 0x58], 0x10
jb 0x18000adb6
mov rcx, qword [rsp + 0x40]
call fcn.180021240
mov al, 1
jmp 0x18000adbc
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180031f50
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000c9d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x170
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180067480]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x51]
call fcn.180031f80
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1800072f0
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.18000c0d0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.180031f80
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1800072f0
mov r8d, 1
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.18000c0d0
lea rcx, [0x180053318]
call fcn.18000ac40
nop
cmp qword [rsp + 0x48], 0x10
jb 0x18000caf7
mov rcx, qword [rsp + 0x30]
call fcn.180021240
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180031f50
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000d970
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
lea rdx, [0x180051c58]
lea rcx, [0x180066080]
xor r8d, r8d
call fcn.1800072f0
lea rdx, [0x180051c58]
lea rcx, [0x1800660a8]
xor r8d, r8d
call fcn.1800072f0
lea rdx, [0x1800660a8]
lea rcx, [0x180066080]
add rsp, 0x28
jmp fcn.18000c9d0

Function at 0x18000dba0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x180067480]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x18000dd24
lea rcx, [0x180053590]
call fcn.18000ac40
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x150], bpl
call fcn.180031f80
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x18000dd19
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x288], rdi
mov edi, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000dcdc
cmp edi, 0xa
jb 0x18000dcd3
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0x104
call fcn.180031f80
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.180009c80
lea rdx, str.UPAGENT.EXE
lea rcx, [rsp + 0x150]
call fcn.180032d74
test rax, rax
jne 0x18000dcfb
lea rdx, str.CUPDATEPROCESS.EXE
lea rcx, [rsp + 0x150]
call fcn.180032d74
test rax, rax
jne 0x18000dcfb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000dcdc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x18000dc41
jmp 0x18000dd09
mov rcx, rbx
mov ebp, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x288]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180031f50
mov rbp, qword [rsp + 0x290]
add rsp, 0x270
pop rsi
ret
Function at 0x1800116b0
Capabilities:
Get common file path
Print debug messages
Read .ini file

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.18000dba0
test eax, eax
je 0x1800117b5
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov rcx, rdi
mov qword [rsp + 0x40], rsi
mov dword [0x18011c224], 1
mov dword [0x18010bc80], ebx
mov dword [0x180108cb0], ebx
mov dword [0x18010049c], ebx
mov dword [0x1800fff40], ebx
mov dword [0x1800ff500], ebx
mov dword [0x1800ff4b8], ebx
mov dword [0x1800dd0c0], ebx
mov dword [0x1800da66c], ebx
mov dword [0x1800dcf3c], ebx
mov dword [0x1800dc7dc], ebx
mov dword [0x180119cdc], ebx
mov dword [0x18011a5a0], ebx
mov dword [0x18011bc90], ebx
call fcn.18000ddf0
mov dword [rsp + 0x38], ebx
lea rbx, [0x180148938]
lea rsi, [0x180148950]
cmp qword [rbx], 0
je 0x18001179a
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x180011794
cmp dword [rsp + 0x38], 0x103
jne 0x180011777
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180011762
cmp qword [rbx], 0
jne 0x180011750
add rbx, 8
cmp rbx, rsi
jl 0x180011744
mov rcx, rdi
call fcn.180004510
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
lea rcx, str.Stop_vrvaud_policy_ok_
add rsp, 0x20
pop rdi
jmp fcn.18000ac40
Function at 0x18002a170
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.18002917c
mov rsi, rax
test rax, rax
je 0x18002a1ec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x18002a1e7
cmp dword [rbx], 0x40
jb 0x18002a1e7
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x18002a1e7
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x18002a1f0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180033518
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18003338c

Function at 0x180035750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x18003578a
call fcn.1800370d0
and dword [rax], 0
call fcn.1800370b0
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.180034fa8
mov eax, ebx
jmp 0x1800357da
test edx, 0xfffffff9
jne 0x18003575d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800357b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800370f0
call fcn.1800370b0
mov eax, dword [rax]
jmp 0x1800357da
test al, 0x10
jne 0x1800357d8
test al, 1
je 0x1800357d8
test bl, 2
je 0x1800357d8
call fcn.1800370d0
mov dword [rax], 5
call fcn.1800370b0
mov dword [rax], 0xd
jmp 0x1800357aa
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x180037b87
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180067480]
jne 0x180031f6a
rol rcx, 0x10
test cx, 0xffff
jne 0x180031f66
repz ret
ror rcx, 0x10
jmp 0x180037ae0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18014ca40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18014cb38]
mov qword [rsp + 0x58], r11
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 0x180037b65
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, [0x18014ca40]
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 0x180037b87
mov rax, qword [rsp + 0x88]
mov qword [0x18014cb38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18014cad8], rax
mov rax, qword [0x18014cb38]
mov qword [0x18014c9b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18014cac0], rax
mov dword [0x18014c9a0], 0xc0000409
mov dword [0x18014c9a4], 1
mov rax, qword [0x180067480]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180067488]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18014ca38], eax
mov ecx, 1
call fcn.18003f528
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180058440]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18014ca38], 0
jne 0x180037c0e
mov ecx, 1
call fcn.18003f528
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 0x180044b94
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1800397d0
xor ebx, ebx
mov rdi, rax
cmp qword [0x18014d780], rbx
jne 0x180044c9a
lea rcx, [0x18005aaf8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180044d6f
lea rdx, [0x18005aae8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180044d6f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18005aad8]
mov rcx, rsi
mov qword [0x18014d780], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18005aac0]
mov rcx, rsi
mov qword [0x18014d788], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18005aaa0]
mov rcx, rsi
mov qword [0x18014d790], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18014d7a0], rax
test rax, rax
je 0x180044c91
lea rdx, [0x18005aa88]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18014d798], rax
jmp 0x180044ca1
mov rax, qword [0x18014d798]
jmp 0x180044ca8
mov rax, qword [0x18014d798]
mov r11, qword [0x18014d7a0]
cmp rax, rdi
je 0x180044d10
cmp r11, rdi
je 0x180044d10
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18014d7a0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180044d10
test rax, rax
je 0x180044d10
call rsi
test rax, rax
je 0x180044d0a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180044d0a
test byte [rsp + 0x38], 1
jne 0x180044d10
bts ebp, 0x15
jmp 0x180044d4e
mov rcx, qword [0x18014d788]
cmp rcx, rdi
je 0x180044d4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180044d4e
call rax
mov rbx, rax
test rax, rax
je 0x180044d4e
mov rcx, qword [0x18014d790]
cmp rcx, rdi
je 0x180044d4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180044d4e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18014d780]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180044d6f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180044d71
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140004308
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400040dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400040dc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400040dc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400040dc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400040dc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400040dc
cmp dword [rcx + 0xf8], esi
je 0x1400040dc
mov ecx, r14d
call fcn.140004224
mov ecx, 2
call fcn.140006754
nop
cmp byte [0x140016208], 0
jne 0x1400041a6
mov r15d, 1
mov eax, r15d
xchg dword [0x1400161fc], eax
test ebx, ebx
jne 0x14000414f
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140016200]
cmp rcx, rax
je 0x140004146
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002db4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140016218]
jmp 0x14000415b
cmp ebx, r15d
jne 0x140004161
lea rcx, [0x140016230]
call fcn.140004818
nop
test ebx, ebx
jne 0x140004178
lea rdx, [0x14000c388]
lea rcx, [0x14000c368]
call fcn.140003f9c
lea rdx, [0x14000c398]
lea rcx, [0x14000c390]
call fcn.140003f9c
movzx eax, byte [0x140016208]
test esi, esi
cmove eax, r15d
mov byte [0x140016208], al
jmp 0x1400041a6
mov ecx, 2
call fcn.1400067a8
test esi, esi
jne 0x1400041bd
mov ecx, r14d
call fcn.1400041d8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000406c
Function at 0x140001c90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140001cf1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140001cb0
mov ecx, dword [r9]
jmp 0x140001dd8
cmp ecx, 0x4e0
jb 0x140001dd8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140001d10
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140001d60
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400027e8
Capabilities:
Parse pe header

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