joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019234
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.14001ac38
nop
cmp dword [0x14002e8c8], 1
je 0x1400191e0
mov dword [0x14002e8c4], 1
mov byte [0x14002e8c0], r12b
test ebx, ebx
jne 0x1400191cc
mov rcx, qword [0x14002f2b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400191b9
mov rcx, qword [0x14002f2a8]
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 0x140019158
call fcn.140017a68
cmp qword [rdi], rax
jne 0x140019158
jmp 0x14001913e
cmp rdi, rsi
jb 0x1400191b9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140017a68
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14002f2b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14002f2a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140019197
cmp r13, rax
je 0x1400191b7
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 0x14001913e
lea rdx, [0x140022570]
lea rcx, [0x140022558]
call fcn.140018f88
lea rdx, [0x140022580]
lea rcx, [0x140022578]
call fcn.140018f88
nop
test r12d, r12d
je 0x1400191ef
mov ecx, 8
call fcn.14001ab38
test r12d, r12d
jne 0x14001921a
mov dword [0x14002e8c8], 1
lea ecx, [r12 + 8]
call fcn.14001ab38
mov ecx, r15d
call fcn.140018f1c
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 0x1400190a8

Function at 0x140019240
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400190a8
Function at 0x14001d968
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.140017a68
xor ebx, ebx
mov rdi, rax
cmp qword [0x14002efa0], rbx
jne 0x14001da6e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001db43
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001db43
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002efa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002efa8], 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 [0x14002efb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14002efc0], rax
test rax, rax
je 0x14001da65
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14002efb8], rax
jmp 0x14001da75
mov rax, qword [0x14002efb8]
jmp 0x14001da7c
mov rax, qword [0x14002efb8]
mov r11, qword [0x14002efc0]
cmp rax, rdi
je 0x14001dae4
cmp r11, rdi
je 0x14001dae4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14002efc0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14001dae4
test rax, rax
je 0x14001dae4
call rsi
test rax, rax
je 0x14001dade
lea rcx, [rsp + 0x88]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001dade
test byte [rsp + 0x38], 1
jne 0x14001dae4
bts ebp, 0x15
jmp 0x14001db22
mov rcx, qword [0x14002efa8]
cmp rcx, rdi
je 0x14001db22
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001db22
call rax
mov rbx, rax
test rax, rax
je 0x14001db22
mov rcx, qword [0x14002efb0]
cmp rcx, rdi
je 0x14001db22
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001db22
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002efa0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001db43
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001db45
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 0x1404fad30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1404fad3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1404fad4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1404fad35
lea eax, [rcx + 1]
jmp 0x1404fad5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1404fad6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1404fad54
sub eax, 3
jb 0x1404fad8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1404faddd
sar eax, 1
movsxd rbp, eax
jb 0x1404fadc4
jmp 0x1404fad9c
add ebx, ebx
jne 0x1404fad9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404fadc4
inc ecx
add ebx, ebx
jne 0x1404fadaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404fadc4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1404fadbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1404fadac
add ecx, 2
jmp 0x1404fadc9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1404facf2
jmp 0x1404fad3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xc5a00
mov dl, 0x25
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1404fae29
cmp rsi, rcx
jae 0x1404fae31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1404fae10
cmp al, 0x8f
ja 0x1404fae10
cmp byte [rsi - 2], 0xf
je 0x1404fae16
sub al, 0xe8
cmp al, 1
ja 0x1404fadfa
cmp rsi, rcx
jae 0x1404fae31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1404fae00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1404fae31
lodsb al, byte [rsi]
jmp 0x1404fae10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4f6000]
mov eax, dword [rdi]
or eax, eax
je 0x1404fae9a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x50225c]
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 0x1404fae3e
jns 0x1404fae73
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1404fae7d
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 0x1404fae94
mov qword [rbx], rax
add rbx, 8
jmp 0x1404fae5e
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 0x1404faede
cmp al, 0xef
ja 0x1404faec6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1404faea6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1404faeb5
mov eax, dword [rdi]
add rdi, 4
jmp 0x1404faeb5
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 + 0x257]
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 0x1404faf32
sub rsp, 0xffffffffffffff80
jmp 0x1400c3660
Function at 0x14000edf0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rax, qword [0x140040490]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov ebx, r8d
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ee3f
cmp dword [rsp + 0x30], ebx
je 0x14000ee95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov r8d, 0x1b
lea rdx, str.WinAPI::writeFile___failed.
lea rcx, [rsp + 0x40]
call fcn.1400033f0
nop
lea r8, [rsp + 0x40]
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1400044d0
lea rdx, [0x14003e6a8]
lea rcx, [rsp + 0x70]
call fcn.14001a0b0
nop
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140018e50
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
ret
Function at 0x14000ef70
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r13, rdx
mov r12, rcx
xor r14d, r14d
mov dword [rax - 0x58], r14d
mov qword [rax - 0x48], r14
mov qword [rax - 0x40], r14
mov qword [rax - 0x38], r14
mov edx, 0x200
lea rcx, [rax - 0x48]
call fcn.14000f850
nop
mov rbp, qword [rsp + 0x30]
mov word [rbp], r14w
mov rbx, qword [rsp + 0x38]
mov rdi, rbx
sub rdi, rbp
sar rdi, 1
mov r8d, edi
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [rdi - 1]
cmp eax, ecx
jl 0x14000f0e4
movabs r15, 0x7fffffffffffffff
nop dword [rax]
lea rsi, [rdi + rdi]
cmp rdi, rsi
jbe 0x14000f02d
lea rdi, [rbp + rsi*2]
cmp rdi, rbx
je 0x14000f0b3
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1400193c0
mov rbx, rdi
jmp 0x14000f0ae
jae 0x14000f0b3
mov rcx, rsi
sub rcx, rdi
mov rax, r15
sub rax, rcx
cmp rax, rdi
jb 0x14000f0d7
add rdi, rcx
mov rdx, qword [rsp + 0x40]
sub rdx, rbp
sar rdx, 1
cmp rdi, rdx
jbe 0x14000f08f
mov rcx, rdx
shr rcx, 1
mov rax, r15
sub rax, rcx
cmp rax, rdx
jae 0x14000f071
mov rdx, r14
jmp 0x14000f074
add rdx, rcx
cmp rdx, rdi
cmovb rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000fa20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rax, rbx
sub rax, rbp
sar rax, 1
sub rsi, rax
je 0x14000f0aa
movzx eax, r14w
mov rdi, rbx
mov rcx, rsi
rep stosw word [rdi], ax
lea rbx, [rbx + rsi*2]
mov qword [rsp + 0x38], rbx
mov rdi, rbx
sub rdi, rbp
sar rdi, 1
mov r8d, edi
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [rdi - 1]
cmp eax, ecx
jl 0x14000f0e4
jmp 0x14000f000
lea rcx, str.vector_T__too_long
call fcn.140017800
int3
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], r14
mov word [r12], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
mov rcx, r12
call fcn.1400033f0
mov dword [rsp + 0x20], 1
test rbp, rbp
je 0x14000f12a
mov rcx, rbp
call fcn.140018e2c
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rax, r12
lea r11, [rsp + 0x50]
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 0x140010ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140040490]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
jne 0x140010ef5
xor al, al
jmp 0x140011055
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400343d8]
call fcn.140002190
test rax, rax
je 0x140010f54
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400113e0
nop
mov rcx, rax
call fcn.140010ec0
movzx ebx, al
cmp qword [rsp + 0x50], 8
jb 0x140010f3a
mov rcx, qword [rsp + 0x38]
call fcn.140018e2c
mov qword [rsp + 0x50], 7
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x38], cx
jmp 0x140011052
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000ed90
nop
mov rax, qword [rsp + 0x20]
cmp rax, 0xffffffffffffffff
je 0x140010fda
test rax, rax
je 0x140010fda
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x140010fa1
mov rcx, qword [rsp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140010fc6
test rcx, rcx
je 0x140010fc6
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140010fc6
dec qword [rax]
jne 0x140010fc6
mov rcx, qword [rsp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140010fbc
test rcx, rcx
je 0x140010fbc
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x28]
call fcn.140018e2c
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0xffffffffffffffff
mov al, 1
jmp 0x140011055
cmp qword [rbx + 0x18], 8
jb 0x140010fe4
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x14001101d
mov rcx, qword [rsp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140011042
test rcx, rcx
je 0x140011042
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140011042
dec qword [rax]
jne 0x140011042
mov rcx, qword [rsp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140011038
test rcx, rcx
je 0x140011038
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x28]
call fcn.140018e2c
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0xffffffffffffffff
movzx eax, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140018e50
add rsp, 0x2c0
pop rbx
ret
Function at 0x140017670
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x140040490]
xor rax, rsp
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
mov qword [rsp + 0x40], 7
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x28]
call fcn.1400033f0
nop
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140003920
nop
cmp qword [rsp + 0x40], 8
jb 0x140017711
mov rcx, qword [rsp + 0x28]
call fcn.140018e2c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea rcx, [rsp + 0x50]
call fcn.140015500
mov edi, eax
cmp qword [rsp + 0x68], 8
jb 0x140017742
mov rcx, qword [rsp + 0x50]
call fcn.140018e2c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140018e50
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x14001df83
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140040490]
jne 0x140018e6a
rol rcx, 0x10
test cx, 0xffff
jne 0x140018e66
repz ret
ror rcx, 0x10
jmp 0x14001dedc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400426e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400427d8]
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 0x14001df61
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, [0x1400426e0]
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 0x14001df83
mov rax, qword [rsp + 0x88]
mov qword [0x1400427d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140042778], rax
mov rax, qword [0x1400427d8]
mov qword [0x140042650], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140042760], rax
mov dword [0x140042640], 0xc0000409
mov dword [0x140042644], 1
mov rax, qword [0x140040490]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140040498]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400426d8], eax
mov ecx, 1
call fcn.140025b98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400312c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400426d8], 0
jne 0x14001e00a
mov ecx, 1
call fcn.140025b98
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 0x140020bc0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140020a30
Function at 0x1400278c4
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 [0x140040490]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001ec50
xor ebx, ebx
cmp qword [0x140043788], rbx
mov rdi, rax
jne 0x1400279d7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140027aae
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027aae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140043788], 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 [0x140043790], 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 [0x140043798], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400437a8], rax
test rax, rax
je 0x1400279ce
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 [0x1400437a0], rax
jmp 0x1400279de
mov rax, qword [0x1400437a0]
jmp 0x1400279e5
mov rax, qword [0x1400437a0]
mov r11, qword [0x1400437a8]
cmp rax, rdi
je 0x140027a4c
cmp r11, rdi
je 0x140027a4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400437a8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140027a4c
test rax, rax
je 0x140027a4c
call rsi
test rax, rax
je 0x140027a46
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 0x140027a46
test byte [rsp + 0x40], 1
jne 0x140027a4c
bts ebp, 0x15
jmp 0x140027a8c
mov rcx, qword [0x140043790]
cmp rcx, rdi
je 0x140027a8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027a8c
call rax
mov rbx, rax
test rax, rax
je 0x140027a8c
mov rcx, qword [0x140043798]
cmp rcx, rdi
je 0x140027a8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027a8c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140043788]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027aae
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140027ab0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018e50
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004aa0
Capabilities:
Parse pe header

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

Function at 0x140006e48
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006c74
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop rsi
invalid
sbb edi, edi
invalid
or edi, edi
or byte [rax], cl
or bh, bh
or byte [rax], cl
or bh, bh
or byte [rax], cl
or bh, bh
or byte [rax], cl
or bh, bh
or byte [rax], cl
or bh, bh
or byte [rax], cl
or bh, bh
invalid
invalid
or bh, bh
or ecx, dword [rbx]
or edi, edi
or ecx, dword [rbx]
or edi, edi
or eax, 0xdff0d0d
or eax, 0xe0eff0d
invalid
adc dl, byte [rdx]
adc bh, bh
adc dl, byte [rdx]
adc bh, bh
adc edx, dword [rbx]
adc edi, edi
adc edx, dword [rbx]
adc edi, edi
adc edx, dword [rbx]
adc edi, edi
adc eax, 0x15ff1515
adc eax, 0x1616ff15
invalid