joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031f70
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.14003a888
nop
cmp dword [0x140067778], 1
je 0x140031f1c
mov dword [0x140067774], 1
mov byte [0x140067770], r12b
test ebx, ebx
jne 0x140031f08
mov rcx, qword [0x140069890]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140031ef5
mov rcx, qword [0x140069888]
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 0x140031e94
call fcn.140033e68
cmp qword [rdi], rax
jne 0x140031e94
jmp 0x140031e7a
cmp rdi, rsi
jb 0x140031ef5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140033e68
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140069890]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140069888]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140031ed3
cmp r13, rax
je 0x140031ef3
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 0x140031e7a
lea rdx, [0x140048ce8]
lea rcx, [0x140048cd0]
call fcn.140031cc4
lea rdx, [0x140048cf8]
lea rcx, [0x140048cf0]
call fcn.140031cc4
nop
test r12d, r12d
je 0x140031f2b
mov ecx, 8
call fcn.14003a788
test r12d, r12d
jne 0x140031f56
mov dword [0x140067778], 1
lea ecx, [r12 + 8]
call fcn.14003a788
mov ecx, r15d
call fcn.140031c58
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 0x140031de4

Function at 0x140031f7c
Capabilities:
Terminate process

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

Function at 0x14003674b
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x28], rax
lea rax, [0x140067850]
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 0x14003674b
mov rax, qword [0x140067948]
mov qword [0x1400677c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400678d0], rax
mov dword [0x1400677b0], 0xc0000409
mov dword [0x1400677b4], 1
mov rax, qword [0x140062058]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140062060]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140067848], eax
mov ecx, 1
call fcn.14003d4d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140050f10]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140067848], 0
jne 0x1400367d2
mov ecx, 1
call fcn.14003d4d4
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 0x14003f454
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.140033e68
xor ebx, ebx
mov rdi, rax
cmp qword [0x140068588], rbx
jne 0x14003f55a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003f62f
lea rdx, [0x140052a08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003f62f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400529f8]
mov rcx, rsi
mov qword [0x140068588], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400529e0]
mov rcx, rsi
mov qword [0x140068590], 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 [0x140068598], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400685a8], rax
test rax, rax
je 0x14003f551
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400685a0], rax
jmp 0x14003f561
mov rax, qword [0x1400685a0]
jmp 0x14003f568
mov rax, qword [0x1400685a0]
mov r11, qword [0x1400685a8]
cmp rax, rdi
je 0x14003f5d0
cmp r11, rdi
je 0x14003f5d0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400685a8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14003f5d0
test rax, rax
je 0x14003f5d0
call rsi
test rax, rax
je 0x14003f5ca
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14003f5ca
test byte [rsp + 0x38], 1
jne 0x14003f5d0
bts ebp, 0x15
jmp 0x14003f60e
mov rcx, qword [0x140068590]
cmp rcx, rdi
je 0x14003f60e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003f60e
call rax
mov rbx, rax
test rax, rax
je 0x14003f60e
mov rcx, qword [0x140068598]
cmp rcx, rdi
je 0x14003f60e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003f60e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140068588]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003f62f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14003f631
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 0x140002534
Capabilities:
Parse pe header

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

