joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ed8
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 [0x1400100a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140004f00
xor ebx, ebx
cmp qword [0x140012050], rbx
mov rdi, rax
jne 0x140005feb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400060c2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400060c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140012050], 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 [0x140012058], 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 [0x140012060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140012070], rax
test rax, rax
je 0x140005fe2
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 [0x140012068], rax
jmp 0x140005ff2
mov rax, qword [0x140012068]
jmp 0x140005ff9
mov rax, qword [0x140012068]
mov r11, qword [0x140012070]
cmp rax, rdi
je 0x140006060
cmp r11, rdi
je 0x140006060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140012070]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140006060
test rax, rax
je 0x140006060
call rsi
test rax, rax
je 0x14000605a
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 0x14000605a
test byte [rsp + 0x40], 1
jne 0x140006060
bts ebp, 0x15
jmp 0x1400060a0
mov rcx, qword [0x140012058]
cmp rcx, rdi
je 0x1400060a0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400060a0
call rax
mov rbx, rax
test rax, rax
je 0x1400060a0
mov rcx, qword [0x140012060]
cmp rcx, rdi
je 0x1400060a0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400060a0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140012050]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400060c2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400060c4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400030b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000310d
lea rbx, [0x140065240]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400030f4
cmp r10, 2
jb 0x1400030f4
cmp byte [r9], r8b
jne 0x1400030f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400030d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000314f
lea rbx, [0x140065240]
cmp r8b, 0x23
jne 0x140003133
cmp byte [r9], r8b
jne 0x140003133
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003120
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400032aa
mov qword [r8], 0
lea rdx, [0x140064d90]
call fcn.140003160
mov rbx, rax
test rax, rax
jne 0x1400032ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400033a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400033a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033a1
cmp rdi, 0xffffffffffffffff
je 0x1400033a1
mov rax, qword [0x140078980]
test rax, rax
je 0x14000333e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400033a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000338e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140078980]
test rax, rax
je 0x140003383
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400033aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000339c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400033ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006b70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140065240]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140006c06
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001b190
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006c10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140065240]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14000a470
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140078980]
mov r15d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
movss xmm3, dword [rbx + 0x250]
and eax, 4
movss xmm5, dword [rbx + 0x254]
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14000a4d6
cmp qword [rdi + 0x4b30], 0
je 0x14000a4de
movss xmm3, dword [rbx + 0x220]
cvttss2si eax, dword [r8]
xor r14d, r14d
subss xmm3, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
xorps xmm4, xmm4
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x14000a518
lea eax, [r14 + 1]
je 0x14000a51b
mov eax, r14d
ucomiss xmm0, xmm4
jp 0x14000a528
jne 0x14000a528
mov r14d, 2
movss xmm2, dword [0x14006a858]
or r14d, eax
comiss xmm4, xmm1
jb 0x14000a544
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x14000a544
movaps xmm1, xmm2
comiss xmm4, xmm0
jb 0x14000a555
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000a555
movaps xmm0, xmm2
or dword [rdi + 0x47b0], 2
xor edx, edx
movss dword [rdi + 0x47d0], xmm1
movss dword [rdi + 0x47d4], xmm0
mov dword [rdi + 0x47b8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000a59e
mov dword [rsp + 0x28], r15d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140002f90
jmp 0x14000a5b4
lea r8, str._s__08X
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x70]
call fcn.140002f90
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.14000d170
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], r14b
jne 0x14000a602
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x140064241]
not r9d
lea r10, [0x140065240]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x14000a633
cmp byte [rdx], r8b
jne 0x14000a633
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000a620
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000a663
xor edx, edx
xor ecx, ecx
call fcn.140006dd0
cmp dword [rdi + 0x48c8], r15d
jne 0x14000a6b0
bt r12d, 0x17
jb 0x14000a6b0
cmp word [rsi + 0x15c], 0
jne 0x14000a686
cmp byte [rsi + 0x162], 0
je 0x14000a6b0
xor edx, edx
mov rcx, rsi
call fcn.14000f5c0
xor edx, edx
mov rcx, rsi
call fcn.140015d20
mov rdx, rsi
mov ecx, ebx
call fcn.140006dd0
mov eax, dword [rdi + 0x48ec]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400139e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140076140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140078980]
mov edi, ecx
cmp byte [rbx + 0x4a79], 0
jne 0x140013a41
cmp byte [rbx + 0x4a7a], 0
jne 0x140013a41
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002f10
test dil, 2
je 0x140013b6f
jmp 0x140013aca
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bb2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006a884]
mulss xmm1, dword [0x14006a874]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47c8], rax
mov dword [rbx + 0x47b4], 1
movss dword [rbx + 0x47c0], xmm0
movss dword [rbx + 0x47c4], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x14006a77c]
or dword [rbx + 0x47b0], 0x41
movss dword [rbx + 0x4810], xmm0
call fcn.140002f10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013b20
lea r11, [0x140065240]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013b03
cmp byte [r8], r9b
jne 0x140013b03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013af0
not ecx
call fcn.14000a9f0
test rax, rax
je 0x140013b6f
cmp byte [rax + 0xb6], 0
je 0x140013b6f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.140002f10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d170
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005ed70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400199c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019a67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140019a1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001bee0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140078978]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140019a6f
mov rcx, rbx
call fcn.140003a20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019ef0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140078980]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019f53
mov qword [rsp], rbx
lea rbx, [0x140065240]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019f33
cmp byte [r8], r9b
jne 0x140019f33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019f20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019f87
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019f8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019f74
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14005fb2c
Capabilities:
Parse pe header

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

Function at 0x1805a116d
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xb70f11b1
lea rax, [0x1805770e0]
lea rsp, [rsp + 8]
movzx esi, byte [rdx]
xor esi, ecx
push 0x130baa0f
and esi, 0xff
mov esi, dword [rax + rsi*4]
shr ecx, 8
xor ecx, esi
inc rdx
xor ecx, 0xc809eb9d
dec rbx
not dword [rsp + 2]
push 0xffffffffc52a9d8b
lea rsp, [rsp + 0x10]
jne 0x1805a117e
call fcn.180589a9d
Function at 0x140002de8
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
xor r15d, r15d
mov dword [rbp - 5], 8
mov rbx, rcx
mov qword [rbp - 0x19], r15
lea rax, [0x140002c50]
mov dword [rbp - 9], r15d
xor ecx, ecx
mov qword [rbp + 7], r15
mov edx, 0x7f00
mov qword [rbp + 0x1f], r15
mov qword [rbp - 0x11], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
xor ecx, ecx
mov qword [rbp + 0xf], rax
call qword [sym.imp.GDI32.dll_GetStockObject]
nop dword [rax + rax]
mov qword [rbp + 0x17], rax
lea r12, str.StubWindow32
lea rax, [0x140000000]
mov qword [rbp + 0x27], r12
lea rcx, [rbp - 0x19]
mov qword [rbp - 1], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
nop dword [rax + rax]
mov eax, dword [0x140007034]
mov esi, 0x40000
cmp eax, 0xffffffff
jne 0x140002ee4
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140007710], ax
test ax, ax
je 0x140002ed8
movzx ecx, ax
lea r9d, [r15 + 2]
lea r8, [rbp + 0x6f]
mov edx, 0x20000070
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jle 0x140002ed8
cmp dword [rbp + 0x6f], 1
sete dil
xchg dword [0x140007034], edi
mov eax, dword [0x140007034]
mov r14d, dword [rbp + 0x6b]
lea r8, [0x140005504]
mov qword [rsp + 0x58], r15
cmp eax, 1
mov rax, qword [rbp - 1]
mov ecx, 0x440000
mov qword [rsp + 0x50], rax
cmove esi, ecx
mov qword [rsp + 0x48], r15
xor r9d, r9d
mov qword [rsp + 0x40], r15
mov rdx, r12
mov dword [rsp + 0x38], r15d
mov ecx, esi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140002f9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x578
jne 0x140002f9d
mov rax, qword [rbp - 1]
lea r8, [0x140005504]
mov qword [rsp + 0x58], r15
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov rdx, r12
mov qword [rsp + 0x48], r15
mov ecx, esi
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
nop dword [rax + rax]
mov rdi, rax
lea r11, [rsp + 0xb0]
mov rax, rdi
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400036cc
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140007018]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov qword [rdx], r12
lea r8, [rsp + 0x30]
mov r14d, r12d
sub rcx, rax
mov r15, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140003741
movzx eax, word [rcx + r8]
test ax, ax
je 0x140003741
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x14000371d
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x1400056d0]
mov word [rax], r12w
call fcn.1400010e0
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400037b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400038a5
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140001ec0
mov esi, eax
jmp 0x140003889
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.1400021bc
mov esi, eax
test eax, eax
jns 0x1400037ee
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140001e84
mov rcx, rbx
call fcn.140001f54
jmp 0x140003889
lea r8, [0x1400056d8]
lea rcx, [rsp + 0x30]
call fcn.1400010e0
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140003831
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140001ec0
mov esi, eax
jmp 0x1400037e1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400021bc
mov esi, eax
test eax, eax
jns 0x140003865
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140001e84
mov rcx, rdi
call fcn.140001f54
jmp 0x1400037e1
mov rcx, rdi
call fcn.140001f54
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140001f54
mov esi, r12d
test esi, esi
jns 0x1400038a5
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.140001e84
mov eax, esi
jmp 0x1400038aa
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140003cb0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140003a10
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140007770], rbx
je 0x140003a77
cmp rax, rbx
jne 0x140003a6a
mov ebx, 1
mov esi, ebx
jmp 0x140003a7c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140003a4f
mov ebx, 1
mov eax, dword [0x140007778]
cmp eax, ebx
jne 0x140003a94
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140003b00
mov eax, dword [0x140007778]
test eax, eax
jne 0x140003af5
mov dword [0x140007778], ebx
lea r15, [0x140005498]
lea rdi, [0x140005480]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140003ae7
test eax, eax
jne 0x140003aeb
cmp qword [rdi], r14
je 0x140003adc
mov rax, qword [rdi]
mov rcx, qword [0x140005440]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140003abe
test eax, eax
je 0x140003afb
mov eax, 0xff
jmp 0x140003c56
mov dword [0x140007044], ebx
mov edi, 0x1f
mov eax, dword [0x140007778]
cmp eax, ebx
jne 0x140003b27
lea rdx, [0x140005478]
lea rcx, [0x140005448]
call sub.msvcrt.dll__initterm
mov dword [0x140007778], 2
test esi, esi
jne 0x140003b35
mov rax, r14
xchg qword [0x140007770], rax
cmp qword [0x140007790], r14
je 0x140003b68
lea rcx, [0x140007790]
call fcn.1400040c0
test eax, eax
je 0x140003b68
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140007790]
mov r9, qword [0x140005440]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140003b81
mov eax, 0xff
jmp 0x140003c56
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140003c07
test ax, ax
je 0x140003b9c
test edx, edx
jne 0x140003c07
sub ax, bx
cmp ax, di
ja 0x140003bb2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140003b9c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140002fc4
mov dword [0x140007040], eax
cmp dword [0x140007060], r14d
jne 0x140003bf0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140007044], r14d
jne 0x140003c05
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140007040]
jmp 0x140003c56
cmp ax, 0x22
jne 0x140003c1b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140003b8a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400ac000
add rsp, 0x28
jmp 0x140003a10