joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180036830
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x18003bfd0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.18003b6b0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18003c037
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x18005f320]
jmp 0x18003c059
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.18003c360
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x18003e9c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18005c930
sub rsp, rax
mov rax, qword [0x18007c040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18007e5a0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x18003ebb2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x18003eb06
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x18003eb06
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x18003eaeb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x18003ea88
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18003eb72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18003ebd1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x18003ebad
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18003ebd1
jmp 0x18003ea5e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.18000b7a0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x18003ebf0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18005c930
sub rsp, rax
mov rax, qword [0x18007c040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18007e5a0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x18003edfd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x18003ed49
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x18003ed49
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x18003ed29
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x18003ecb8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18003edbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18003ee1c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x18003edf8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x18003ee1c
jmp 0x18003ec8e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.18000b7a0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x18004e370
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180006950
lea rcx, [rsp + 0x40]
call fcn.18004e330
movzx eax, al
test eax, eax
jne 0x18004e3b8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.18004e260
mov rax, qword [rsp + 0x70]
jmp 0x18004e589
lea rcx, [rsp + 0x40]
call fcn.180005880
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18004e2e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.180005880
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.18004b040
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18004e45e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.18004e260
mov rax, qword [rsp + 0x80]
jmp 0x18004e589
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.18001b880
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180006950
lea rcx, [rsp + 0x48]
call fcn.18000b740
movzx eax, al
test eax, eax
jne 0x18004e4c5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.18000b720
lea rcx, [rsp + 0x40]
call fcn.18004e260
mov rax, qword [rsp + 0x88]
jmp 0x18004e589
lea rcx, [rsp + 0x48]
call fcn.180005880
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.180005880
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.18004b040
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18004e55b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.18000b720
lea rcx, [rsp + 0x40]
call fcn.18004e260
mov rax, qword [rsp + 0xa0]
jmp 0x18004e589
lea rcx, [rsp + 0x48]
call fcn.18000ea30
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.18000b720
lea rcx, [rsp + 0x40]
call fcn.18004e260
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14000a000
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000a00d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000a01d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000a005
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000a035
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000a022
sub eax, 3
jb 0x14000a04f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000a086
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000a076
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000a074
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000a063
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140009fc2
jmp 0x14000a00d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xe00
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000a0d2
cmp rsi, rcx
jae 0x14000a0da
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000a0b9
cmp al, 0x8f
ja 0x14000a0b9
cmp byte [rsi - 2], 0xf
je 0x14000a0bf
sub al, 0xe8
cmp al, 1
ja 0x14000a0a3
cmp rsi, rcx
jae 0x14000a0da
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000a0a9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000a0da
lodsb al, byte [rsi]
jmp 0x14000a0b9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7000]
mov eax, dword [rdi]
or eax, eax
je 0x14000a137
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb0dc]
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 0x14000a0e7
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 0x14000a131
mov qword [rbx], rax
add rbx, 8
jmp 0x14000a107
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 0x14000a171
cmp al, 0xef
ja 0x14000a163
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000a143
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000a152
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 + 0x227]
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 0x14000a1c5
sub rsp, 0xffffffffffffff80
jmp 0x1400012c8
Function at 0x4e9f10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4e9f1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x4e9f2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4e9f15
lea eax, [rcx + 1]
jmp 0x4e9f3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x4e9f4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x4e9f34
sub eax, 3
jb 0x4e9f6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x4e9fbd
sar eax, 1
movsxd rbp, eax
jb 0x4e9fa4
jmp 0x4e9f7c
add ebx, ebx
jne 0x4e9f7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e9fa4
inc ecx
add ebx, ebx
jne 0x4e9f8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e9fa4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x4e9f9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x4e9f8c
add ecx, 2
jmp 0x4e9fa9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.004e9ed2
jmp 0x4e9f1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa9600
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4ea00d
cmp rsi, rcx
jae 0x4ea015
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x4e9ff4
cmp al, 0x8f
ja 0x4e9ff4
cmp byte [rsi - 2], 0xf
je 0x4e9ffa
sub al, 0xe8
cmp al, 1
ja 0x4e9fde
cmp rsi, rcx
jae 0x4ea015
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x4e9fe4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4ea015
lodsb al, byte [rsi]
jmp 0x4e9ff4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe4000]
mov eax, dword [rdi]
or eax, eax
je 0x4ea072
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xea000]
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 0x4ea022
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 0x4ea06c
mov qword [rbx], rax
add rbx, 8
jmp 0x4ea042
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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
mov byte [fcn.004ea0f5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.004ea0f5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x4ea0e5
sub rsp, 0xffffffffffffff80
jmp 0x4014d0
Function at 0x140011a80
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.140016124
nop
cmp dword [0x1400235f0], 1
je 0x140011a2c
mov dword [0x1400235ec], 1
mov byte [0x1400235e8], r12b
test ebx, ebx
jne 0x140011a18
mov rcx, qword [0x140025770]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140011a05
mov rcx, qword [0x140025768]
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 0x1400119a4
call fcn.14001291c
cmp qword [rdi], rax
jne 0x1400119a4
jmp 0x14001198a
cmp rdi, rsi
jb 0x140011a05
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001291c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140025770]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140025768]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400119e3
cmp r13, rax
je 0x140011a03
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 0x14001198a
lea rdx, [0x14001d380]
lea rcx, [0x14001d368]
call fcn.1400117d4
lea rdx, [0x14001d390]
lea rcx, [0x14001d388]
call fcn.1400117d4
nop
test r12d, r12d
je 0x140011a3b
invalid
mov ecx, 8
xor r8d, r8d
xor edx, edx
jmp 0x1400118f4

Function at 0x140011a8c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400118f4
Function at 0x140012e17
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140022260]
jne 0x1400100da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400100d6
repz ret
ror rcx, 0x10
jmp 0x140012d70
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140023be0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140023cd8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140012df5
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, [0x140023be0]
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 0x140012e17
mov rax, qword [rsp + 0x88]
mov qword [0x140023cd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140023c78], rax
mov rax, qword [0x140023cd8]
mov qword [0x140023b50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023c60], rax
mov dword [0x140023b40], 0xc0000409
mov dword [0x140023b44], 1
mov rax, qword [0x140022260]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140022268]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140023bd8], eax
mov ecx, 1
call fcn.140014664
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001dcb0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140023bd8], 0
jne 0x140012e9e
mov ecx, 1
call fcn.140014664
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 0x14001654c
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.14001291c
xor ebx, ebx
mov rdi, rax
cmp qword [0x140024398], rbx
jne 0x140016652
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140016727
lea rdx, [0x14001de50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140016727
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140024398], 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 [0x1400243a0], 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 [0x1400243a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400243b8], rax
test rax, rax
je 0x140016649
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400243b0], rax
jmp 0x140016659
mov rax, qword [0x1400243b0]
jmp 0x140016660
mov rax, qword [0x1400243b0]
mov r11, qword [0x1400243b8]
cmp rax, rdi
je 0x1400166c8
cmp r11, rdi
je 0x1400166c8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400243b8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400166c8
test rax, rax
je 0x1400166c8
call rsi
test rax, rax
je 0x1400166c2
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400166c2
test byte [rsp + 0x38], 1
jne 0x1400166c8
bts ebp, 0x15
jmp 0x140016706
mov rcx, qword [0x1400243a0]
cmp rcx, rdi
je 0x140016706
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140016706
call rax
mov rbx, rax
test rax, rax
je 0x140016706
mov rcx, qword [0x1400243a8]
cmp rcx, rdi
je 0x140016706
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140016706
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140024398]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140016727
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140016729
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 0x140019cd0
Capabilities:
Acquire debug privileges
Check os version

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x1a8
mov rax, qword [0x140022260]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x60], 0
mov r8d, dword [rsp + 0x1c0]
mov edx, dword [rsp + 0x1b8]
mov ecx, dword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140019ecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 5
je 0x140019d43
xor eax, eax
jmp 0x140019ed2
mov dword [rsp + 0x70], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x80], 2
je 0x140019d72
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140019ed2
mov dword [rsp + 0x64], 0x10
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140019dd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14001ab90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x20518
call fcn.14001c610
sub rsp, rax
mov qword [rsp + 0x204f8], 0xfffffffffffffffe
mov rax, qword [0x140022260]
xor rax, rsp
mov qword [rsp + 0x20500], rax
lea rcx, [rsp + 0x48]
call fcn.14000d5a0
nop
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x202c0], 0
mov qword [rsp + 0x202d8], 0
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f3d4]
mov rdx, rax
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.14001a160
add rax, 2
mov qword [rsp + 0x202d8], rax
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f40c]
mov rdx, rax
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.14001a160
sub rax, qword [rsp + 0x202d8]
sar rax, 1
mov r8d, eax
mov rdx, qword [rsp + 0x202d8]
lea rcx, [rsp + 0x202e0]
call fcn.14000f060
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f478]
mov rdx, rax
mov rcx, qword [rsp + 0x20520]
mov rcx, qword [rcx + 8]
call fcn.14001a160
mov r8, rax
add r8, 2
mov edx, 0x104
lea rcx, [rsp + 0x200b0]
call fcn.140010a60
lea rcx, [rsp + 0x202e0]
call fcn.140010ae4
mov dword [rsp + 0x78], eax
lea rdx, [rsp + 0x90]
mov ecx, dword [rsp + 0x78]
call fcn.14001a370
mov dword [rsp + 0x202d0], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rsp + 0x200b0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x202c8], rax
cmp qword [rsp + 0x202c8], 0
je 0x14001ad7a
cmp qword [rsp + 0x202c8], 0xffffffffffffffff
je 0x14001ad7a
lea rcx, [rsp + 0x100ac]
call fcn.1400100e8
mov r8d, eax
shl r8d, 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x204f0]
lea rdx, [rsp + 0x100ac]
mov rcx, qword [rsp + 0x202c8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x202c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x204f4], 0
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
mov eax, dword [rsp + 0x204f4]
mov rcx, qword [rsp + 0x20500]
xor rcx, rsp
call fcn.1400100c0
add rsp, 0x20518
ret