joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cac4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x14005ef18]
movabs rcx, 0xdc4adbb024ed36bc
movabs r10, 0x7c1bf26a6ede45aa
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140024e18
Capabilities:
Parse pe header

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

Function at 0x1400325cc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140032714

Function at 0x1400374b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400374d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400374d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140040100
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400399b0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400401a1
cmp ebx, dword [rsp + 0x30]
je 0x14004019a
test esi, esi
je 0x14004019a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140040175
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140040182
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14004015f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140040186
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400401a3
mov eax, 1
jmp 0x1400401a3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140041080
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400410b0
xor eax, eax
jmp 0x140041173
mov rbp, rbx
cmp word [rax], si
je 0x1400410d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400410bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400410b8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140040fa0
movsxd r14, eax
test eax, eax
jne 0x140041113
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400410a9
mov rcx, r14
call fcn.14003b834
mov rdi, rax
test rax, rax
jne 0x14004112c
xor ecx, ecx
call fcn.14003adfc
jmp 0x140041108
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140040fa0
test eax, eax
jne 0x14004115d
mov rcx, rdi
call fcn.14003adfc
jmp 0x140041167
xor ecx, ecx
call fcn.14003adfc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140044d94
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140044daa
mov al, 1
jmp 0x140044e0a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140044dbb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140044e08
mov ecx, dword [rcx + 0x18]
nop
call fcn.140041190
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140044e08
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140044e08
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140044e08
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140044e0a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14063b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14063b1df
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 0x14063b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063b06f
add dl, dl
jne 0x14063b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063b0f6
xor eax, eax
add dl, dl
jne 0x14063b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063b1ad
add dl, dl
jne 0x14063b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14063b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14063b07e
mov eax, 1
add dl, dl
jne 0x14063b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063b0fb
sub eax, ebx
mov ebx, 1
jne 0x14063b14c
mov ecx, 1
add dl, dl
jne 0x14063b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14063b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063b15d
cmp eax, 0x7d00
jae 0x14063b19b
cmp eax, 0x500
jb 0x14063b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063b07e
cmp eax, 0x7f
ja 0x14063b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14063b1d2
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 0x14063b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001750
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
movsxd rdi, dword [rcx + 0x3c]
mov eax, 0x8664
add rdi, rcx
cmp word [rdi + 4], ax
movzx eax, word [rdi + 0x14]
lea r13, [rax + rdi + 0x18]
je 0x180001810
cmp dword [rdi + 0xa0], 0
je 0x18000189c
cmp dword [rdi + 0xa4], 0
je 0x18000189c
mov r12d, dword [rdi + 0x38]
xor ebx, ebx
cmp bx, word [rdi + 6]
jae 0x180001803
lea rsi, [r13 + 0xc]
movsxd rax, ebx
lea rdx, str..rsrc
lea rcx, [rax + rax*4]
lea rbp, [r13 + rcx*8]
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x1800017f5
lea rdx, str..reloc
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x1800017f5
mov eax, dword [rsi + 0x28]
sub eax, dword [rsi - 4]
sub eax, dword [rsi]
shr eax, 2
cmp eax, r12d
cmovb r12d, eax
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x1800017b1
lea eax, [r12*4]
jmp 0x18000189e
cmp dword [rdi + 0xb0], 0
je 0x18000189c
cmp dword [rdi + 0xb4], 0
je 0x18000189c
mov r12d, dword [rdi + 0x38]
xor ebx, ebx
cmp bx, word [rdi + 6]
jae 0x180001892
lea rsi, [r13 + 0xc]
nop word [rax + rax]
movsxd rax, ebx
lea rdx, str..rsrc
lea rcx, [rax + rax*4]
lea rbp, [r13 + rcx*8]
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x180001884
lea rdx, str..reloc
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x180001884
mov eax, dword [rsi + 0x28]
sub eax, dword [rsi - 4]
sub eax, dword [rsi]
shr eax, 3
cmp eax, r12d
cmovb r12d, eax
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x180001840
lea eax, [r12*8]
jmp 0x18000189e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1800018c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
movzx edi, word [r8 + 0xe]
movzx eax, word [r8 + 0xc]
mov rsi, r9
add edi, eax
mov r10, rcx
lea rbx, [r8 + 0x10]
je 0x180001988
mov qword [rsp + 0x60], rbp
mov ebp, dword [rsp + 0x70]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180001928
test ebp, ebp
jne 0x180001907
cmp word [rbx], 0x18
je 0x180001977
btr ecx, 0x1f
lea eax, [rbp + 1]
mov r9, rsi
lea r8, [rdx + rcx]
mov rcx, r10
mov dword [rsp + 0x20], eax
call fcn.1800018c0
mov r10, qword [rsp + 0x50]
jmp 0x180001972
btr ecx, 0x1f
mov r9d, dword [rcx + rdx + 4]
mov r8d, dword [rcx + rdx]
shr r9d, 2
add r8, r10
test r9d, r9d
je 0x180001977
mov eax, dword [rsi]
add r8, 4
xor dword [r8 - 4], eax
mov ecx, dword [rsi]
mov eax, 0x8fd66c05
mul ecx
shr edx, 0x11
imul edx, edx, 0x38f40
sub ecx, edx
imul ecx, ecx, 0x2455
add ecx, 0xc091
dec r9d
mov dword [rsi], ecx
jne 0x180001941
mov rdx, qword [rsp + 0x58]
add rbx, 8
dec edi
jne 0x1800018f6
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x180001990
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x160
mov rax, qword [0x180028010]
xor rax, rsp
mov qword [rsp + 0x150], rax
movsxd rdi, dword [rcx + 0x3c]
xor r13d, r13d
mov rbp, rcx
add rdi, rcx
mov ebx, r13d
movzx eax, word [rdi + 0x14]
lea rsi, [rax + rdi + 0x18]
cmp r13w, word [rdi + 6]
jae 0x180001a01
nop word [rax + rax]
lea rdx, str..rsrc
mov rcx, rsi
call fcn.180005738
test eax, eax
je 0x180001a01
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x1800019e0
movzx eax, word [rdi + 6]
cmp ebx, eax
jge 0x180001b9d
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x188], r12
mov byte [rsp + 0x40], r13b
call fcn.180005a70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str.QA1Q0ZWQIE__d
lea rcx, [rsp + 0x40]
mov r8d, eax
call fcn.180005804
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r12, rax
test rax, rax
je 0x180001b95
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180001b8c
mov ebx, dword [rsi + 0xc]
add rbx, rbp
mov ecx, dword [rbx]
mov dword [rsp + 0x30], ecx
test ecx, ecx
je 0x180001b83
mov eax, ecx
shr eax, 0x10
xor al, 0x76
cmp cl, al
jne 0x180001b83
mov eax, ecx
shr ecx, 8
shr eax, 0x18
xor al, 0x5a
cmp cl, al
jne 0x180001b83
mov edx, dword [rsi + 0x10]
lea r9, [rsp + 0x34]
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edi, word [rbx + 0xe]
movzx eax, word [rbx + 0xc]
add edi, eax
mov dword [rbx], r13d
lea r11, [rbx + 0x10]
je 0x180001b6d
mov eax, dword [rsp + 0x30]
mov ecx, dword [r11 + 4]
test ecx, ecx
jns 0x180001b16
cmp word [r11], 0x18
je 0x180001b61
btr ecx, 0x1f
lea r9, [rsp + 0x30]
mov rdx, rbx
lea r8, [rbx + rcx]
mov rcx, rbp
mov dword [rsp + 0x20], 1
call fcn.1800018c0
mov eax, dword [rsp + 0x30]
jmp 0x180001b61
btr ecx, 0x1f
mov r9d, dword [rcx + rbx + 4]
mov r8d, dword [rcx + rbx]
shr r9d, 2
add r8, rbp
test r9d, r9d
je 0x180001b61
nop
xor dword [r8], eax
mov ecx, dword [rsp + 0x30]
mov eax, 0x8fd66c05
add r8, 4
mul ecx
shr edx, 0x11
imul ecx, ecx, 0x2455
imul edx, edx, 0x7eac6fc0
dec r9d
lea eax, [rdx + rcx + 0xc091]
mov dword [rsp + 0x30], eax
jne 0x180001b30
add r11, 8
dec edi
jne 0x180001ae1
mov edx, dword [rsi + 0x10]
mov r8d, dword [rsp + 0x34]
lea r9, [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180005a40
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret
Function at 0x180001d30
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov qword [rsp + 8], 0xfffffffffffffffe
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x180001d4b
xor eax, eax
jmp 0x180001d9f
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
je 0x180001d5f
xor eax, eax
jmp 0x180001d9f
movzx eax, word [r8 + 0x14]
lea r9, [rax + r8 + 0x18]
xor edx, edx
mov dword [rsp], edx
movzx eax, word [r8 + 6]
cmp edx, eax
jge 0x180001d96
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r9 + rcx*8 + 0xc]
add eax, dword [r9 + rcx*8 + 8]
cmp eax, dword [r8 + 0x50]
jbe 0x180001d92
xor eax, eax
jmp 0x180001d9f
inc edx
jmp 0x180001d6b
mov eax, 1
jmp 0x180001d9f
add rsp, 0x18
ret

Function at 0x180002850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov r13, rdx
mov rdi, rcx
mov qword [rcx], rdx
xor r12d, r12d
mov qword [rcx + 8], r12
movsxd rbx, dword [rdx + 0x3c]
add rbx, rdx
mov eax, 0x8664
cmp word [rbx + 4], ax
je 0x180002930
cmp dword [rbx + 0x88], r12d
je 0x1800029bb
cmp dword [rbx + 0x8c], r12d
je 0x1800029bb
movzx eax, word [rbx + 0x14]
lea rbp, [rax + rbx + 0x18]
mov esi, r12d
cmp r12w, word [rbx + 6]
jae 0x1800028f1
nop word [rax + rax]
lea rdx, str..rsrc
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x1800028f1
add rbp, 0x28
inc esi
movzx eax, word [rbx + 6]
cmp esi, eax
jl 0x1800028d0
movzx eax, word [rbx + 6]
cmp esi, eax
jge 0x1800029bb
mov ebx, dword [rbp + 0xc]
add rbx, r13
mov ecx, 0x10
call fcn.180005c64
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18000292b
mov r9, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.1800024b0
mov r12, rax
jmp 0x1800029b7
cmp dword [rbx + 0x98], r12d
je 0x1800029bb
cmp dword [rbx + 0x9c], r12d
je 0x1800029bb
movzx eax, word [rbx + 0x14]
lea rbp, [rax + rbx + 0x18]
mov esi, r12d
cmp r12w, word [rbx + 6]
jae 0x180002981
nop dword [rax]
lea rdx, str..rsrc
mov rcx, rbp
call fcn.180005738
test eax, eax
je 0x180002981
add rbp, 0x28
inc esi
movzx eax, word [rbx + 6]
cmp esi, eax
jl 0x180002960
movzx eax, word [rbx + 6]
cmp esi, eax
jge 0x1800029bb
mov ebx, dword [rbp + 0xc]
add rbx, r13
mov ecx, 0x10
call fcn.180005c64
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1800029b7
mov r9, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.1800024b0
mov r12, rax
mov qword [rdi + 8], r12
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x18000ca47
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180028010]
jne 0x180005a5a
rol rcx, 0x10
test cx, 0xffff
jne 0x180005a56
repz ret
ror rcx, 0x10
jmp 0x18000c9a0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18003a310]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18003a408]
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 0x18000ca25
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, [0x18003a310]
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 0x18000ca47
mov rax, qword [rsp + 0x88]
mov qword [0x18003a408], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18003a3a8], rax
mov rax, qword [0x18003a408]
mov qword [0x18003a280], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18003a390], rax
mov dword [0x18003a270], 0xc0000409
mov dword [0x18003a274], 1
mov rax, qword [0x180028010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180028018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18003a308], eax
mov ecx, 1
call fcn.180010b28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180021080]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18003a308], 0
jne 0x18000cace
mov ecx, 1
call fcn.180010b28
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 0x180015a18
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 [0x180028010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180005ebc
xor ebx, ebx
cmp qword [0x18003b0b8], rbx
mov rdi, rax
jne 0x180015b2b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180015c02
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015c02
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18003b0b8], 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 [0x18003b0c0], 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 [0x18003b0c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18003b0d8], rax
test rax, rax
je 0x180015b22
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 [0x18003b0d0], rax
jmp 0x180015b32
mov rax, qword [0x18003b0d0]
jmp 0x180015b39
mov rax, qword [0x18003b0d0]
mov r11, qword [0x18003b0d8]
cmp rax, rdi
je 0x180015ba0
cmp r11, rdi
je 0x180015ba0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18003b0d8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180015ba0
test rax, rax
je 0x180015ba0
call rsi
test rax, rax
je 0x180015b9a
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 0x180015b9a
test byte [rsp + 0x40], 1
jne 0x180015ba0
bts ebp, 0x15
jmp 0x180015be0
mov rcx, qword [0x18003b0c0]
cmp rcx, rdi
je 0x180015be0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180015be0
call rax
mov rbx, rax
test rax, rax
je 0x180015be0
mov rcx, qword [0x18003b0c8]
cmp rcx, rdi
je 0x180015be0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180015be0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18003b0b8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180015c02
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180015c04
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005a40
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4157c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41594b
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 fcn.00432400
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415825
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415834
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415853
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415863
cmp rbx, 0x1000
jae 0x41582b
jmp 0x4158cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415875
xor edx, edx
jmp 0x4158c4
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 fcn.00432400
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
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 0x415859
jmp 0x415848
call fcn.00463ce0
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004364a0
lea rax, [0x004a9a2d]
mov ebx, 0x18
nop dword [rax]
call fcn.00436d20
mov rax, qword [rsp + 0x38]
call fcn.00436a60
lea rax, [0x004a9d35]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436d20
mov rax, qword [rsp + 0x30]
call fcn.00436a60
call fcn.004366e0
call fcn.00436500
lea rax, [0x004ab94e]
mov ebx, 0x21
call fcn.00434a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004157c0
Function at 0x415980
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415ba6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432480
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4159f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415a02
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415a25
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415a35
cmp rbx, 0x1000
jae 0x4159f9
nop
jmp 0x415ab8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x415a4d
xor esi, esi
jmp 0x415aaa
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432480
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x415a2b
jmp 0x415a16
call fcn.00463ce0
xorps xmm15, xmm15
mov r14, qword [0x005c56d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415b40
nop dword [rax + rax]
call fcn.004364a0
lea rax, [0x004a9d4e]
mov ebx, 0x19
call fcn.00436d20
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00436a60
lea rax, [0x004a9d35]
mov ebx, 0x19
call fcn.00436d20
mov eax, dword [rsp + 0x34]
call fcn.00436a60
nop
call fcn.004366e0
call fcn.00436500
lea rax, [0x004a7314]
mov ebx, 0xd
call fcn.00434a00
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415ae0
call fcn.004364a0
lea rax, [0x004a9d4e]
mov ebx, 0x19
call fcn.00436d20
mov rax, qword [rsp + 0x38]
call fcn.00436a60
lea rax, [0x004a9d35]
mov ebx, 0x19
call fcn.00436d20
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00436a60
call fcn.004366e0
call fcn.00436500
lea rax, [0x004ab22d]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00434a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415980