joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140174590]
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001318
mov ecx, 0x3e8
call rdi
xor eax, eax
lock cmpxchg qword [rbx], rsi
jne 0x1400011b0
mov rsi, qword [0x1401745a0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x14000132f
mov eax, dword [rsi]
test eax, eax
je 0x140001390
mov dword [0x140177008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x140001344
test edi, edi
je 0x140001365
mov rax, qword [0x140174510]
mov rax, qword [rax]
test rax, rax
je 0x14000121f
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140174580]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x140177028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x140177020]
mov rbp, rax
test ebx, ebx
jle 0x1400013b0
sub rdi, 8
xor ebx, ebx
nop dword [rax]
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140177020], rbp
call dbg.__main
call dbg.__p___initenv
mov r8, qword [0x140177018]
mov ecx, dword [0x140177028]
mov qword [rax], r8
mov rdx, qword [0x140177020]
call sym.main
mov ecx, dword [0x14017700c]
mov dword [0x140177010], eax
test ecx, ecx
je 0x1400013b8
mov edx, dword [0x140177008]
test edx, edx
je 0x140001370
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x1401745a0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011dd
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011fc
mov rdx, qword [0x1401745c0]
mov rcx, qword [0x1401745b0]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001204
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001204
call sym._cexit
mov eax, dword [0x140177010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x1401745e0]
mov rcx, qword [0x1401745d0]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f1
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140003da0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140003e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140177094]
mov rbx, rcx
test esi, esi
jle 0x140003f40
mov rax, qword [0x140177098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140003e5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003ee5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003e40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140003f62
mov rax, qword [0x140177098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140177098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003f47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003ede
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140003ef0
add dword [0x140177094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140177098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003ede
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140003e68
mov rax, qword [0x140177098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140004500
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140177100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401770e0]
test rbx, rbx
je 0x140004564
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000455b
test eax, eax
jne 0x14000455b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140004540
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400047a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400047b8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400047c0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400047d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000481d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140004814
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000481f
add rax, 0x28
cmp rax, r9
jne 0x140004800
xor eax, eax
ret

Function at 0x140004820
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400048b0
mov rdx, qword [0x1401744e0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000489e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000489e
cmp word [rax + 0x18], 0x20b
jne 0x14000489e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400048b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140004889
add rbx, 0x28
cmp rbx, rdi
je 0x1400048b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140004880
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400048c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401744e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400048e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400048e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400048e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000493d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140004934
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400048e0
add rax, 0x28
cmp rax, r9
jne 0x140004920
xor eax, eax
ret

Function at 0x140004940
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401744e0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000495f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140004968
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000495f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140004980
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1401744e0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400049a0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400049a8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400049a0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400049f8
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400049ef
test rcx, rcx
je 0x1400049a0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400049e0
xor eax, eax
ret

Function at 0x140004a00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401744e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140004a1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140004a28
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140004a40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401744e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004a60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004a68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004a60
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140004a60
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140004ab4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140004ac0
add rdx, 0x28
cmp r9, rdx
jne 0x140004aa0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140004ad0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1401744e0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140004af2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140004b00
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004af2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140004af2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140004af2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140004b55
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140004b68
add rdx, 0x28
cmp r10, rdx
jne 0x140004b40
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140004b77
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140004b87
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140004b5e
test ecx, ecx
jg 0x140004b70
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001f640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x28], 0
cmp qword [rsp + 0x60], 0
jne 0x14001f670
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
add rax, 0x88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jne 0x14001f6a0
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], 0
je 0x14001f6cb
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x14], 0
jne 0x14001f6dd
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x14001f73c
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x20]
cmp ecx, dword [rax + 0x10]
jae 0x14001f71d
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x20]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x14001f7fb
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
jmp 0x14001f7a1
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x14001f7e5
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
mov rax, qword [rsp + 0x60]
add rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140075130
test eax, eax
jne 0x14001f7e3
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 1
jmp 0x14001f7e5
jmp 0x14001f77a
cmp dword [rsp + 0x38], 0
jne 0x14001f7fb
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jbe 0x14001f818
mov ecx, 0x7f
call qword [0x140543378]
xor eax, eax
jmp 0x14001f83c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
add rcx, rax
mov eax, dword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
add rsp, 0x58
ret
Function at 0x14001ff20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x14001ff87
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1400200da
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
jne 0x140020031
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jle 0x14002002c
movsxd rdx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x140543388]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14001fffa
xor eax, eax
jmp 0x1400200df
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [rcx + 8], eax
movsxd r8, dword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400706b0
jmp 0x14001ff6e
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x14]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x68], rax
jae 0x140020055
xor eax, eax
jmp 0x1400200df
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x140543388]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140020090
xor eax, eax
jmp 0x1400200df
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rdx, qword [rsp + 0x60]
add rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140070f80
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [r11 + 8], eax
jmp 0x14001ff6e
mov eax, 1
add rsp, 0x58
ret
Function at 0x140076b18
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.140082090
nop
cmp dword [0x1405477c0], 1
je 0x140076ac4
mov dword [0x1405477bc], 1
mov byte [0x1405477b8], r12b
test ebx, ebx
jne 0x140076ab0
mov rcx, qword [0x140549890]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140076a9d
mov rcx, qword [0x140549888]
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 0x140076a3c
call fcn.140077838
cmp qword [rdi], rax
jne 0x140076a3c
jmp 0x140076a22
cmp rdi, rsi
jb 0x140076a9d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140077838
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140549890]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140549888]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140076a7b
cmp r13, rax
je 0x140076a9b
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 0x140076a22
lea rdx, [0x140092110]
lea rcx, [0x1400920f8]
call fcn.14007686c
lea rdx, [0x140092120]
lea rcx, [0x140092118]
call fcn.14007686c
nop
test r12d, r12d
je 0x140076ad3
mov ecx, 8
call fcn.140081f90
test r12d, r12d
jne 0x140076afe
mov dword [0x1405477c0], 1
lea ecx, [r12 + 8]
call fcn.140081f90
mov ecx, r15d
call fcn.140076800
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 0x14007698c

Function at 0x140076b24
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1405413a0]
jne 0x14007084a
rol rcx, 0x10
test cx, 0xffff
jne 0x140070846
repz ret
ror rcx, 0x10
jmp 0x14007ad6c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1405478d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1405479c8]
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 0x14007adf1
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, [0x1405478d0]
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 0x14007ae13
mov rax, qword [rsp + 0x88]
mov qword [0x1405479c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140547968], rax
mov rax, qword [0x1405479c8]
mov qword [0x140547840], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140547950], rax
mov dword [0x140547830], 0xc0000409
mov dword [0x140547834], 1
mov rax, qword [0x1405413a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1405413a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1405478c8], eax
mov ecx, 1
call fcn.140083554
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str.0xT_
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1405478c8], 0
jne 0x14007ae9a
mov ecx, 1
call fcn.140083554
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 0x140084e40
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.140077838
xor ebx, ebx
mov rdi, rax
cmp qword [0x1405485b0], rbx
jne 0x140084f46
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14008501b
lea rdx, [0x1400ac058]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008501b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400ac048]
mov rcx, rsi
mov qword [0x1405485b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400ac030]
mov rcx, rsi
mov qword [0x1405485b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1405485c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1405485d0], rax
test rax, rax
je 0x140084f3d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1405485c8], rax
jmp 0x140084f4d
mov rax, qword [0x1405485c8]
jmp 0x140084f54
mov rax, qword [0x1405485c8]
mov r11, qword [0x1405485d0]
cmp rax, rdi
je 0x140084fbc
cmp r11, rdi
je 0x140084fbc
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1405485d0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140084fbc
test rax, rax
je 0x140084fbc
call rsi
test rax, rax
je 0x140084fb6
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 0x140084fb6
test byte [rsp + 0x38], 1
jne 0x140084fbc
bts ebp, 0x15
jmp 0x140084ffa
mov rcx, qword [0x1405485b8]
cmp rcx, rdi
je 0x140084ffa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140084ffa
call rax
mov rbx, rax
test rax, rax
je 0x140084ffa
mov rcx, qword [0x1405485c0]
cmp rcx, rdi
je 0x140084ffa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140084ffa
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1405485b0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14008501b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14008501d
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