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

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x45b53b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x45b560
Capabilities:
Create thread
Resume thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov rsi, r9
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
mov rbx, qword [rsp + 0x58]
mov rdi, rax
je 0x45b5c5
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x45b5e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x48
ret
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x48
ret

Function at 0x45b860
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45b88c
cmp dword [rsp + 0x24], 6
jne 0x45b88c
cmp dword [rsp + 0x28], 0
je 0x45b8b5
lea rcx, [0x0045d9a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x45b8b5
mov ecx, 0xc00
call rax
add rsp, 0x148
ret

Function at 0x45bbf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x45bc11
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x45bc32
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45bc70
cmp ecx, 0x20b
je 0x45bc4e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
cmp dword [rax + 0x84], 0xe
ja 0x45bc5f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
cmp dword [rax + 0x74], 0xe
ja 0x45bc7e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call fcn.0045c740
add byte [rax - 0x39], cl
add eax, 0x240e5
Function at 0x45c740
Capabilities:
Encode data using xor

Disassembly:
mov r14, r11
xor rax, rax
mov r15, 0x43
subps xmm3, xmm6
mov r10, qword [rsp + rax]
xor r14, r12
mov r13, 0x77bcd25d
or rdi, 0x3e
cmp r15, rax
mov rsi, 0x77b96eca
shl rbx, 0xb
lea rax, [rax + 0x4a]
xor r13, rsi
mov r14, rbx
mov r11, rdi
sub r10, r13
sub r11, r14
cmp rsi, rbx
mov rdi, 0x3d26e0c4
test rax, r15
push r12
pop rsi
mov r13, 0x3d23326c
dec r11
mov r14, rsi
xor rdi, r13
nop
and r11, 0x36
add rdi, r10
or r12, r13
mov rax, qword [rdi]
add r12, rsi
mov rdi, 0x2360f6e3
addps xmm9, xmm5
mov r13, 0x23684d23
sub r15, 0xb7
xor rdi, r13
push r11
pop r12
add rdi, r10
mov r13, 0x70
addps xmm4, xmm4
mov r10, 0x174c7736
add rbx, 0x29
addps xmm8, xmm7
mov r15, 0x174d4d03
pop r12
mov r13, r12
push r13
rol r13, 0x2b
xor r10, r15
ror r11, 4
mov r12, 0xc5
lea r14, [r14 + 0x1e]
lea r14, [r14 + 0x5a]
mov r13, 0xc1
push rsi
pop r11
lea r14, [r14 + 0x25]
xor r12, r13
or rbx, r15
push rsi
pop rbx
push rdi
sub r14, r13
push r10
add rsi, r11
push rax
and r15, r13
add r14, 0x71
sub rsp, 0x20
push r15
pop r14
and r14, 0x7d
mov rcx, rdi
shr r13, 0x38
mov rdx, r10
nop
and r14, 0xbf
mov r8, r12
shl rbx, 0x12
lea r9, [rsp]
dec r11
call rax
sub r13, rbx
add rsp, 0x20
rol rbx, 9
pop r10
cmp r11, r12
pop r14
add rsi, rbx
mov r13, r15
pop rdi
add rsi, 0x55
xor r13, r13
ror rsi, 0x37
cmp r12, r15
lea r11, [rdi + r13]
ror rbx, 0x2f
mov r15b, byte [r11]
test rsi, r12
xor r15b, 0x15
lea rbx, [rbx + 0x52]
lea rsi, [rsi + 0x8b]
add r15b, 0xe3
dec rax
mov byte [r11], r15b
subps xmm15, xmm10
inc r13
or r12, rax
or rsi, 0x6c
cmp r13, r14
xchg r12, rax
mov rax, 0x55
jne 0x45c894
shl rsi, 0x19
mov r15, 0xc8
and rsi, 0x58
mov rax, r13
mov r11, pe_nt_image_headers64
pop rbx
mov rsi, rbx
push rsi
lea r12, [r12 + 0x6a]
xor r15, r11
ror r13, 0x21
or r13, 0x16
push rdi
cmp rsi, r13
or rbx, 0x9c
sub rsp, 0x20
shl rax, 0x32
shl r12, 0x22
mov rcx, rdi
lea rdi, [rdi + 0x51]
mov rdx, r14
lea rsi, [rsi + 0xcf]
rol r13, 0x1d
mov r8, r15
ror r15, 0x2a
lea r9, [rsp]
xorps xmm8, xmm5
call r10
ror r14, 0x18
mov rdi, 0x7b
add rsp, 0x20
shr r12, 0x34
cmp r11, r10
ret
Function at 0x180004000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x13e0
call fcn.18000b350
sub rsp, rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea r8d, [r12 + 0x24]
lea rdx, [0x18003dd20]
lea rcx, [rsp + 0x28]
call fcn.180001f30
nop
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov ebx, 1
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.180016430
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, ebx
mov dword [rsp + rbx*4 + 0x54], ecx
mov eax, ecx
inc rbx
cmp rbx, 0x270
jb 0x180004091
mov dword [rsp + 0x50], 0x270
mov ebx, dword [rsp + 0x38]
dec ebx
mov ebp, 6
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
nop
cmp ebx, 0xffffffff
jne 0x1800040e3
lea rcx, [rsp + 0x50]
call fcn.180008390
mov edx, eax
jmp 0x180004121
lea edi, [rbx + 1]
mov ecx, r12d
mov eax, r12d
test ebx, ebx
je 0x180004101
lea rcx, [rsp + 0x50]
call fcn.180008390
mov ecx, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov r9d, edx
mov r8d, eax
xor edx, edx
mov eax, ecx
div edi
cmp eax, r8d
jb 0x18000411b
cmp r9d, ebx
jne 0x1800040e6
xor edx, edx
mov eax, ecx
div edi
lea rcx, [rsp + 0x28]
cmp r15, 8
cmovae rcx, r14
movsxd rax, edx
movzx r9d, word [rcx + rax*2]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180004164
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 8
jb 0x180004157
mov rax, qword [rsi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x18000416c
mov rcx, rsi
call fcn.180007820
sub rbp, 1
jne 0x1800040d0
cmp r15, 8
jb 0x1800041ad
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800041a5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800041cc
mov rcx, r14
call fcn.18000ab38
mov rax, rsi
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.180011c44
int3
Function at 0x140001cf0
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003c56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003c56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003c56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003c56
cmp dword [rcx + 0x84], 0xe
jbe 0x140003c56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003c58
xor al, al
add rsp, 0x28
ret
Function at 0x140003d10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13d0
call fcn.140010fb0
sub rsp, rax
mov rax, qword [0x14371c080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov r15, r8
movsxd rsi, edx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call fcn.14000feb8
mov r9d, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 1
nop word [rax + rax]
mov eax, r9d
shr eax, 0x1e
xor eax, r9d
imul r9d, eax, 0x6c078965
add r9d, ecx
mov dword [rsp + rcx*4 + 0x34], r9d
inc rcx
cmp rcx, 0x270
jb 0x140003d80
mov dword [rsp + 0x30], 0x270
mov r14d, dword [r15 + 0x10]
dec r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
mov dword [rsp + 0x20], 1
mov r12, rsi
test esi, esi
je 0x140003eac
mov r13d, 0x80000000
xor r14d, r13d
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x30]
cmp r14d, 0x7fffffff
jne 0x140003e07
call fcn.14000c480
mov ecx, eax
jmp 0x140003e4c
lea esi, [r14 - 0x7fffffff]
call fcn.14000c480
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x140003e48
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x140003e48
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14000c480
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x140003e30
mov rbx, qword [rdi + 0x10]
shr rcx, 0x20
lea eax, [rcx + r13]
xor eax, r13d
mov rcx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140003e60
mov rcx, qword [r15]
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x18]
cmp rbx, rcx
jae 0x140003e8f
lea rax, [rbx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rcx, 0xf
jbe 0x140003e84
mov rax, qword [rdi]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x140003e9f
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call fcn.14000ae10
mov rbx, qword [rdi + 0x10]
cmp r12, rbx
ja 0x140003df0
mov rax, rdi
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400106c0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140024994
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140010fb0
sub rsp, rax
mov rax, qword [0x14371c080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001f970
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400249e3
mov rax, rbp
jmp 0x140024aeb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x371e390]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400263b4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x371e390]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140024ae7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024ae7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400263b4
test rax, rax
js 0x140024ae7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140024ae7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024ad9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024ad9
cmp byte [rcx], 0xd
jne 0x140024abf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140024ace
cmp byte [rcx + 1], 0xa
jne 0x140024ace
inc rcx
jmp 0x140024ace
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x371c4c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140024aa1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140024aeb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400106c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140025754
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14371e390]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400257ab
cmp word [rdx], r13w
jne 0x1400257ab
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400257b0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400258d5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400258f6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400257e9
mov rdx, r9
mov word [rbx], cx
jmp 0x140025810
cmp r9, r8
jae 0x140025820
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400257ca
jmp 0x1400258d5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400258ca
cmp dword [rsp + 0x80], esi
je 0x1400258ca
lea r8, [0x14371e390]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400258a2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140025872
mov word [rbx], r13w
jmp 0x1400258d2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002587f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400258d2
cmp word [rsp + 0x70], r13w
jne 0x1400258af
cmp rbx, r14
je 0x14002586c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400263bc
cmp word [rsp + 0x70], r13w
je 0x1400258d5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14371e390]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400258cf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400258d5
Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea rax, [0x140002250]
mov dword [rsp + 0x28], 1
lea r9, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov qword [rsp + 0x20], rax
lea r8, str.explorer.exe
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400017ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400017f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400017f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400017f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400017f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400017f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400017f8
xor al, al
add rsp, 0x28
ret
Function at 0x1424e395c
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 [0x1424d77c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1424dea5c
xor ebx, ebx
cmp qword [0x1424dbab8], rbx
mov rdi, rax
jne 0x1424e3a6f
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1424e3b46
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1424e3b46
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1424dbab8], 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 [0x1424dbac0], 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 [0x1424dbac8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x1424dbad8], rax
test rax, rax
je 0x1424e3a66
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 [0x1424dbad0], rax
jmp 0x1424e3a76
mov rax, qword [0x1424dbad0]
jmp 0x1424e3a7d
mov rax, qword [0x1424dbad0]
mov r11, qword [0x1424dbad8]
cmp rax, rdi
je 0x1424e3ae4
cmp r11, rdi
je 0x1424e3ae4
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x1424dbad8]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1424e3ae4
test rax, rax
je 0x1424e3ae4
call rsi
test rax, rax
je 0x1424e3ade
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 0x1424e3ade
test byte [rsp + 0x40], 1
jne 0x1424e3ae4
bts ebp, 0x15
jmp 0x1424e3b24
mov rcx, qword [0x1424dbac0]
cmp rcx, rdi
je 0x1424e3b24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x1424e3b24
call rax
mov rbx, rax
test rax, rax
je 0x1424e3b24
mov rcx, qword [0x1424dbac8]
cmp rcx, rdi
je 0x1424e3b24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x1424e3b24
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1424dbab8]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x1424e3b46
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1424e3b48
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1424e1384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004b3c
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41654b
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.00434880
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416425
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416434
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416453
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416463
cmp rbx, 0x1000
jae 0x41642b
jmp 0x4164cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416475
xor edx, edx
jmp 0x4164c4
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.00434880
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
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 0x416459
jmp 0x416448
call fcn.00467400
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438920
lea rax, [0x004b8e85]
mov ebx, 0x18
nop dword [rax]
call fcn.004391a0
mov rax, qword [rsp + 0x38]
call fcn.00438ee0
lea rax, [0x004b91de]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004391a0
mov rax, qword [rsp + 0x30]
call fcn.00438ee0
call fcn.00438b60
call fcn.00438980
lea rax, [0x004baf96]
mov ebx, 0x21
call fcn.00436e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004163c0
Function at 0x416580
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4167a6
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.00434900
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4165f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416602
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416625
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416635
cmp rbx, 0x1000
jae 0x4165f9
nop
jmp 0x4166b8
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 0x41664d
xor esi, esi
jmp 0x4166aa
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.00434900
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
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 0x41662b
jmp 0x416616
call fcn.00467400
xorps xmm15, xmm15
mov r14, qword [0x005e1178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416740
nop dword [rax + rax]
call fcn.00438920
lea rax, [0x004b91f7]
mov ebx, 0x19
call fcn.004391a0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00438ee0
lea rax, [0x004b91de]
mov ebx, 0x19
call fcn.004391a0
mov eax, dword [rsp + 0x34]
call fcn.00438ee0
nop
call fcn.00438b60
call fcn.00438980
lea rax, [0x004b6534]
mov ebx, 0xd
call fcn.00436e80
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4166e0
call fcn.00438920
lea rax, [0x004b91f7]
mov ebx, 0x19
call fcn.004391a0
mov rax, qword [rsp + 0x38]
call fcn.00438ee0
lea rax, [0x004b91de]
mov ebx, 0x19
call fcn.004391a0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00438ee0
call fcn.00438b60
call fcn.00438980
lea rax, [0x004ba833]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00436e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416580