joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800348d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x40], 0
lea rdi, [rsp + 0x44]
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0xffffffffffffffff
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x18003499a
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18003498f
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x6c]
call fcn.18003ce48
test eax, eax
jne 0x18003497c
mov r8d, dword [rsp + 0x48]
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
jmp 0x18003498f
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x18003494b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x290
pop rdi
ret

Function at 0x1800349c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x290
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x40], 0
lea rdi, [rsp + 0x44]
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0xffffffffffffffff
cmp dword [rsp + 0x2a0], 0
jne 0x180034a1b
jmp 0x180034ae8
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x180034a3e
jmp 0x180034ae8
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x180034a63
jmp 0x180034ae8
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x2a0], eax
jne 0x180034ad1
mov byte [rsp + 0x28], 1
cmp qword [rsp + 0x2a8], 0
je 0x180034acf
lea rcx, [rsp + 0x6c]
call fcn.18003d0c8
cmp rax, 0x1f
jbe 0x180034a9e
mov qword [rsp + 0x280], Ordinal_35
jmp 0x180034ab0
lea rcx, [rsp + 0x6c]
call fcn.18003d0c8
mov qword [rsp + 0x280], rax
mov r9, qword [rsp + 0x280]
lea r8, [rsp + 0x6c]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0x2a8]
call fcn.18003c8e8
jmp 0x180034ae8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180034a63
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x180034b04
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov al, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x290
pop rdi
ret
Function at 0x180035080
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x210]
or ecx, 0x20006
mov rdx, qword [rsp + 0x70]
add rdx, 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18003510d
jmp 0x180035155
cmp qword [rsp + 0x78], 0
je 0x180035150
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180035150
jmp 0x180035155
mov byte [rsp + 0x54], 1
cmp qword [rsp + 0x58], 0
je 0x18003517c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov al, byte [rsp + 0x54]
add rsp, 0x68
ret

Function at 0x1800351e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
mov r9d, dword [rax + 0x210]
or r9d, 1
mov rdx, qword [rsp + 0x50]
add rdx, 8
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18003524a
jmp 0x18003528b
cmp qword [rsp + 0x58], 0
je 0x180035286
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180035286
jmp 0x18003528b
mov byte [rsp + 0x34], 1
cmp qword [rsp + 0x38], 0
je 0x1800352a7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], 0
mov al, byte [rsp + 0x34]
add rsp, 0x48
ret
Function at 0x180035340
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x260], 0
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x270], 0x104
mov rax, qword [rsp + 0x2a0]
mov r9d, dword [rax + 0x210]
or r9d, 0xf003f
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1800353dc
xor al, al
jmp 0x18003554c
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18003546e
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x2a0]
call fcn.180035340
movzx eax, al
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18003bb80
mov dword [rsp + 0x270], 0x104
jmp 0x1800353dc
cmp qword [rsp + 0x260], 0
je 0x180035493
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x260], 0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
je 0x180035513
xor r9d, r9d
mov rax, qword [rsp + 0x2a0]
mov r8d, dword [rax + 0x210]
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a8]
call qword [rsp + 0x268]
test eax, eax
jne 0x1800354fd
mov dword [rsp + 0x274], 1
jmp 0x180035508
mov dword [rsp + 0x274], 0
mov al, byte [rsp + 0x274]
jmp 0x18003554c
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x18003553a
mov dword [rsp + 0x278], 1
jmp 0x180035545
mov dword [rsp + 0x278], 0
mov al, byte [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x290
pop rdi
ret
Function at 0x1800366e0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x198], rax
movzx eax, byte [0x1800c57e4]
test eax, eax
je 0x18003671d
mov al, byte [0x1800c57e4]
jmp 0x1800367bb
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov r9d, 1
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1800367b5
lea rdx, str.config_systemprofile
lea rcx, [rsp + 0x140]
call fcn.180002cc0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x168]
call fcn.180002cc0
nop
xor r8d, r8d
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x168]
call fcn.1800368f0
cmp rax, 0xffffffffffffffff
je 0x18003679a
mov byte [0x1800c57e4], 1
lea rcx, [rsp + 0x168]
call fcn.180002d50
nop
lea rcx, [rsp + 0x140]
call fcn.180002d50
mov al, byte [0x1800c57e4]
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x1a0
pop rdi
ret

Function at 0x180036830
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
call fcn.1800366e0
movzx eax, al
test eax, eax
jne 0x180036884
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180036884
mov dword [rsp + 0x30], 1
jmp 0x1800368df
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1800367e0
movzx eax, al
test eax, eax
jne 0x1800368a0
jmp 0x1800368df
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1800368d5
mov dword [rsp + 0x30], 1
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x1800368df
xor eax, eax
test eax, eax
jne 0x180036850
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x180036b00
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x358
mov qword [rsp + 0x318], 0xfffffffffffffffe
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18003bb80
mov r9d, 1
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.180036830
lea r8, [0x1800a2938]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.18003ca58
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180036b86
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [0x1800a2948]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.18003ca58
mov rcx, qword [rsp + 0x360]
call fcn.180011f90
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.18003ca58
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x290]
call fcn.1800118d0
nop
lea rcx, [rsp + 0x290]
call fcn.180033c90
test eax, eax
jne 0x180036bec
mov dword [rsp + 0x320], 1
jmp 0x180036bf7
mov dword [rsp + 0x320], 0
movzx eax, byte [rsp + 0x320]
mov byte [rsp + 0x288], al
lea rcx, [rsp + 0x290]
call fcn.180011f30
movzx r11d, byte [rsp + 0x288]
test r11d, r11d
je 0x180036d23
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x2e0], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2e0]
call fcn.1800118d0
mov qword [rsp + 0x328], rax
mov rdx, qword [rsp + 0x328]
lea rcx, [rsp + 0x2e8]
call fcn.180035fe0
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x338], rax
mov rcx, qword [rsp + 0x338]
call fcn.180004100
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.180002cc0
nop
lea rcx, [rsp + 0x2e8]
call fcn.180002d50
lea rcx, [rsp + 0x260]
call fcn.180004100
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x180036d16
mov byte [rsp + 0x310], 0
lea rcx, [rsp + 0x260]
call fcn.180002d50
nop
mov rcx, qword [rsp + 0x360]
call fcn.180011f30
mov al, byte [rsp + 0x310]
jmp 0x180036d50
lea rcx, [rsp + 0x260]
call fcn.180002d50
lea rdx, [rsp + 0x50]
lea rcx, [0x1800c57f8]
call fcn.180033d00
mov byte [rsp + 0x311], 1
mov rcx, qword [rsp + 0x360]
call fcn.180011f30
mov al, byte [rsp + 0x311]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x358
ret
Function at 0x180037800
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rdx, str.Global4612A1C5_A75E_40b7_853F_EB90FFB786BE
mov rcx, qword [rsp + 0x40]
call fcn.180032bb0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0x210
call fcn.180036f70
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0x2b8
call fcn.18003b120
mov rcx, qword [rsp + 0x40]
add rcx, 8
mov r8d, 0x208
xor edx, edx
call fcn.18003bb80
mov rdx, qword [rsp + 0x40]
add rdx, 8
mov r9d, 1
mov r8d, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rcx, qword [rsp + 0x40]
add rcx, 8
lea r8, [0x1800a3030]
mov edx, 0x104
call fcn.18003ca58
mov rcx, qword [rsp + 0x40]
add rcx, 8
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800378b9
mov rcx, qword [rsp + 0x40]
add rcx, 8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov rax, qword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1800386f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x4c0
mov qword [rsp + 0x4a0], 0xfffffffffffffffe
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rcx, qword [rsp + 0x4d0]
call fcn.180038420
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x498], rax
mov rbx, qword [rsp + 0x4d0]
add rbx, 0x2b8
mov rdx, qword [rsp + 0x4d0]
add rdx, 0x210
mov rcx, qword [rsp + 0x498]
call fcn.180036fc0
mov qword [rsp + 0x4a8], rax
mov r8d, 1
mov rdx, rbx
mov rcx, qword [rsp + 0x4a8]
call fcn.180012060
mov dword [rsp + 0x250], eax
mov rcx, qword [rsp + 0x4d0]
add rcx, 0x2b8
call fcn.1800378d0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x4d0]
lea r8, [0x1800380f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x4d0]
lea r8, [0x180038290]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x4d0]
lea r8, [0x1800382f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [rsp + 0x250], 3
jne 0x180038862
mov rax, qword [rsp + 0x4d0]
movzx eax, byte [rax + 0x2b8]
test eax, eax
je 0x180038862
lea rcx, [rsp + 0x260]
call fcn.180026950
nop
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.180027570
nop
lea rcx, [rsp + 0x260]
call fcn.180026bf0
mov rcx, qword [rsp + 0x4d0]
add rcx, 0x210
call fcn.1800378d0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x4d0]
lea r8, [0x180038900]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x1800a33a0]
lea rcx, [rsp + 0x40]
call fcn.180036940
nop
mov byte [rsp + 0x30], 0
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.180036990
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1800388dc
xor eax, eax
cmp eax, 1
je 0x1800388dc
jmp 0x1800388d3
lea rcx, [rsp + 0x40]
call fcn.1800378d0
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x4c0
pop rbx
ret
Function at 0x18003b360
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xd0]
call fcn.18003b600
test eax, eax
jne 0x18003b3df
lea rdx, [0x1800a3a44]
mov rcx, qword [rsp + 0xd8]
call fcn.180002cc0
nop
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xd8]
jmp 0x18003b5df
mov dword [rsp + 0x58], 0
lea rdi, [rsp + 0x60]
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
mov edx, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x58], Ordinal_30
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x1c
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov qword [rax + 8], rdx
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 8], 0
jne 0x18003b4ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
mov edx, dword [rsp + 0xa0]
lea rcx, [0x1800a3b20]
call fcn.18003cf24
lea rdx, [0x1800a3a45]
mov rcx, qword [rsp + 0xd8]
call fcn.180002cc0
nop
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xd8]
jmp 0x18003b5df
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x10], rdx
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x10], 0
jne 0x18003b589
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa4], eax
mov edx, dword [rsp + 0xa4]
lea rcx, [0x1800a3b70]
call fcn.18003cf24
lea rdx, [0x1800a3a46]
mov rcx, qword [rsp + 0xd8]
call fcn.180002cc0
nop
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xd8]
jmp 0x18003b5df
lea rcx, [rsp + 0x78]
call fcn.180002ca0
nop
mov rdx, qword [rsp + 0xd0]
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.180002d90
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xd8]
call fcn.180002d10
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x78]
call fcn.180002d50
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.18003c690
add rsp, 0xc0
pop rdi
ret
Function at 0x18003da74
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.180044144
nop
cmp dword [0x1800c58c8], 1
je 0x18003da20
mov dword [0x1800c58c4], 1
mov byte [0x1800c58c0], r12b
test ebx, ebx
jne 0x18003da0c
mov rcx, qword [0x1800c8020]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18003d9f9
mov rcx, qword [0x1800c8018]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x18003d998
call fcn.18003ed24
cmp qword [rdi], rax
jne 0x18003d998
jmp 0x18003d97e
cmp rdi, rsi
jb 0x18003d9f9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.18003ed24
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1800c8020]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1800c8018]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x18003d9d7
cmp r13, rax
je 0x18003d9f7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x18003d97e
lea rdx, [0x18009faa0]
lea rcx, [0x18009fa88]
call fcn.18003d7c8
lea rdx, [0x18009fab0]
lea rcx, [0x18009faa8]
call fcn.18003d7c8
nop
test r12d, r12d
je 0x18003da2f
mov ecx, 8
call fcn.180044044
test r12d, r12d
jne 0x18003da5a
mov dword [0x1800c58c8], 1
lea ecx, [r12 + 8]
call fcn.180044044
mov ecx, r15d
call fcn.18003d75c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x18003d8e8

Function at 0x18003da80
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18003d8e8
Function at 0x1800428b3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800c34c8]
jne 0x18003c6aa
rol rcx, 0x10
test cx, 0xffff
jne 0x18003c6a6
repz ret
ror rcx, 0x10
jmp 0x18004280c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800c5a00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800c5af8]
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 0x180042891
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, [0x1800c5a00]
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 0x1800428b3
mov rax, qword [rsp + 0x88]
mov qword [0x1800c5af8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800c5a98], rax
mov rax, qword [0x1800c5af8]
mov qword [0x1800c5970], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800c5a80], rax
mov dword [0x1800c5960], 0xc0000409
mov dword [0x1800c5964], 1
mov rax, qword [0x1800c34c8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800c34d0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800c59f8], eax
mov ecx, 1
call fcn.180043f2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800a4148]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800c59f8], 0
jne 0x18004293a
mov ecx, 1
call fcn.180043f2c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret