joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400349e4
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 0x140034a14
xor eax, eax
jmp 0x140034ad7
mov rbp, rbx
cmp word [rax], si
je 0x140034a39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140034a20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140034a1c
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.1400283bc
movsxd r14, eax
test eax, eax
jne 0x140034a77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140034a0d
mov rcx, r14
call fcn.140022b48
mov rdi, rax
test rax, rax
jne 0x140034a90
xor ecx, ecx
call fcn.140020554
jmp 0x140034a6c
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.1400283bc
test eax, eax
jne 0x140034ac1
mov rcx, rdi
call fcn.140020554
jmp 0x140034acb
xor ecx, ecx
call fcn.140020554
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 0x140035d00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140035d28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140035d28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002ae80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002aec7
test byte [rcx + 0x1c], 4
je 0x14002aec7
cmp byte [rcx + 0x19], 5
jb 0x14002aec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b80]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x14009a0f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002af0c
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002b08d
lea rcx, [0x14009a008]
call fcn.14003388c
jmp case.default.0x14002b08d
cmp eax, 2
jne 0x14002af7b
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002b08d
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002b08d
test byte [rax + 0x1c], 4
je case.default.0x14002b08d
cmp byte [rax + 0x19], 2
jb case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002b08d
cmp eax, 3
jne case.default.0x14002b08d
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002afcf
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002afcf
test byte [rax + 0x1c], 4
je 0x14002afcf
cmp byte [rax + 0x19], 2
jb 0x14002afcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002b02a
cmp dword [rbx + 0x65c], 0
je 0x14002b033
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002b02a
test byte [rcx + 0x1c], 4
je 0x14002b02a
cmp byte [rcx + 0x19], 2
jb 0x14002b02a
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140082b80]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002b08d
cmp qword [rbx + 0x668], 0
je case.default.0x14002b08d
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b73c
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14006264c
lea rcx, [0x14009a0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
invalid
invalid
invalid
Function at 0x140001000
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
lea rdx, str.main
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_CreatePatternBrush]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x70], 3
lea rax, [0x140001210]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x88], rax
lea rdx, [0x141d9f128]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x90], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa0], rax
lea rax, [0x141d9f128]
mov qword [rsp + 0xa8], rax
lea rax, [0x141d9f128]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x140001122
mov r9d, 0x10
lea r8, [0x141d9f128]
lea rdx, str.This_program_requires_Windows_NT_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400011fe
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x155
mov dword [rsp + 0x30], 0x1c5
mov dword [rsp + 0x28], 0x96
mov dword [rsp + 0x20], 0x96
mov r9d, 0xca0000
lea r8, [0x14000b3d0]
lea rdx, [0x141d9f128]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0xf8], rax
mov edx, dword [rsp + 0x128]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400011e9
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400011b1
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [rsp + 0xd0]
add rsp, 0x108
ret
Function at 0x140001cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x28], 0
cmp qword [rsp + 0x60], 0
jne 0x140001d20
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
add rax, 0x88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jne 0x140001d50
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], 0
je 0x140001d7b
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x14], 0
jne 0x140001d8d
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x140001dec
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x20]
cmp ecx, dword [rax + 0x10]
jae 0x140001dcd
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x20]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x140001eab
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
jmp 0x140001e51
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x140001e95
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
mov rax, qword [rsp + 0x60]
add rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140004c50
test eax, eax
jne 0x140001e93
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 1
jmp 0x140001e95
jmp 0x140001e2a
cmp dword [rsp + 0x38], 0
jne 0x140001eab
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jbe 0x140001ec8
mov ecx, 0x7f
call qword [0x141da1450]
xor eax, eax
jmp 0x140001eec
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
add rcx, rax
mov eax, dword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
add rsp, 0x58
ret
Function at 0x140001f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movzx eax, word [rsp + 0x30]
mov word [rsp], ax
mov eax, 1
mov word [rsp + 4], ax
xor eax, eax
mov word [rsp + 8], ax
mov dword [rsp + 0xc], 0
jmp 0x140001f41
mov eax, dword [rsp + 0xc]
add eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x140001fba
movzx ecx, word [rsp + 4]
movzx eax, word [rsp + 8]
cmp ecx, eax
jne 0x140001f60
xor eax, eax
mov word [rsp + 8], ax
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rcx]
add edx, 0x609
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movsxd rdx, dword [rsp + 0xc]
movzx eax, word [rsp + 8]
movzx ecx, word [rsp + rax*2]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rdx]
xor edx, ecx
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movzx eax, word [rsp + 8]
add ax, 1
mov word [rsp + 8], ax
jmp 0x140001f36
add rsp, 0x18
ret
Function at 0x1400025d0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x140002637
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x14000278a
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
jne 0x1400026e1
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jle 0x1400026dc
movsxd rdx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x141da1498]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400026aa
xor eax, eax
jmp 0x14000278f
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [rcx + 8], eax
movsxd r8, dword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140005060
jmp 0x14000261e
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x14]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x68], rax
jae 0x140002705
xor eax, eax
jmp 0x14000278f
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x141da1498]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140002740
xor eax, eax
jmp 0x14000278f
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rdx, qword [rsp + 0x60]
add rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140004d10
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [r11 + 8], eax
jmp 0x14000261e
mov eax, 1
add rsp, 0x58
ret
Function at 0x140003030
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140003082
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0xe6c957
lea rdx, [0x140f327d0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400030b1
mov byte [rsp + 0x44], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [rsp + 0x44]
add rsp, 0x58
ret

Function at 0x1400030d0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x141d9f148]
xor rax, rsp
mov qword [rsp + 0x248], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r9d, 1
mov r8d, 0x23
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.ckq
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x30]
call fcn.140003030
mov edx, 0x2ad800
lea rcx, [0x140c84fd0]
call fcn.140001fc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140003188
lea rdx, [0x14000e004]
mov rcx, qword [rsp + 0x20]
call fcn.140001cf0
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x240], 0
je 0x14000317e
call qword [rsp + 0x240]
mov rcx, qword [rsp + 0x20]
call fcn.140001c60
xor eax, eax
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140004c20
add rsp, 0x250
pop rdi
ret
Function at 0x140005767
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x141d9f148]
jne 0x140004c3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004c36
repz ret
ror rcx, 0x10
jmp 0x1400056c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x141da1590]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x141da1688]
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 0x140005745
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, [0x141da1590]
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 0x140005767
mov rax, qword [rsp + 0x88]
mov qword [0x141da1688], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x141da1628], rax
mov rax, qword [0x141da1688]
mov qword [0x141da1500], rax
mov rax, qword [rsp + 0x90]
mov qword [0x141da1610], rax
mov dword [0x141da14f0], 0xc0000409
mov dword [0x141da14f4], 1
mov rax, qword [0x141d9f148]
mov qword [rsp + 0x68], rax
mov rax, qword [0x141d9f150]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x141da1588], eax
mov ecx, 1
call fcn.140007ef8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b5f8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x141da1588], 0
jne 0x1400057ee
mov ecx, 1
call fcn.140007ef8
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 0x140006fdc
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.140008110
nop
cmp dword [0x141da1b18], 1
je 0x140006f88
mov dword [0x141da1b14], 1
mov byte [0x141da1b10], r12b
test ebx, ebx
jne 0x140006f74
mov rcx, qword [0x141da24f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006f61
mov rcx, qword [0x141da24e8]
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 0x140006f00
call fcn.14000672c
cmp qword [rdi], rax
jne 0x140006f00
jmp 0x140006ee6
cmp rdi, rsi
jb 0x140006f61
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000672c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x141da24f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x141da24e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140006f3f
cmp r13, rax
je 0x140006f5f
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 0x140006ee6
lea rdx, [0x14000b3b8]
lea rcx, [0x14000b3b0]
call fcn.140006d30
lea rdx, [0x14000b3c8]
lea rcx, [0x14000b3c0]
call fcn.140006d30
nop
test r12d, r12d
je 0x140006f97
mov ecx, 8
call fcn.140008010
test r12d, r12d
jne 0x140006fc2
mov dword [0x141da1b18], 1
lea ecx, [r12 + 8]
call fcn.140008010
mov ecx, r15d
call fcn.140006cc4
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 0x140006e50

Function at 0x140006fe8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140006e50
Function at 0x140009774
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.14000672c
xor ebx, ebx
mov rdi, rax
cmp qword [0x141da21e0], rbx
jne 0x14000987a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000994f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000994f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x141da21e0], 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 [0x141da21e8], 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 [0x141da21f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x141da2200], rax
test rax, rax
je 0x140009871
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x141da21f8], rax
jmp 0x140009881
mov rax, qword [0x141da21f8]
jmp 0x140009888
mov rax, qword [0x141da21f8]
mov r11, qword [0x141da2200]
cmp rax, rdi
je 0x1400098f0
cmp r11, rdi
je 0x1400098f0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x141da2200]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400098f0
test rax, rax
je 0x1400098f0
call rsi
test rax, rax
je 0x1400098ea
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 0x1400098ea
test byte [rsp + 0x38], 1
jne 0x1400098f0
bts ebp, 0x15
jmp 0x14000992e
mov rcx, qword [0x141da21e8]
cmp rcx, rdi
je 0x14000992e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000992e
call rax
mov rbx, rax
test rax, rax
je 0x14000992e
mov rcx, qword [0x141da21f0]
cmp rcx, rdi
je 0x14000992e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000992e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x141da21e0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000994f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140009951
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 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
iretd