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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x140080cf0]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rsi + 0x4008]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
mov r9d, dword [rsi + 0x49f8]
cmovae eax, r11d
bts r9d, 8
mov dword [rsi + 0x49f8], r9d
mov dword [rsi + 0x4a30], eax
cmp qword [rbx + 0x1b8], 0
jne 0x14001a66f
cmp qword [rsi + 0x4df8], 0
mov eax, 0x260
je 0x14001a674
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.140023600
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rsi + 0x4a18], xmm0
xor edx, edx
mov dword [rsi + 0x49f8], r9d
mov dword [rsi + 0x4a00], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x14001a6e4
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140012ce0
jmp 0x14001a6f5
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140012ce0
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3920]
xor edx, edx
call fcn.14001d890
mov rdi, qword [rsi + 0x4008]
movzx ebp, al
movss dword [rsi + 0x3920], xmm6
cmp word [rdi + 0xcc], 1
mov dword [rdi + 0x88], r14d
jne 0x14001a73c
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x14006da01]
not r9d
lea r10, [0x14006ea60]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14001a769
cmp byte [rdx], r8b
jne 0x14001a769
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 0x14001a756
not ebx
cmp dword [rsi + 0x406c], ebx
jne 0x14001a799
xor edx, edx
xor ecx, ecx
call fcn.140016de0
cmp dword [rsi + 0x4b28], r14d
jne 0x14001a7e6
bt r15d, 0x17
jb 0x14001a7e6
cmp word [rdi + 0x16c], 0
jne 0x14001a7bc
cmp byte [rdi + 0x172], 0
je 0x14001a7e6
xor edx, edx
mov rcx, rdi
call fcn.14001fe50
xor edx, edx
mov rcx, rdi
call fcn.140026420
mov rdx, rdi
mov ecx, ebx
call fcn.140016de0
mov eax, dword [rsi + 0x4b4c]
mov dword [rsi + 0x40a0], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140068890
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140024320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140080cf0]
mov edi, ecx
cmp byte [rbx + 0x4d31], 0
jne 0x140024381
cmp byte [rbx + 0x4d32], 0
jne 0x140024381
movsx r9d, word [rbx + 0x5e88]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140012c60
test dil, 2
je 0x1400244af
jmp 0x14002440a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e88]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400757d0]
mulss xmm1, dword [0x1400757bc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a10], rax
mov dword [rbx + 0x49fc], 1
movss dword [rbx + 0x4a08], xmm0
movss dword [rbx + 0x4a0c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400754ac]
or dword [rbx + 0x49f8], 0x41
movss dword [rbx + 0x4a58], xmm0
call fcn.140012c60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140024460
lea r11, [0x14006ea60]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140024443
cmp byte [r8], r9b
jne 0x140024443
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 0x140024430
not ecx
call fcn.14001ab00
test rax, rax
je 0x1400244af
cmp byte [rax + 0xbe], 0
je 0x1400244af
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e88]
movsx r9d, word [rbx + 0x5e88]
call fcn.140012c60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14001d890
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140068890
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14002a020
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 + 0x5fe0], 0
lea rbx, [rcx + 0x5fe8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002a0c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002a07a
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.14002c9d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140013810
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fe0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ff0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140080ce8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002a0cf
mov rcx, rbx
call fcn.140013810
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14002a3f0
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 [0x140080cf0]
xor ebp, ebp
cmp byte [rbx + 0x5f38], bpl
jne 0x14002a4cf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14002a4c8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140013020
mov rsi, rax
test rax, rax
je 0x14002a4c8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14002a454
mov rcx, rax
call fcn.14002a620
mov r8, qword [0x140080cf0]
test r8, r8
je 0x14002a4bf
movsx rdx, word [r8 + 0x60b8]
lea rcx, [r8 + 0x60bc]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14002a4b4
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 + 0x60b8], cx
movsx rax, cx
lea rcx, [r8 + 0x60bc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f38], 1
movss xmm0, dword [rbx + 0x5f3c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14002a55e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f3c], xmm0
jb 0x14002a55e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14002a551
mov rax, qword [0x140080cf0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f3c], ebp
call fcn.14002a880
lea rdx, [0x14006e58c]
mov rcx, rdi
mov rsi, rax
call fcn.140012f30
mov rdi, rax
test rax, rax
je 0x14002a558
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 0x14002a558
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f3c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002a580
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140080cf0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14002a5e3
mov qword [rsp], rbx
lea rbx, [0x14006ea60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002a5c3
cmp byte [r8], r9b
jne 0x14002a5c3
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 0x14002a5b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f50]
not eax
mov r8, qword [r10 + 0x5f58]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002a60f
cmp dword [r8 + 8], eax
je 0x14002a616
add r8, 0x48
cmp r8, rcx
jne 0x14002a600
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003fc70
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140080cf0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003fe8e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003fe8e
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 [0x140080cf0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003fd44
movsx rdx, word [r8 + 0x60b8]
lea rax, [r8 + 0x60bc]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003fd39
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 + 0x60b8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60bc]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60b0]
test rdi, rdi
je 0x14003fd61
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 0x14003fd64
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x14003fda7
mov rsi, qword [r8 + 0x90]
jmp 0x14003fdaa
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 0x14003fdd5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140080cf0]
mov rcx, qword [rax + 0x4b10]
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 0x14003fe4e
inc rbx
cmp rbx, 5
jl 0x14003fe30
jmp 0x14003fe7a
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 0x14003fe90
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140068890
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14005d840
Capabilities:
Create thread
Terminate process

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebx, ebx
call fcn.14005e7e0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14005d897
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
xor r8d, r8d
lea rdx, [0x14006ce41]
jmp 0x14005d8dc
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x14005d8b1
inc rax
jmp 0x14005d8b6
lea rax, [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14005d8d0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000e390
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005d926
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d921
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d921
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068b2c
call fcn.14005cdc0
test al, al
je 0x14005d9f4
mov ecx, 0xdcf
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14005e630
mov ecx, 8
call fcn.1400688b0
lea rcx, [0x140068630]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140010420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005d9e4
cmp dword [rsp + 0x38], 0
je 0x14005d9d8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005d9d8
call fcn.14000e9c0
call fcn.140007f30
call fcn.140003950
call fcn.140066b60
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140068890
add rsp, 0x180
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14005e630
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
cmp byte [0x14007463f], 0
mov rbx, rax
mov rcx, qword [0x140074638]
mov qword [rsp + 0x20], rcx
je 0x14005e7af
xor ecx, ecx
cmp dword [0x140080088], 2
jl 0x14005e774
movdqa xmm2, xmmword [0x140075a80]
movdqa xmm3, xmmword [0x140075a90]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140075c80]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075ad0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x20]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140075b10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075ad0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075b10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x14005e7af
lea r8, [rsp + 0x20]
nop dword [rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x14005e780
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140068890
add rsp, 0x30
pop rbx
ret
Function at 0x140069468
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400694b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400694b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400694b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400694b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400694b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400694b4
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x80
cmp qword [rcx], 0
mov rsi, rdx
mov rbx, rcx
jne 0x140001090
add rcx, 0x78
lea rdx, [0x140023400]
call fcn.140002d00
mov qword [rbx], rax
test rax, rax
jne 0x140001090
lea rcx, str.Cannot_open_archive_file_n
call fcn.140001dc0
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rsi
ret
mov ecx, dword [rsi + 4]
mov qword [rsp + 0x90], rbp
call sub.WS2_32.dll_ntohl
add eax, dword [rbx + 8]
xor r8d, r8d
mov rcx, qword [rbx]
mov edx, eax
call fcn.14000b044
mov ecx, dword [rsi + 8]
call sub.WS2_32.dll_ntohl
mov ecx, eax
call fcn.14000a99c
mov rbp, rax
test rax, rax
jne 0x1400010da
lea rcx, str.Could_not_allocate_read_buffer_n
call fcn.140001dc0
xor eax, eax
jmp 0x14000122c
mov ecx, dword [rsi + 8]
call sub.WS2_32.dll_ntohl
mov r9, qword [rbx]
mov r8d, 1
mov edx, eax
mov rcx, rbp
call fcn.14000ad74
cmp rax, 1
jae 0x140001116
lea rcx, str.Could_not_read_from_file_n
call fcn.140001dc0
mov rcx, rbp
call fcn.14000a988
xor eax, eax
jmp 0x14000122c
mov qword [rsp + 0xa0], r14
xor r14d, r14d
cmp byte [rsi + 0x10], 1
jne 0x140001211
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x98], rdi
call sub.WS2_32.dll_ntohl
mov ecx, eax
call fcn.14000a99c
mov rdi, rax
test rax, rax
jne 0x14000115b
lea rcx, str.Error_allocating_decompression_buffer_n
call fcn.140001dc0
jmp 0x1400011e2
mov ecx, dword [rsi + 8]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], rbp
call sub.WS2_32.dll_ntohl
mov ecx, dword [rsi + 0xc]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rdi
call sub.WS2_32.dll_ntohl
mov r8d, 0x58
mov dword [rsp + 0x38], eax
lea rdx, str.1.2.11
lea rcx, [rsp + 0x20]
call fcn.140007480
test eax, eax
js 0x1400011cf
mov edx, 4
lea rcx, [rsp + 0x20]
call fcn.140005ab0
test eax, eax
js 0x1400011c6
lea rcx, [rsp + 0x20]
call fcn.140007280
jmp 0x1400011e5
lea rcx, str.Error__d_from_inflate:__s_n
jmp 0x1400011d6
lea rcx, str.Error__d_from_inflateInit:__s_n
mov r8, qword [rsp + 0x40]
mov edx, eax
call fcn.140001dc0
mov rdi, r14
mov rcx, rbp
call fcn.14000a988
test rdi, rdi
mov rbp, rdi
mov rdi, qword [rsp + 0x98]
jne 0x140001211
lea rdx, [rsi + 0x12]
lea rcx, str.Error_decompressing__s_n
call fcn.140001dc0
xor eax, eax
jmp 0x140001224
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001221
call fcn.14000aa28
mov qword [rbx], r14
mov rax, rbp
mov r14, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rsi
ret
Function at 0x140001250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.140001040
mov rcx, rdi
mov rbp, rax
call fcn.1400041f0
cmp eax, 0xffffffff
jne 0x14000128a
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + 0x2078]
lea rbx, [rsi + 0x12]
mov rdx, rbx
call fcn.140004530
mov ecx, dword [rsi + 0xc]
mov rdi, rax
call sub.WS2_32.dll_ntohl
mov esi, eax
test rdi, rdi
jne 0x1400012cf
mov r8, rbx
lea rdx, str._s_could_not_be_extracted__n
lea rcx, str.fopen
call fcn.140001890
lea eax, [rdi - 1]
jmp 0x14000131d
mov r9, rdi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.14000b798
cmp rax, 1
je 0x14000130b
test rsi, rsi
je 0x14000130b
mov r8, rbx
lea rdx, str.Failed_to_write_all_bytes_for__s_n
lea rcx, str.fwrite
call fcn.140001890
mov eax, 0xffffffff
jmp 0x14000131d
mov rcx, rdi
call fcn.14000aa28
mov rcx, rbp
call fcn.14000a988
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400040c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.140008780
sub rsp, rax
mov rax, qword [0x140033018]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x140023400]
call fcn.140002d00
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.140004530
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400041b6
mov rcx, rsi
test rax, rax
je 0x1400041be
call fcn.14000aa8c
test eax, eax
jne 0x1400041a2
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 0x1000
mov r8d, 1
call fcn.14000ad74
cmp rax, 0xffffffffffffffff
jne 0x14000415f
mov rcx, rsi
call fcn.14000aab8
test eax, eax
je 0x140004187
mov rcx, rsi
jmp 0x140004198
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x1000
mov r8d, 1
call fcn.14000b798
test eax, eax
jle 0x140004195
mov rcx, rbx
call fcn.14000aab8
test eax, eax
jne 0x140004195
mov rcx, rsi
call fcn.14000aa8c
test eax, eax
je 0x140004130
jmp 0x1400041a2
mov rcx, rbx
call fcn.140011ad0
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14000aa28
mov rcx, rbx
call fcn.14000aa28
mov eax, edi
jmp 0x1400041c8
test rbx, rbx
je 0x1400041c3
mov rcx, rbx
call fcn.14000aa28
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008740
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004250
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x3070
call fcn.140008780
sub rsp, rax
mov rax, qword [0x140033018]
xor rax, rsp
mov qword [rsp + 0x3060], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x1400042ec
lea rcx, [0x140024890]
call fcn.140004480
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x1000
mov rsi, rax
call fcn.140002d70
xor r8d, r8d
lea rdx, [0x140024890]
xor ecx, ecx
call fcn.1400056d0
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov rdi, rax
call fcn.1400056d0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010884
mov rcx, rdi
call fcn.14000a988
mov rcx, rbx
call fcn.14000a988
jmp 0x1400042f1
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x1060]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140004e60
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x1060]
call fcn.140011ab4
mov rcx, rax
mov rdi, rax
call fcn.1400054a0
test eax, eax
je 0x1400043cf
mov rcx, rdi
call fcn.14000a988
inc ebx
cmp ebx, 5
jl 0x140004330
test rbp, rbp
je 0x1400043cb
xor r8d, r8d
lea rdx, [0x140024890]
xor ecx, ecx
call fcn.1400056d0
mov rdi, rax
test rsi, rsi
je 0x1400043b8
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call fcn.1400056d0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010884
mov rcx, rdi
call fcn.14000a988
mov rcx, rbx
call fcn.14000a988
mov rcx, rsi
call fcn.14000a988
xor eax, eax
jmp 0x14000444e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
call fcn.14000a988
xor eax, eax
jmp 0x14000444e
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.1400057b0
mov rcx, rdi
call fcn.14000a988
test rbp, rbp
je 0x140004449
xor r8d, r8d
lea rdx, [0x140024890]
xor ecx, ecx
call fcn.1400056d0
mov rdi, rax
test rsi, rsi
je 0x140004436
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call fcn.1400056d0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010884
mov rcx, rdi
call fcn.14000a988
mov rcx, rbx
call fcn.14000a988
mov rcx, rsi
jmp 0x140004444
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
call fcn.14000a988
mov eax, 1
mov rcx, qword [rsp + 0x3060]
xor rcx, rsp
call fcn.140008740
lea r11, [rsp + 0x3070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret