joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001900
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180001e90
mov qword [rsp + 0x28], 0
cmp qword [0x180009188], 0
jne 0x180001948
cmp qword [0x180009180], 0
je 0x180001948
mov rax, qword [0x180009180]
mov qword [0x180009188], rax
cmp qword [0x180009188], 0
je 0x1800019ee
mov rax, qword [0x180009188]
cmp qword [rax + 0x10], 0
je 0x1800019ee
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800019ee
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800019ee
mov rax, qword [0x180009188]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800019b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800019bb
xor eax, eax
jmp 0x180001b69
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180001b69
mov rax, qword [0x180009180]
mov qword [0x180009188], rax
jmp 0x180001a10
mov rax, qword [0x180009188]
mov rax, qword [rax + 8]
mov qword [0x180009188], rax
cmp qword [0x180009188], 0
je 0x180001a5d
cmp qword [0x180009188], 0
je 0x180001a5b
mov rax, qword [0x180009188]
cmp qword [rax + 0x10], 0
je 0x180001a5b
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180001a5b
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180001a5b
jmp 0x18000198c
jmp 0x1800019fe
mov rcx, qword [rsp + 0x60]
call fcn.180003ff0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180001b70
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180001b67
mov rax, qword [rsp + 0x48]
mov qword [0x180009188], rax
mov rax, qword [0x180009188]
mov dword [rax], 0x52727464
mov rax, qword [0x180009188]
mov qword [rax + 0x10], 0
mov rax, qword [0x180009188]
mov rcx, qword [0x180009180]
mov qword [rax + 8], rcx
mov rax, qword [0x180009188]
mov qword [0x180009180], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180009188]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180001b18
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180001b52
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180001b0e
mov rax, qword [0x180009188]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000198c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180002880
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800028c7
xor al, al
jmp 0x180002969
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800028f1
xor al, al
jmp 0x180002969
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180002961
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180002961
mov al, 1
jmp 0x180002969
jmp 0x180002967
xor al, al
add rsp, 0x78
ret

Function at 0x180002c70
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180009180]
mov qword [rsp + 0x28], rax
jmp 0x180002c90
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180002cbf
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180002cbd
call sub.KERNEL32.dll_GetLastError
jmp 0x180002cc1
jmp 0x180002c82
xor eax, eax
add rsp, 0x38
ret
Function at 0x180003560
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180009198], eax
je 0x18000358d
mov eax, 0x10dd
jmp 0x1800037a6
cmp dword [0x18000919c], 0
je 0x1800035a1
mov eax, dword [0x18000919c]
jmp 0x1800037a6
cmp qword [rsp + 0x78], 0
jne 0x1800035b3
mov eax, 0x57
jmp 0x1800037a6
cmp qword [rsp + 0x70], 0
jne 0x1800035c5
mov eax, 6
jmp 0x1800037a6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800035f7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18000919c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1800091a0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800037a6
mov ecx, 0x30
call fcn.1800060f8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180003669
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18000919c], eax
cmp qword [rsp + 0x30], 0
je 0x180003654
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180005d94
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1800091a0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800037a6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180003530
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180003530
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1800036c6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1800036e3
mov dword [rsp + 0x20], 9
cmp dword [0x180009190], 0
je 0x1800036de
jmp 0x18000362a
jmp 0x180003620
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180003710
mov dword [rsp + 0x20], 9
cmp dword [0x180009190], 0
je 0x18000370b
jmp 0x18000362a
jmp 0x180003620
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180003747
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180003620
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1800091b0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1800091b0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800037b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180009198], eax
je 0x1800037cb
mov eax, 0x10dd
jmp 0x1800038f0
mov rax, qword [0x1800091b0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003875
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180003840
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180003840
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180001fd0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180005d94
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800037d7
mov qword [0x1800091b0], 0
call fcn.180002a30
mov rax, qword [0x1800091a8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800038d9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180005d94
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180003891
mov qword [0x1800091a8], 0
mov dword [0x180009198], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180003e20
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18000919c], 0
je 0x180003e3d
mov eax, dword [0x18000919c]
jmp 0x180003f03
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180003e50
xor eax, eax
jmp 0x180003f03
mov ecx, 0x10
call fcn.1800060f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180003ebe
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180003ea3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180005d94
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18000919c], eax
mov qword [0x1800091a0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180003f03
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180003ed8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180003e79
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800091a8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800091a8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x180004000
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x18000402d
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18000404d
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800041c6
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x180004084
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800041c6
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x1800040a2
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800041c6
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1800040ce
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x1800041aa
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x180007508]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1800041a5
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x180004133
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x180004135
jmp 0x1800041aa
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x18000417b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x18000417d
jmp 0x1800041aa
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180004197
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x1800041c6
jmp 0x1800040c4
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800041c6
add rsp, 0x78
ret
Function at 0x1800041d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x180004218
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x180004237
jmp 0x1800042db
cmp dword [rsp + 0x68], 0x1000
jne 0x18000425c
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x18000425c
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x18000425e
jmp 0x180004203
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180004294
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180004294
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180004299
jmp 0x180004203
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x180004203
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x20]
jmp 0x1800042dd
xor eax, eax
add rsp, 0x88
ret

Function at 0x180004530
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x18000457a
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180004642
cmp dword [rsp + 0x60], 0x1000
jne 0x18000459f
mov eax, dword [rsp + 0x64]
and eax, 0xff
cmp eax, 1
je 0x18000459f
mov eax, dword [rsp + 0x64]
and eax, 0x100
test eax, eax
je 0x1800045b0
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180004642
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800045d7
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180004642
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18000460b
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180004642
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x180004626
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180004642
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x180004642
add rsp, 0x78
ret
Function at 0x1400010d0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x290], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call fcn.140002e60
lea edx, [rdi + 1]
mov rcx, qword [rax + 0x30]
call fcn.1400082d0
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rsi, rax
call fcn.140008410
test eax, eax
jne 0x140001137
mov ebx, edi
jmp 0x140001144
mov edx, eax
mov rcx, rsi
call fcn.140008020
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rcx, rax
xor edx, edx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call rbx
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x104
mov rbx, rax
call fcn.14000c5f0
xor edx, edx
lea rcx, [rsp + 0x180]
mov r8d, 0x104
call fcn.14000c5f0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x104
lea rdx, [rsp + 0x180]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x1400011e5
call fcn.1400164d4
mov qword [rsi + 0x70], rdi
mov rcx, rsi
call fcn.1400164d4
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x180]
sub r9, rcx
nop dword [rax]
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140001215
inc rcx
test edx, edx
jne 0x140001200
test r8d, r8d
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14000b2e0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
lea rsi, [0x140030e98]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rsi + rdx*2 + 2], 0
lea rdx, [rdx + 1]
jne 0x140002e80
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140002ede
lea rdi, [rdx + rdx]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x60]
mov r8, rdi
mov rdx, rsi
call fcn.140016818
test eax, eax
je 0x140002ef0
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x140002ede
test rbx, rbx
jne 0x140002eb0
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140003560
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400035be
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov esi, eax
call fcn.140016914
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, esi
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000360e
cmp dword [rsp + 0x40], esi
je 0x140003618
mov rcx, rbx
call fcn.1400164d4
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x50
pop rdi
ret
Function at 0x140004890
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14004de10]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400048c0
test rax, rax
jne 0x140004917
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000c5f0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.140016298
lea r8, str.wdigest.dll
mov edx, 0x104
mov rcx, rbx
call fcn.140016298
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x240
pop rbx
ret
Function at 0x140006a60
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14004e470]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140006a90
test rax, rax
jne 0x140006ae7
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000c5f0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.140016298
lea r8, str._ntoskrnl.exe
mov edx, 0x104
mov rcx, rbx
call fcn.140016298
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x240
pop rbx
ret
Function at 0x140007160
Capabilities:
Create process on windows
Create thread

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0xe0]
xor eax, eax
xor ebx, ebx
xor edx, edx
mov dword [rsp + 0xd4], eax
mov r8d, 0x208
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x68], ebx
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.14000c5f0
mov rax, qword [0x14004e688]
test rax, rax
jne 0x140007311
lea rcx, [0x14004e680]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [0x14004e690], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140007020]
mov qword [0x14004e698], rax
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x1f4
mov qword [0x14004e688], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14004e688]
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetThreadId]
lea r8, str.GodFault.exe__t__u
mov edx, 0x104
mov r9d, eax
lea rcx, [rsp + 0xe0]
call fcn.140006fc0
lea rdx, [rsp + 0xe0]
lea rcx, str.___Running_command:__ws_n
call fcn.140001010
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140007341
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000732a
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14000732a
cmp dword [rsp + 0x68], ebx
jne 0x14000732a
mov rax, qword [0x14004e688]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x300
pop rbx
ret
lea rcx, str.____GodFault_returned_failure__exiting..._n
call fcn.140001010
mov ecx, 1
call fcn.14000f6f4
int3
lea rcx, str.____CreateProcessW_GodFault__failed__exiting..._n
call fcn.140001010
mov ecx, 1
call fcn.14000f6f4
int3