joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007eea0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1800e9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, r9
mov qword [rsp + 0x58], r8
mov rbx, rdx
mov r15, rcx
mov rdx, qword [rcx]
mov r14, rbx
sub r14, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x18007f0ee
lea r8, [rax + 1]
mov qword [rsp + 0x48], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r9
sub rax, rdx
cmp rcx, rax
ja 0x18007f0e8
lea rax, [rdx + rcx]
mov rsi, r8
cmp rax, r8
cmovae rsi, rax
cmp rsi, r9
ja 0x18007f0e8
mov rcx, rsi
shl rcx, 4
mov qword [rsp + 0x38], rsi
cmp rcx, 0x1000
jb 0x18007ef7f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18007f0e8
mov rcx, rax
call fcn.180094b90
test rax, rax
je 0x18007ef78
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18007ef9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x18007ef98
call fcn.180094b90
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
jmp 0x18007efa4
xor edi, edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
and r14, 0xfffffffffffffff0
lea r13, [r14 + rdi]
lea r14, [r13 + 0x10]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x30], r14
mov ecx, 0x10
call fcn.180094b90
mov r9, rax
mov rax, qword [r12]
mov qword [r9], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [r9 + 8], rax
mov qword [rsp + 0x58], r9
lea r12, [r13 + 8]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0
lea r8, [0x18007f120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r13], rax
test rax, rax
je 0x18007f0d4
mov qword [rsp + 0x30], r13
mov rdx, qword [r15 + 8]
mov rax, qword [r15]
cmp rbx, rdx
jne 0x18007f048
cmp rax, rdx
je 0x18007f097
mov rcx, rdi
sub rcx, rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x18007f030
jmp 0x18007f097
cmp rax, rbx
je 0x18007f069
mov rcx, rdi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rbx
jne 0x18007f053
mov qword [rsp + 0x30], rdi
mov rax, qword [r15 + 8]
cmp rbx, rax
je 0x18007f097
sub r14, rbx
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [r14 + rbx], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x18007f080
mov r9, rsi
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r15
call fcn.18007ebf0
mov rax, r13
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180094b70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [r12], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.180002900
int3
call fcn.180007f50
int3
Function at 0x180089430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov edi, edx
and edi, 7
je 0x1800894c4
cmp edx, edi
jge 0x1800894b5
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r10d, edx
shl eax, cl
mov r9d, edx
cmp r8d, eax
jae 0x1800894ab
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x180089473
xor cl, cl
jmp 0x18008947c
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r10 + 8]
mov ecx, r10d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x1800894b5
mov ecx, edx
mov eax, 1
shl eax, cl
mov r10d, edx
mov r9d, edx
cmp r8d, eax
jb 0x180089467
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, edi
shr eax, cl
sub edx, edi
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov eax, edx
test edx, edx
jle 0x1800894fe
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x1800894e0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x180089532
mov edx, dword [0x1800ec438]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x180089561
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x18008954b
xor dl, dl
jmp 0x180089554
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180089542
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x180089502
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1800895d1
mov edx, dword [0x1800ec438]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1800895ef
mov rcx, rbx
call fcn.180088870
test eax, eax
je 0x180089525
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180094a8c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180094ac6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180094acb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180094b14
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800b8d10]
cmp byte [rcx + rax], 0
je 0x180094b14
dec r8
sub rdx, 1
jne 0x180094afa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
lea r9, str._J_ms8m
mov r8d, 3
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x18109f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18109f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18109f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18109f06f
add dl, dl
jne 0x18109f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18109f0f6
xor eax, eax
add dl, dl
jne 0x18109f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18109f1ad
add dl, dl
jne 0x18109f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18109f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18109f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18109f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18109f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18109f07e
mov eax, 1
add dl, dl
jne 0x18109f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18109f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18109f0fb
sub eax, ebx
mov ebx, 1
jne 0x18109f14c
mov ecx, 1
add dl, dl
jne 0x18109f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18109f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18109f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18109f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18109f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18109f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18109f15d
cmp eax, 0x7d00
jae 0x18109f19b
cmp eax, 0x500
jb 0x18109f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18109f07e
cmp eax, 0x7f
ja 0x18109f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18109f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18109f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18109f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001120
Capabilities:
Enumerate gui resources
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbx, qword [0x1800100a8]
xor r8d, r8d
lea rdx, [0x180001100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
lea r8, [0x18000c5dc]
mov edx, 0x65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x180001335
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
cmp eax, 0x64
jbe 0x180001335
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp byte [rax], 0x10
jne 0x18000131b
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov ebx, 0x10
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.180001c70
nop
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov r8, rdi
sub r8, r13
mov edx, ebx
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 1]
mov byte [rcx], al
inc rcx
dec rdx
jne 0x180001200
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180001c70
nop
mov r12, qword [rsp + 0x68]
mov rcx, r12
lea rdx, [rdi + 0x11]
mov ebp, 0x21
nop
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
dec rbx
jne 0x180001240
lea ecx, [rbx + 0x14]
call fcn.1800023e4
test rax, rax
je 0x180001269
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea edx, [r14 - 0x21]
lea rcx, [rsp + 0x28]
call fcn.180001c70
nop
mov r10d, r15d
mov r8d, r15d
mov r9, r15
mov r11, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
sub r11, rsi
je 0x1800012e5
add rdi, 0x21
cmp ebp, r14d
jae 0x1800012e5
movzx edx, byte [r9 + r12]
movzx eax, byte [rdi]
mov byte [r9 + r12], al
inc ebp
inc rdi
movzx ecx, byte [r9 + r13]
xor cl, al
xor cl, dl
mov eax, r8d
mov byte [rax + rsi], cl
inc r10d
inc r9
cmp r10d, 0x10
jl 0x1800012da
mov r10d, r15d
mov r9, r15
inc r8d
mov eax, r8d
cmp rax, r11
jb 0x1800012a3
mov rcx, rsi
call fcn.1800018b0
mov rbx, rax
test rsi, rsi
je 0x1800012fe
mov rcx, rsi
call fcn.180002090
nop
test r12, r12
je 0x18000130c
mov rcx, r12
call fcn.180002090
nop
test r13, r13
je 0x180001326
mov rcx, r13
call fcn.180002090
jmp 0x180001326
mov rcx, rax
call fcn.1800018b0
mov rbx, rax
test rbx, rbx
je 0x180001335
mov rcx, rbx
call fcn.180001b40
call rax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180001450
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
movabs rcx, 0xffffffff00000000
mov rsi, qword [r8 + 0x30]
movzx eax, word [r8 + 0x14]
xor edi, edi
and rsi, rcx
cmp di, word [r8 + 6]
jae 0x18000154f
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r12
lea r12, [0x18000ef38]
lea rbx, [rax + r8 + 0x3c]
nop word [rax + rax]
mov r9d, dword [rbx]
mov eax, r9d
mov edx, r9d
mov r10d, r9d
shr eax, 0x1d
shr edx, 0x1e
shr r10d, 0x1f
and eax, 1
and edx, 1
bt r9d, 0x19
jae 0x1800014da
mov ecx, dword [rbx - 0x1c]
mov edx, dword [rbx - 0x14]
mov r8d, 0x4000
or rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x18000152e
movsxd rcx, eax
movsxd rax, edx
lea rdx, [rax + rcx*2]
lea rcx, [r10 + rdx*2]
mov r10d, dword [r12 + rcx*4]
bt r9d, 0x1a
jae 0x1800014f8
bts r10d, 9
mov eax, dword [rbx - 0x14]
test eax, eax
jne 0x180001518
test r9b, 0x40
je 0x18000150b
mov eax, dword [r8 + 0x20]
jmp 0x180001514
test r9b, r9b
jns 0x18000152e
mov eax, dword [r8 + 0x24]
test eax, eax
je 0x18000152e
mov ecx, dword [rbx - 0x1c]
lea r9, [rsp + 0x40]
mov edx, eax
or rcx, rsi
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rbp]
inc edi
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp edi, eax
jl 0x1800014a0
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002b17
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000e020]
jne 0x180001eaa
rol rcx, 0x10
test cx, 0xffff
jne 0x180001ea6
repz ret
ror rcx, 0x10
jmp 0x180002a70
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000f0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000f1b8]
mov qword [rsp + 0x58], rax
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 0x180002af5
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, [0x18000f0c0]
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 0x180002b17
mov rax, qword [rsp + 0x88]
mov qword [0x18000f1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000f158], rax
mov rax, qword [0x18000f1b8]
mov qword [0x18000f030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000f140], rax
mov dword [0x18000f020], 0xc0000409
mov dword [0x18000f024], 1
mov rax, qword [0x18000e020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000e028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000f0b8], eax
mov ecx, 1
call fcn.18000570c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000a330]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000f0b8], 0
jne 0x180002b9e
mov ecx, 1
call fcn.18000570c
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 0x180007118
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18000e020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180003a78
xor ebx, ebx
cmp qword [0x180010078], rbx
mov rdi, rax
jne 0x18000722b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180007302
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180007302
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180010078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180010080], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180010088], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180010098], rax
test rax, rax
je 0x180007222
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180010090], rax
jmp 0x180007232
mov rax, qword [0x180010090]
jmp 0x180007239
mov rax, qword [0x180010090]
mov r11, qword [0x180010098]
cmp rax, rdi
je 0x1800072a0
cmp r11, rdi
je 0x1800072a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180010098]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800072a0
test rax, rax
je 0x1800072a0
call rsi
test rax, rax
je 0x18000729a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18000729a
test byte [rsp + 0x40], 1
jne 0x1800072a0
bts ebp, 0x15
jmp 0x1800072e0
mov rcx, qword [0x180010080]
cmp rcx, rdi
je 0x1800072e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800072e0
call rax
mov rbx, rax
test rax, rax
je 0x1800072e0
mov rcx, qword [0x180010088]
cmp rcx, rdi
je 0x1800072e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800072e0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180010078]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007302
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180007304
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180001e90
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002c330
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002c33d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002c34d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002c335
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002c365
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002c352
sub eax, 3
jb 0x14002c37f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002c3b6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002c3a6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002c3a4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002c393
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002c2f2
jmp 0x14002c33d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5200
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002c402
cmp rsi, rcx
jae 0x14002c40a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002c3e9
cmp al, 0x8f
ja 0x14002c3e9
cmp byte [rsi - 2], 0xf
je 0x14002c3ef
sub al, 0xe8
cmp al, 1
ja 0x14002c3d3
cmp rsi, rcx
jae 0x14002c40a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002c3d9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002c40a
lodsb al, byte [rsi]
jmp 0x14002c3e9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2a000]
mov eax, dword [rdi]
or eax, eax
je 0x14002c467
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x48e54]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002c417
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002c461
mov qword [rbx], rax
add rbx, 8
jmp 0x14002c437
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002c4a1
cmp al, 0xef
ja 0x14002c493
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002c473
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002c482
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002c4f5
sub rsp, 0xffffffffffffff80
jmp 0x140005010
Function at 0x14001130c
Capabilities:
Terminate process

Disassembly:
jmp 0x140015e60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400113e8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400171b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400171d0
xor al, al
jmp 0x140017251
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400171e3
xor al, al
jmp 0x140017251
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001720d
xor al, al
jmp 0x140017251
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017221
xor al, al
jmp 0x140017251
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017233
xor al, al
jmp 0x140017251
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001724f
xor al, al
jmp 0x140017251
mov al, 1
add rsp, 0x38
ret