Function at 0x140005d28
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140005b93
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005b93
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005b93
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005b93
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005b93
cmp dword [rcx + 0x84], 0xe
jbe 0x140005b93
cmp dword [rcx + 0xf8], 0
je 0x140005b93
mov ecx, ebx
call fcn.140005c44
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005a20
nop
cmp dword [rbp + 0x20], 0
je 0x140005be1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005bec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005b24
Function at 0x140010c90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140010d17
mov rsi, rbx
cmp word [rax], bp
je 0x140010cd6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140010cc0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140010cbc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000cc74
mov rdi, rax
test rax, rax
je 0x140010d04
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003b00
mov rbp, rdi
xor ecx, ecx
call fcn.14000cc38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400140a8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400140be
mov al, 1
jmp 0x14001411e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400140cf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001411c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140011434
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001411c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001411c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001411c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001411e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140017d50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017d78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017d78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800015d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x1800121c3
cmp dword [rcx + 0xa8], 0
jne 0x1800121c3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.180014058
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.180012128
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000756c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rdi, qword [0x18006e338]
xor ebx, ebx
lea r14, str.K36xXEyaGH5
cmp rdi, rbx
je 0x180007606
movsxd rax, dword [rdi + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
add rcx, rdi
mov r13d, dword [rcx + 0x1c]
mov r12d, dword [rcx + 0x20]
mov ebp, dword [rcx + 0x24]
add r13, rdi
add r12, rdi
add rbp, rdi
test r14d, 0xffff0000
jne 0x1800075d2
movzx eax, r14w
sub eax, dword [rcx + 0x10]
jmp 0x1800075fe
mov esi, dword [rcx + 0x18]
jmp 0x1800075f4
mov ecx, dword [r12]
mov rdx, r14
dec esi
add rcx, rdi
call fcn.180034170
cmp eax, ebx
je 0x1800075fa
add r12, 4
add rbp, 2
cmp esi, ebx
jne 0x1800075d7
jmp 0x180007606
movzx eax, word [rbp]
mov ebx, dword [r13 + rax*4]
add rbx, rdi
mov rax, rbx
call rax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x18000fb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x18000fc02
call fcn.180014058
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18000fc02
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x18000fc4f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x18000fc2f
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x18000fc2f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x18000fc4d
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x180012184
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x1800121c3
cmp dword [rcx + 0xa8], 0
jne 0x1800121c3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.180014058
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.180012128
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800154e0
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.18001cd40
mov rsi, rax
test rax, rax
je 0x18001555c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x180015557
cmp dword [rbx], 0x40
jb 0x180015557
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_SendMessageW]
bt rax, 0xd
jb 0x180015557
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x180015560
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 0x18001bbb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x18001bc18
call fcn.180014058
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18001bc18
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x18001bc3a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.18001b5c0
mov esi, eax
test rdi, rdi
je 0x18001bc38
test rbx, rbx
je 0x18001bc38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x18001c408
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x18001c446
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x18001c4fa
call fcn.180012330
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x18001c465
mov ecx, 0x80004005
call fcn.180001214
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.180036208
test eax, eax
je 0x18001c4cd
cmp eax, 0xc
je 0x18001c4c7
cmp eax, 0x16
je 0x18001c4c1
cmp eax, 0x22
je 0x18001c4c1
cmp eax, 0x50
je 0x18001c4cd
call fcn.180012514
int3
call fcn.180012514
int3
call fcn.1800124cc
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x18001c4f8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180035990
Capabilities:
Terminate process

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

Function at 0x1800366f3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180067ce0]
jne 0x180032eba
rol rcx, 0x10
test cx, 0xffff
jne 0x180032eb6
repz ret
ror rcx, 0x10
jmp 0x18003664c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18006d4e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18006d5d8]
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 0x1800366d1
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, [0x18006d4e0]
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 0x1800366f3
mov rax, qword [rsp + 0x88]
mov qword [0x18006d5d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18006d578], rax
mov rax, qword [0x18006d5d8]
mov qword [0x18006d450], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18006d560], rax
mov dword [0x18006d440], 0xc0000409
mov dword [0x18006d444], 1
mov rax, qword [0x180067ce0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180067ce8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18006d4d8], eax
mov ecx, 1
call fcn.180040a84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180054420]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18006d4d8], 0
jne 0x18003677a
mov ecx, 1
call fcn.180040a84
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 0x180041c30
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.180036804
xor ebx, ebx
mov rdi, rax
cmp qword [0x18006e228], rbx
jne 0x180041d36
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180041e0b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180041e0b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180055770]
mov rcx, rsi
mov qword [0x18006e228], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180055758]
mov rcx, rsi
mov qword [0x18006e230], 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 [0x18006e238], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18006e248], rax
test rax, rax
je 0x180041d2d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18006e240], rax
jmp 0x180041d3d
mov rax, qword [0x18006e240]
jmp 0x180041d44
mov rax, qword [0x18006e240]
mov r11, qword [0x18006e248]
cmp rax, rdi
je 0x180041dac
cmp r11, rdi
je 0x180041dac
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18006e248]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180041dac
test rax, rax
je 0x180041dac
call rsi
test rax, rax
je 0x180041da6
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 0x180041da6
test byte [rsp + 0x38], 1
jne 0x180041dac
bts ebp, 0x15
jmp 0x180041dea
mov rcx, qword [0x18006e230]
cmp rcx, rdi
je 0x180041dea
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041dea
call rax
mov rbx, rax
test rax, rax
je 0x180041dea
mov rcx, qword [0x18006e238]
cmp rcx, rdi
je 0x180041dea
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041dea
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18006e228]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041e0b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180041e0d
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 0x412d20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412eab
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f3c60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412d85
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412d94
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412db3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412dc3
cmp rbx, 0x1000
jae 0x412d8b
jmp 0x412e2d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412dd5
xor edx, edx
jmp 0x412e24
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f3c60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x412db9
jmp 0x412da8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f3c60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004e50b4]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e56cf]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004e8153]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS