joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010250
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400102f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400102aa
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.14001dfc0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001dad0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14015fc98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400102ff
mov rcx, rbx
call fcn.14001dad0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140013770
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x30
mov rdx, qword [0x14015fc90]
movss xmm0, dword [0x14004f1f0]
mov rsi, rdx
comiss xmm0, dword [rdx + 0x4218]
ja 0x140013a11
cmp qword [rdx + 0x4210], 0
mov qword [rsp + 0x50], rdi
jne 0x140013805
mov r10d, 0xffffffff
lea r8, [0x14004f001]
mov ecx, r10d
lea r11, [0x14004dba0]
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x1400137d3
cmp byte [r8], r9b
jne 0x1400137d3
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 0x1400137c0
not ecx
call fcn.14000d2e0
mov qword [rsi + 0x4210], rax
mov rdx, qword [0x14015fc90]
mov rax, qword [rdx + 0x4090]
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
xor eax, eax
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
or dword [rdx + 0x3f90], 0x10
mulss xmm1, dword [0x14004f1f8]
mov qword [rdx + 0x3fe0], rax
mulss xmm2, dword [0x14004f1f8]
mov qword [rdx + 0x3fe8], rax
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdx + 0x3fcc], xmm0
lea rdx, [rsp + 0x40]
mov rax, qword [0x14015fc90]
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x14004f204]
mulss xmm2, dword [0x14004f204]
addss xmm1, dword [rcx + 8]
addss xmm2, dword [rcx + 4]
or dword [rax + 0x3f90], 1
mov ecx, 2
mov dword [rax + 0x3fa8], 0x3f000000
movss dword [rax + 0x3fa4], xmm1
mov dword [rax + 0x3fac], 0x3f000000
movss dword [rax + 0x3fa0], xmm2
mov dword [rax + 0x3f94], 1
movss xmm0, dword [rsi + 0x37e8]
movss xmm1, dword [rsi + 0x37ec]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.1400157d0
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.140006930
mov eax, dword [rsi + 0x3e40]
sub eax, 1
movsxd rdi, eax
js 0x1400139fd
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rax, qword [rsi + 0x3e48]
mov rbx, qword [rax + rdi*8]
cmp byte [rbx + 0x97], 0
je 0x1400139ee
cmp rbx, qword [rbx + 0x360]
jne 0x1400139ee
test dword [rbx + 0xc], 0x80000
jne 0x1400139ee
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140013992
nop
movzx edx, byte [rcx]
test dl, dl
je 0x14001398d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140013984
cmp byte [rax], dl
je 0x14001398d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140013970
cmp r10, rcx
jne 0x1400139cb
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x1400139a4
lea r10, str._Popup_
jmp 0x1400139cb
bt eax, 0xa
jae 0x1400139c4
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r10, str._Main_menu_bar_
test eax, eax
je 0x1400139cb
lea r10, str._Untitled_
cmp qword [rsi + 0x4200], rbx
lea r9, [rsp + 0x40]
mov rcx, r10
mov qword [rsp + 0x40], 0
sete dl
xor r8d, r8d
call fcn.14003ba90
sub rdi, 1
jns 0x140013930
mov rbx, qword [rsp + 0x48]
call fcn.14000bb20
mov ecx, 1
call fcn.140015210
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140018b00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14015fc90]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x537c], ecx
test rbx, rbx
je 0x140018b6f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140018b80
lea rdx, [0x14004f040]
mov rcx, rbx
mov rdi, rax
call fcn.14000e490
mov rbx, rax
test rax, rax
je 0x140018b6a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001c600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14015fc90]
cmp byte [rbx + 0x5379], 0
jne 0x14001c75c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c755
lea rdx, [0x14004f03c]
mov qword [rsp + 0x40], rdi
call fcn.14000e490
mov rdi, rax
test rax, rax
je 0x14001c750
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001c73d
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c73d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001c73d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c73d
cmp rsi, 0xffffffffffffffff
je 0x14001c73d
mov rax, qword [0x14015fc90]
test rax, rax
je 0x14001c6c7
inc dword [rax + 0xf4]
mov rdx, qword [0x14015fca0]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001c73d
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001c703
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001c719
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001c719
mov rdx, rsi
mov rcx, rbp
call fcn.14000fd80
mov rax, qword [0x14015fc90]
test rax, rax
je 0x14001c72b
dec dword [rax + 0xf4]
mov rdx, qword [0x14015fca0]
mov rcx, rbp
call qword [0x14005d008]
jmp 0x14001c746
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5379], 1
movss xmm0, dword [rbx + 0x537c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001c79f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x537c], xmm0
jb 0x14001c79f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c78e
call fcn.140018b00
jmp 0x14001c795
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x537c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002f7a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400eaf40]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14000dd70
mov rcx, qword [0x14015fd18]
lea rdx, [rsp + 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x30]
sub ecx, dword [rsp + 0x28]
movd xmm1, ecx
mov ecx, dword [rsp + 0x34]
sub ecx, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
xorps xmm1, xmm1
sub rax, qword [0x14015fd20]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14015fd28]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x40]
mov qword [0x14015fd20], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0xe0c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0xe0d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe0f], 0
mov byte [rdi + 0xe0e], al
call fcn.14000dd70
cmp byte [rax + 0xd3], 0
lea rbx, [rax + 0xdf4]
je 0x14002f8cd
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x38]
cvttss2si eax, dword [rax + 0xdf8]
mov dword [rsp + 0x38], ecx
mov rcx, qword [0x14015fd18]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14015fd18]
jne 0x14002f929
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002f929
mov rcx, qword [0x14015fd18]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002f929
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x70], 0
je 0x14002f936
mov eax, 0xffffffff
jmp 0x14002f93b
call fcn.14000de70
cmp dword [0x14005d01c], eax
je 0x14002f94e
mov dword [0x14005d01c], eax
call fcn.14002f980
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004a900
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14003e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015fc90]
mov rcx, qword [rax + 0x42f8]
mov r10, qword [rax + 0x3e90]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x1400263e0

Function at 0x14003e180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015fc90]
mov rcx, qword [rax + 0x42f8]
mov r9, qword [rax + 0x3e90]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x1400263e0
Function at 0x14004b1f0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14000bfec
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000c03a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000c035
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c059
mov rcx, r8
call fcn.140035420
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003c24c
int3

Function at 0x14000c060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 7
jbe 0x14000c0b5
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000c104
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c0ff
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c123
mov rcx, r8
call fcn.140035420
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003c24c
int3
Function at 0x14000e090
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
xor edi, edi
cmp qword [rcx + 0x18], 7
jbe 0x14000e0da
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000e10e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.1400028f0
jmp 0x14000e244
mov ebp, 1
mov ecx, 0x208
call fcn.1400356d8
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdi, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000e15d
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000e16a
mov r8, qword [rbx]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14000e179
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 7
jbe 0x14000e187
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000e208
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000e1af
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000e1d4
add rax, 2
test ecx, ecx
jne 0x14000e1c0
test edx, edx
je 0x14000e208
mov rcx, rsi
call fcn.140035420
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400356d8
mov rsi, rax
jmp 0x14000e150
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14000e210
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400022f0
mov rcx, rsi
call fcn.140035420
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140035400
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ed10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
sub rcx, 0xffffffffffffff80
call fcn.140032070
test eax, eax
setne dl
mov byte [rbx + 0x108], dl
test eax, eax
je 0x14000ed5a
cmp qword [rbx + 0xc8], 0x10000
jae 0x14000ed5a
lea rcx, [rbx + 0x80]
call fcn.140032470
mov eax, dword [rbx + 0x2fc]
cmp byte [rbx + 0x108], bpl
je 0x14000ee65
cmp eax, 1
je 0x14000ee42
mov dword [rbx + 0x2fc], 1
call fcn.14000d3d0
test al, al
je 0x14000eebe
lea rcx, [rbx + 0x10]
call fcn.14002c540
test al, al
je 0x14000eebe
lea rcx, [rbx + 0x10]
call fcn.14002c730
mov rcx, rbx
call fcn.140010910
add rbx, 0x4f8
cmp byte [rbx + 8], bpl
jne 0x14000eea9
cmp qword [rbx + 0x18], rbp
je 0x14000eea9
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140035454
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140012f60]
xor edx, edx
xor ecx, ecx
call fcn.140040848
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000eed1
cmp dword [rsp + 0x38], 0
je 0x14000eec6
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140034b84
test eax, eax
jne 0x14000eec6
jmp 0x14000eea9
mov eax, dword [0x14007e2c8]
inc eax
mov dword [0x14007e2c8], eax
cmp eax, 5
jle 0x14000eea9
mov dword [0x14007e2c8], ebp
mov rcx, rbx
call fcn.14000ea50
jmp 0x14000eea9
test eax, eax
je 0x14000eea9
mov dword [rbx + 0x2fc], ebp
mov rcx, rbx
call fcn.140010910
mov byte [rbx + 0x500], bpl
mov edi, 0x1388
cmp byte [rbx + 0x501], bpl
je 0x14000eea9
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14000eea9
cmp byte [rbx + 0x501], bpl
jne 0x14000ee90
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.1400403bc
nop
mov ecx, 1
call fcn.140034ae8
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140034ae8
int3
Function at 0x140010910
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x14007e860]
call fcn.140034c24
test eax, eax
jne 0x1400109bf
cmp dword [0x14007e8ac], 0x7fffffff
je 0x1400109aa
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xc0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x14007e860]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.140034c2c
mov ecx, 6
mov dword [0x14007e8ac], 0x7ffffffe
call fcn.140034ae8
int3
mov ecx, 5
call fcn.140034ae8
int3

Function at 0x140012150
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x14007e2c0]
lea r14, [0x14007e860]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.140034c24
test eax, eax
jne 0x1400122a8
cmp dword [0x14007e8ac], 0x7fffffff
je 0x140012293
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140001fe0
mov rdx, rax
mov rcx, rdi
call fcn.14000bfa0
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x14001224b
mov rcx, rbx
call fcn.1400063e0
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140012258
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.140034c2c
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [0x14007e8ac], 0x7ffffffe
mov ecx, 6
call fcn.140034ae8
int3
mov ecx, 5
call fcn.140034ae8
int3
Function at 0x140012fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov ebx, ecx
mov rsi, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400130dc
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test rbx, rbx
je 0x1400130dc
test eax, eax
je 0x1400130dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400130dc
mov rcx, qword [rsi]
mov dword [rbp - 0x20], 0x902d4c8f
mov dword [rbp - 0x1c], 0x7306aa45
mov dword [rbp - 0x18], 0x90d5db1e
mov dword [rbp - 0x14], 0xd5656f5c
mov dword [rbp - 0x10], 0x3d2f8928
mov dword [rbp - 0xc], 0xb5a565ed
mov dword [rbp - 8], 0x19df9667
mov dword [rbp - 4], 0xcfd256b4
cmp rcx, qword [rsi + 8]
je 0x14001307b
mov qword [rsi + 8], rcx
mov rax, qword [rsi + 0x10]
sub rax, rcx
mov qword [rbp + 0x38], rdi
cmp rdi, rax
jbe 0x140013097
lea rdx, [rbp + 0x38]
mov rcx, rsi
call fcn.140013120
xor ebx, ebx
test rdi, rdi
je 0x1400130d8
nop
mov rdx, qword [rsi + 8]
mov rax, rbx
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x20]
xor cl, byte [r14 + rbx]
mov byte [rbp + 0x20], cl
cmp rdx, qword [rsi + 0x10]
je 0x1400130c4
mov byte [rdx], cl
inc qword [rsi + 8]
jmp 0x1400130d0
lea r8, [rbp + 0x20]
mov rcx, rsi
call fcn.140013210
inc rbx
cmp rbx, rdi
jb 0x1400130a0
mov al, 1
jmp 0x1400130de
xor al, al
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret