joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400480c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140047f90
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x140048139
lea rsi, [rcx + 0x17]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 7
jbe 0x14004811d
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x2e
lea rdx, str._trainer_settingsdebug
call fcn.1400a37e0
mov word [rdi + rsi*2], bp
jmp 0x14004815f
mov qword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea r9, str._trainer_settingsdebug
movzx r8d, byte [rsp + 0x30]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov rcx, rbx
call fcn.1400247b0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400481ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400481ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004826f
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140048240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004823b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048269
call fcn.14007d250
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007d230
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140084164
nop
call fcn.140084164
nop
int3
Function at 0x1400566f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x60]
call fcn.140019160
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e95d0]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140019160
mov byte [rsp + 0xa0], dil
mov qword [rsp + 0xa8], rbx
lea ecx, [rbp + 0x30]
call fcn.14007d284
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x80], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140042590]
xor edx, edx
xor ecx, ecx
call fcn.14008d61c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140056874
cmp dword [rsp + 0x48], ebp
je 0x140056869
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.14007c5c0
test eax, eax
jne 0x140056869
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140056831
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14005682c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056883
mov rcx, r8
call fcn.14007d250
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14007d230
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call fcn.14007bd8c
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.14007bd8c
nop
call fcn.140084164
int3
Function at 0x140058610
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x58
mov rcx, qword [0x1400e95d0]
test rcx, rcx
je 0x140058708
mov rcx, qword [rcx + 8]
lea r9, [rax + 8]
mov qword [rax - 8], rbx
lea rdx, [rax + 0x10]
xor ebx, ebx
mov dword [rax + 0x10], 0xa
mov dword [rax + 8], ebx
mov qword [rax - 0x38], rbx
lea r8d, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x1400ce650]
lea rdx, [rsp + 0x30]
movsd xmm0, qword [str.SAVE_SETTINGS]
mov rcx, qword [0x1400e95d0]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400ce654]
mov byte [rsp + 0x3c], al
mov word [rsp + 0x3e], bx
mov qword [rsp + 0x40], SafeArrayDestroy
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3d], bl
call fcn.140035390
mov rcx, qword [0x1400e95d0]
lea r9, [rsp + 0x68]
lea r8d, [rbx + 4]
mov dword [rsp + 0x60], ebx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x60], 1
jne 0x140058703
mov rcx, qword [0x1400e95d0]
lea r9, [rsp + 0x70]
lea r8d, [rbx + 4]
mov dword [rsp + 0x78], ebx
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x14005c850
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400e8d28]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x14005c9e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14005d570
nop
lea r8, [0x1400e91a0]
cmp qword [0x1400e91b8], 7
cmova r8, qword [0x1400e91a0]
mov r9, qword [0x1400e91b0]
mov rcx, rax
call fcn.140034d10
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400e8f80]
cmp qword [0x1400e8f98], 7
cmova r8, qword [0x1400e8f80]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14005c988
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c983
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ca29
call fcn.14007d250
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14005c9dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c9d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ca23
call fcn.14007d250
xor al, al
jmp 0x14005ca02
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007d230
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140084164
nop
call fcn.140084164
nop
int3
Function at 0x140067e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x140067e83
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x140067e77
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + rdi]
test al, al
jne 0x140067e61
test rdi, rdi
jne 0x140067eaf
xor eax, eax
jmp 0x140067f32
mov rdx, rcx
test r8, r8
je 0x140067e77
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x140067eaa
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140067e90
jmp 0x140067e77
mov ecx, 0x11
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140067f2a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140067f19
cmp dword [rbx + 0x14], ebp
jne 0x140067f19
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x140067f0a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400a36e0
test eax, eax
je 0x140067f21
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140067ef1
test rbx, rbx
je 0x140067f2a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140070770
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x140070863
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x1400707f8
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x1400707d0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140070030
mov dword [r14], eax
test eax, eax
jne 0x14007088b
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.140075ca0
mov dword [r14], eax
test eax, eax
jne 0x14007088b
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140070500
test eax, eax
je 0x140070863
mov ecx, dword [rsi]
test eax, ecx
jne 0x140070884
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140075d30
cmp al, 2
jne 0x140070863
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x1400707b0
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007d230
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x140070868
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140075d30
cmp al, 2
jne 0x140070902
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140070902
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x1400708ea
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x1400708c0
lea rcx, [rsp + 0x20]
call fcn.140070500
cmp eax, 0x10
jne 0x140070902
or dword [rsi], eax
xor eax, eax
jmp 0x140070868
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x140070868
Function at 0x14007ad60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007ad9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007ad9f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007ade8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400bd060]
cmp byte [rcx + rax], 0
je 0x14007ade8
dec r8
sub rdx, 1
jne 0x14007adce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007e13c
Capabilities:
Parse pe header

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

Function at 0x14008dbe4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008da77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008da77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008da77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008da77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008da77
cmp dword [rcx + 0x84], 0xe
jbe 0x14008da77
cmp dword [rcx + 0xf8], 0
je 0x14008da77
mov ecx, ebx
call fcn.14008db18
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14008d908
cmp dword [rbp + 0x20], 0
je 0x14008dac4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008dacc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008da10
Function at 0x1400a3400
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a3428
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a3428
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140007528
Capabilities:
Encode data using xor

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 rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp - 0x39]
call fcn.140008a50
movzx eax, byte [rbx + 1]
lea r10, [rbp - 0x39]
movzx r9d, byte [rbx]
lea r11, [rbp - 0x31]
movzx ecx, byte [rbx + 4]
lea r14, [0x14006a4b0]
movzx r8d, byte [rbx + 8]
shl ecx, 8
shl r9d, 8
or r9d, eax
shl r8d, 8
movzx eax, byte [rbx + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbx + 5]
or ecx, eax
mov dword [rbp - 0x39], r9d
movzx eax, byte [rbx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 9]
or r8d, eax
mov dword [rbp - 0x35], ecx
movzx eax, byte [rbx + 0xa]
movzx ecx, byte [rbx + 0xc]
shl ecx, 8
shl r8d, 8
or r8d, eax
movzx eax, byte [rbx + 0xb]
shl r8d, 8
or r8d, eax
movzx eax, byte [rbx + 0xd]
or ecx, eax
mov dword [rbp - 0x31], r8d
movzx eax, byte [rbx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0xf]
shl ecx, 8
mov ebx, 0x20
or ecx, eax
lea rax, [rbp - 0x39]
sub rsi, rax
mov dword [rbp - 0x2d], ecx
mov edx, dword [r10 + rsi]
lea r9, [r11 + 4]
xor edx, dword [r11 - 4]
xor edx, r8d
xor edx, dword [r9]
mov eax, edx
shr rax, 0x18
movzx r8d, byte [rax + r14]
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r14]
or r8d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r14]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + r14]
or r8d, ecx
mov ecx, r8d
mov eax, r8d
ror ecx, 0xe
rol eax, 0xa
xor ecx, eax
mov eax, r8d
ror eax, 8
xor ecx, eax
mov eax, r8d
rol eax, 2
xor ecx, eax
xor ecx, dword [r10]
lea r10, [r10 + 4]
xor ecx, r8d
mov r8d, dword [r9]
mov dword [r11 + 8], ecx
lea r11, [r9]
sub rbx, 1
jne 0x140007613
mov ecx, dword [rbp + 0x53]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov eax, ecx
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x28]
shr eax, 0x18
mov byte [rdi], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 1], al
mov al, byte [rbp + 0x53]
mov byte [rdi + 3], al
shr ecx, 8
mov byte [rdi + 2], cl
mov ecx, dword [rbp + 0x4f]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 5], al
mov al, byte [rbp + 0x4f]
mov byte [rdi + 7], al
shr ecx, 8
mov byte [rdi + 6], cl
mov ecx, dword [rbp + 0x4b]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 9], al
mov al, byte [rbp + 0x4b]
mov byte [rdi + 0xb], al
shr ecx, 8
mov byte [rdi + 0xa], cl
mov ecx, dword [rbp + 0x47]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0xd], al
mov al, byte [rbp + 0x47]
shr ecx, 8
mov byte [rdi + 0xf], al
mov byte [rdi + 0xe], cl
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000773c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
movzx eax, byte [rdx + 1]
lea r11, [rsp + 0x28]
movzx r8d, byte [rdx]
lea rsi, [0x140000000]
movdqu xmm0, xmmword [0x14006a5b0]
mov rdi, rcx
shl r8d, 8
movzx ecx, byte [rdx + 4]
or r8d, eax
movzx eax, byte [rdx + 2]
shl ecx, 8
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 5]
or ecx, eax
mov dword [rsp], r8d
movzx eax, byte [rdx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
mov dword [rsp + 4], ecx
movzx ecx, byte [rdx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
mov dword [rsp + 8], ecx
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0xc], ecx
xor r10d, r10d
movdqu xmm1, xmmword [rsp]
pxor xmm1, xmm0
lea ebx, [r10 + 0x20]
movdqu xmmword [rsp + 0x20], xmm1
psrldq xmm1, 8
movd eax, xmm1
mov edx, dword [r10 + rsi + 0x6a5c0]
lea r9, [r11 + 4]
xor edx, dword [r11 - 4]
xor edx, eax
xor edx, dword [r9]
mov eax, edx
shr rax, 0x18
movzx r8d, byte [rax + rsi + 0x6a4b0]
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rsi + 0x6a4b0]
or r8d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rsi + 0x6a4b0]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + rsi + 0x6a4b0]
or r8d, eax
mov ecx, r8d
mov eax, r8d
rol ecx, 0xd
ror eax, 9
xor ecx, eax
mov eax, dword [r9]
xor ecx, dword [rsp + r10 + 0x20]
xor ecx, r8d
mov dword [r11 + 8], ecx
lea r11, [r9]
mov dword [r10 + rdi], ecx
lea r10, [r10 + 4]
sub rbx, 1
jne 0x140007816
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000a2c8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a0f4
Function at 0x140002787
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.140012770
mov r15, qword [rsp + 0x28]
cmp r15, 1
jne 0x1400027c3
push qword [0x1400204d4]
pop rcx
call fcn.14000715c
and rax, rax
je 0x1400027c3
push qword [0x1400204d4]
pop rcx
call fcn.1400071f8
call fcn.14000458d
push qword [0x140020554]
pop rcx
call fcn.14000dd04
push qword [0x14002052c]
pop rcx
call sub.KERNEL32.DLL_RemoveDirectoryW
push qword [0x140020584]
pop rcx
call sub.KERNEL32.DLL_RemoveDirectoryW
mov rax, qword [rsp + 0x40]
mov qword [0x1400204cc], rax
jmp 0x140001250
Function at 0x14000375d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012770
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.DLL_LoadResource
mov qword [rsp + 0x28], rax
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.DLL_SizeofResource
mov qword [0x1400204ec], rax
push qword [0x1400204ec]
pop rcx
call fcn.14000cdc0
mov qword [rsp + 0x30], rax
push qword [0x1400204ec]
push qword [rsp + 0x38]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.14000cde0
push qword [rsp + 0x28]
pop rcx
call sub.KERNEL32.DLL_FreeResource
mov rax, qword [rsp + 0x30]
jmp 0x1400037db
add rsp, 0x38
ret

Function at 0x14000458d
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012770
mov r15, qword [0x140020504]
cmp r15, 1
jne 0x14000465c
push qword [0x1400205ec]
pop rcx
call fcn.14000d884
mov r15, rax
and r15, r15
jle 0x1400045f2
mov rcx, qword [0x1400205ec]
call fcn.14000d88c
mov rcx, qword [0x1400205ec]
call fcn.14000d8a0
or rax, rax
je 0x1400045f2
mov rbp, qword [0x1400205f4]
push qword [rbp + 0x10]
pop rcx
call fcn.14000dd04
jmp 0x1400045cf
push qword [0x1400205dc]
pop rcx
call fcn.14000d884
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x14000465c
push 5
push 0
push 1
push qword [0x1400205dc]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140008be0
mov rcx, qword [0x1400205dc]
call fcn.14000d88c
mov rcx, qword [0x1400205dc]
call fcn.14000d8a0
or rax, rax
je 0x14000465c
mov rbp, qword [0x1400205e4]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x140004639
mov rax, 1
jmp 0x140004668
add rsp, 0x38
pop r15
pop rbp
ret
Function at 0x140006018
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.DLL_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f1c0]
call sub.KERNEL32.DLL_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.DLL_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x1400071f8
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007188
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x140007234
cmp qword [rbx + 0x18], rdi
je 0x14000723b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000722b
jmp 0x140007255
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020628]
call fcn.140011fd8
lea rcx, [0x1400211f0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]

Function at 0x140007270
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007336
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x1400072fa
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x1400072f7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020628]
mov rdx, rsi
call fcn.140011fd8
jmp 0x1400072fa
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072c7
mov rdx, qword [0x14001f150]
lea rcx, [0x140020628]
mov rdi, rdx
inc rdx
mov qword [0x14001f150], rdx
lea edx, [rbx + 0x20]
call fcn.140012020
lea rcx, [0x1400211f0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret