joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb404
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14012ea60]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400bb45b
cmp word [rdx], r13w
jne 0x1400bb45b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400bb460
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400bb585
mov r11d, SafeArrayDestroy
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400bb5a6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400bb499
mov rdx, r9
mov word [rbx], cx
jmp 0x1400bb4c0
cmp r9, r8
jae 0x1400bb4d0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400bb47a
jmp 0x1400bb585
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bb57a
cmp dword [rsp + 0x80], esi
je 0x1400bb57a
lea r8, [0x14012ea60]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400bb552
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400bb522
mov word [rbx], r13w
jmp 0x1400bb582
mov ecx, SafeArrayDestroy
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400bb52f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400bb582
cmp word [rsp + 0x70], r13w
jne 0x1400bb55f
cmp rbx, r14
je 0x1400bb51c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400badc8
cmp word [rsp + 0x70], r13w
je 0x1400bb585
mov ecx, SafeArrayDestroy
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14012ea60]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400bb57f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400bb585
Function at 0x1400c0e70
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400b6d44
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400c0f11
cmp ebx, dword [rsp + 0x30]
je 0x1400c0f0a
test esi, esi
je 0x1400c0f0a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c0ee5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c0ef2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c0ecf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c0ef6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c0f13
mov eax, 1
jmp 0x1400c0f13
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c1fa4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c202b
mov rsi, rbx
cmp word [rax], bp
je 0x1400c1fea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c1fd4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c1fd0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b7340
mov rdi, rax
test rax, rax
je 0x1400c2018
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400c7030
mov rbp, rdi
xor ecx, ecx
call fcn.1400b7304
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6290
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400badc8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400badc8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400c63e0
cmp rax, 0xffffffffffffffff
je 0x1400c63e0
xor edi, edi
test rbp, rbp
jle 0x1400c638b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400b8dcc
mov rbx, rax
test rax, rax
jne 0x1400c6318
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400c6381
mov edx, 0x8000
mov ecx, r14d
call fcn.1400b6648
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400ba80c
cmp eax, 0xffffffff
je 0x1400c6361
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400c6328
mov edx, r15d
mov ecx, r14d
call fcn.1400b6648
jmp 0x1400c6381
cmp byte [rsi + 0x38], dil
je 0x1400c6378
cmp dword [rsi + 0x34], 5
jne 0x1400c6378
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
cmp byte [rsi + 0x30], dil
je 0x1400c6381
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400b7304
jmp 0x1400c63f4
jns 0x1400c63f4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400badc8
cmp rax, 0xffffffffffffffff
jne 0x1400c63ac
cmp byte [rsi + 0x30], dil
je 0x1400c63f4
mov edi, dword [rsi + 0x2c]
jmp 0x1400c63f4
mov ecx, r14d
call fcn.1400c25f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400c63f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayDestroy
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
jmp 0x1400c63f4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400c63ed
mov eax, dword [rsi + 0x2c]
jmp 0x1400c63f2
mov eax, SafeArrayUnaccessData
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400badc8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400c6b80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c6ba8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c6ba8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002480
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0xc0], 0
mov rdi, r8
mov esi, edx
mov rbx, rcx
je 0x1400024b2
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rcx + 0xc4], 0
mov r8, r9
add rcx, 0xc8
mov edx, 0x200
call fcn.1401b25d8
lea rcx, [rbx + 0x2d0]
mov r8, rdi
mov edx, 0x104
call fcn.1401b25d8
mov dword [rbx + 0x4dc], esi
mov dword [rbx + 0x4d8], 0x61a8
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbx + 0x4e0], eax
mov r9, rbx
lea r8, [0x1400036f0]
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call fcn.1401b67b0
mov ecx, 0x1e
mov qword [rbx + 0x4e8], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400038a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx eax, byte [rcx + 0xc0]
mov rdi, r8
mov esi, edx
mov rbx, rcx
test al, al
je 0x1400038d4
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rcx + 0xc4], 0
mov r8, r9
add rcx, 0xc8
mov edx, 0x200
call fcn.1401b25d8
lea rcx, [rbx + 0x2d0]
mov r8, rdi
mov edx, 0x104
call fcn.1401b25d8
mov dword [rbx + 0x4dc], esi
mov dword [rbx + 0x4d8], 0x4e20
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbx + 0x4e0], eax
mov r9, rbx
lea r8, [0x140005650]
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call fcn.1401b67b0
mov ecx, 0x1e
mov qword [rbx + 0x4e8], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140004870
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1402878c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx eax, byte [rcx + 0xc0]
mov rbx, rcx
test al, al
je 0x1400048e4
mov rcx, qword [rcx + 0xb8]
lea r9, [rsp + 0x38]
xor eax, eax
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [rbx + 0x60]
mov r9d, dword [rsp + 0x30]
lea rdx, str.ulMaxWriteProgress_d__ulCurrentWriteProgress_d_n
mov r8d, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.140003800
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8d, dword [rbx + 0x4d8]
xor edx, edx
sub eax, dword [rbx + 0x4e0]
xorps xmm0, xmm0
div r8d
movzx eax, byte [rbx + 0xc0]
xorps xmm1, xmm1
mov ecx, edx
cvtsi2sd xmm0, rcx
lea ecx, [r8 - 1]
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
test al, al
je 0x140004930
movsd xmm1, qword [0x1401e0d60]
call fcn.1401b689c
jmp 0x140004938
movsd xmm0, qword [0x1401e0d60]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401adf80
add rsp, 0x260
pop rbx
ret

Function at 0x140004960
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x278
mov rax, qword [0x1402878c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx eax, byte [rcx + 0xc0]
mov r10, rcx
test al, al
je 0x140004a41
mov rcx, qword [rcx + 0xb8]
lea r9, [rsp + 0x38]
xor eax, eax
lea r8, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x60]
mov r9d, dword [rsp + 0x30]
test r9d, r9d
je 0x140004a26
mov ecx, dword [rsp + 0x34]
lea rdx, str.dProgress_.2f__ulMaxWriteProgress_d__ulCurrentWriteProgress_d_n
movaps xmmword [rsp + 0x260], xmm6
xorps xmm1, xmm1
xorps xmm6, xmm6
mov dword [rsp + 0x20], ecx
cvtsi2sd xmm1, r9
cvtsi2sd xmm6, rcx
lea rcx, [rsp + 0x40]
divsd xmm6, xmm1
movaps xmm2, xmm6
movq r8, xmm2
call fcn.140003800
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401adf80
add rsp, 0x278
ret
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401adf80
add rsp, 0x278
ret
movsd xmm0, qword [0x1401e0d60]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401adf80
add rsp, 0x278
ret
Function at 0x140006a90
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x1402878c8]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r8, qword [rcx + 8]
mov rsi, rdx
mov rdi, rcx
test r8, r8
jne 0x140006c12
lea rax, [rsp + 0x38]
mov r9d, 0x20119
lea rdx, str.SoftwareClasseshttp_shellopencommand
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006c5f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x450]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9b, r9b
lea rax, [rsp + 0x450]
xor r10d, r10d
mov rbx, 0xffffffffffffffff
mov r8d, r10d
mov rdx, rbx
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], r8w
jne 0x140006b50
test edx, edx
jle 0x140006b94
mov rax, r10
movzx ecx, word [rsp + rax + 0x450]
cmp cx, 0x20
jne 0x140006b76
test r9b, r9b
je 0x140006b94
jmp 0x140006b83
cmp cx, 0x22
jne 0x140006b83
test r9b, r9b
sete r9b
mov word [rsp + rax + 0x50], cx
inc r8d
add rax, 2
cmp r8d, edx
jl 0x140006b61
movsxd rax, r8d
add rax, rax
cmp rax, 0x400
jae 0x140006c63
mov word [rsp + rax + 0x50], r10w
mov rcx, rbx
lea rax, [rsp + 0x50]
inc rcx
cmp word [rax + rcx*2], r10w
jne 0x140006bb4
cmp rcx, 5
jb 0x140006c5f
inc rcx
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.14002174c
mov qword [rdi + 8], rax
test rax, rax
je 0x140006c5f
lea rcx, [rsp + 0x50]
cmp word [rcx + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140006bf1
lea rdx, [rbx + 1]
mov rcx, rax
lea r8, [rsp + 0x50]
call fcn.1401b25d8
mov r8, qword [rdi + 8]
lea rax, [0x1401e0d78]
mov dword [rsp + 0x28], 5
mov r9, rsi
mov qword [rsp + 0x20], rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401adf80
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor al, al
jmp 0x140006c3a
call fcn.1401ae12c
int3
Function at 0x140009180
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
movzx eax, byte [rcx + 0x420]
mov rdi, rdx
mov rbx, rcx
test al, al
je 0x1400091a8
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rcx + 0x418], 0
mov edx, 0x200
add rcx, 8
call fcn.1401b25d8
mov dword [rbx + 0x410], 0x4e20
mov rax, qword [rdi + 0x650]
cmp dword [rax + 0x208], 2
jne 0x140009200
mov eax, dword [rax + 0x20c]
cmp eax, 2
jne 0x1400091f1
mov dword [rbx + 0x410], 0x2ee0
jmp 0x140009200
cmp eax, 1
jne 0x140009200
mov dword [rbx + 0x410], 0x1194
lea rax, [rsp + 0x40]
mov qword [rbx], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140009330]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.1401b67b0
mov ecx, 0x1e
mov qword [rbx + 0x408], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1400093d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, qword [rsp + 0x80]
mov rdi, r9
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
mov rbx, 0xffffffff80000001
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009462
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140009474
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rbx, 0xffffffff80000002
je 0x140009488
mov rbx, 0xffffffff80000002
jmp 0x140009410
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], r15d
jne 0x140009488
mov eax, 1
jmp 0x14000948a
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000cbb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.140035a80
mov rsi, rax
test rax, rax
jne 0x14000cbe5
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14000cce2
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000cce2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000cce2
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000cc6e
cmp rbx, rcx
jae 0x14000cce2
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000cc55
cmp rbx, rcx
jae 0x14000cce2
movzx edi, word [rbx]
test di, di
je 0x14000cce2
mov r10, qword [r14]
mov ebp, 1
movzx esi, di
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x14000cca9
mov edx, esi
mov rcx, r14
call fcn.1400067a0
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401b9ee4
xor ecx, ecx
test eax, eax
je 0x14000ccce
cmp eax, 0xc
je 0x14000cd09
cmp eax, 0x50
jne 0x14000cd03
mov rax, qword [r14]
cmp esi, dword [rax - 0xc]
jg 0x14000cd0f
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax + rbx*2], cx
jmp 0x14000cce6
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400217b0
int3
call fcn.1400217d4
int3
mov ecx, 0x80070057
call fcn.1400060f0
int3
Function at 0x140013050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0x2b8]
test rcx, rcx
je 0x140013081
mov edx, 1
call fcn.140006de0
mov qword [rsi + 0x2b8], 0
lea r8, [0x1401e1c7c]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1401b77e4
test eax, eax
je 0x1400130a6
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x40], rdi
lea r8d, [rdx + 2]
call fcn.1401b7e98
mov rcx, qword [rsp + 0x30]
call fcn.1401b8408
movsxd rbx, eax
mov rdi, rbx
cmp rbx, 0x80
ja 0x1400130f0
mov rcx, qword [rsp + 0x30]
call fcn.1401b78c0
mov rdi, qword [rsp + 0x40]
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov rcx, rdi
mov qword [rsp + 0x38], rbp
call fcn.14002174c
mov rcx, qword [rsp + 0x30]
mov rbp, rax
test rax, rax
je 0x14001313f
xor r8d, r8d
xor edx, edx
call fcn.1401b7e98
mov r9, qword [rsp + 0x30]
mov r8, rdi
mov edx, 1
mov rcx, rbp
call fcn.1401b7bb8
cmp eax, ebx
jge 0x140013149
mov edx, 1
mov rcx, rbp
call fcn.140006de0
mov rcx, qword [rsp + 0x30]
call fcn.1401b78c0
jmp 0x14001326c
mov rcx, qword [rsp + 0x30]
call fcn.1401b78c0
xor r9d, r9d
test ebx, ebx
jle 0x1400131d5
dec rdi
lea r8d, [r9 + 1]
shr rdi, 2
lea rdx, [rbp + 1]
inc rdi
nop dword [rax]
lea eax, [r8 + 2]
cmp eax, ebx
jge 0x14001317e
movzx ecx, byte [rdx + 2]
jmp 0x140013180
xor ecx, ecx
shl ecx, 0x18
lea eax, [r8 + 1]
cmp eax, ebx
jge 0x140013191
movzx eax, byte [rdx + 1]
jmp 0x140013193
xor eax, eax
shl eax, 0x10
or ecx, eax
cmp r8d, ebx
jge 0x1400131a2
movzx eax, byte [rdx]
jmp 0x1400131a4
xor eax, eax
shl eax, 8
or ecx, eax
lea eax, [r8 - 1]
cmp eax, ebx
jge 0x1400131b7
movzx eax, byte [rdx - 1]
jmp 0x1400131b9
xor eax, eax
or ecx, eax
add r8d, 4
add r9d, ecx
add rdx, 4
sub rdi, 1
jne 0x140013170
test r9d, r9d
jne 0x14001325f
movups xmm0, xmmword [rbp]
movups xmmword [rsi + 0x2c4], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x2d4], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rsi + 0x2e4], xmm0
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rsi + 0x2f4], xmm1
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rsi + 0x304], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rsi + 0x314], xmm1
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rsi + 0x324], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rsi + 0x334], xmm1
cmp dword [rsi + 0x2cc], 0
jne 0x14001325f
cmp dword [rsi + 0x2c8], 0x80
jne 0x14001325f
cmp dword [rsi + 0x2c4], 0x47465746
jne 0x14001325f
mov dword [rsi + 0x2c0], ebx
mov al, 1
mov qword [rsi + 0x2b8], rbp
jmp 0x14001326e
mov edx, 1
mov rcx, rbp
call fcn.140006de0
xor al, al
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1400149c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp dword [rcx + 0x310], r8d
jne 0x140014a68
cmp dword [rcx + 0x328], r9d
jne 0x140014a68
cmp r8d, 7
jne 0x140014a68
lea eax, [r9 - 1]
cmp eax, 1
ja 0x140014a68
mov r8, rdx
mov edx, 0x104
call fcn.1401b25d8
cmp qword [rbx + 0x380], 0
mov dword [rbx + 0x388], 0
mov qword [rbx + 0x348], 0
je 0x140014a68
mov dword [rbx + 0x358], 0x1001
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbx + 0x354], eax
mov r9, rbx
lea r8, [0x140014e60]
xor edx, edx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call fcn.1401b67b0
mov qword [rbx + 0x210], rax
mov al, 1
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x140015360
Capabilities:
Delete file
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, r8
mov qword [rsp + 0x58], 0
lea r8, [0x1401e1c7c]
mov rdi, rdx
lea rcx, [rsp + 0x58]
call fcn.1401b77e4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400154a6
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x20], r14
lea r8d, [rdx + 2]
call fcn.1401b7e98
mov rcx, qword [rsp + 0x58]
call fcn.1401b8408
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
movsxd rbp, eax
call fcn.1401b7e98
lea ecx, [rbp + 1]
movsxd r14, ecx
mov rcx, r14
call fcn.14002174c
mov rbx, rax
test rax, rax
jne 0x1400153f0
mov rcx, qword [rsp + 0x58]
call fcn.1401b78c0
jmp 0x140015497
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.1401af400
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401b7bb8
mov rcx, qword [rsp + 0x58]
call fcn.1401b78c0
lea r8, [0x1401e417c]
mov qword [rsp + 0x58], 0
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401b77e4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x140015450
lea edx, [rcx + 1]
mov rcx, rbx
call fcn.140006de0
jmp 0x140015497
mov r8, rbx
lea rdx, [0x1401e42ec]
call fcn.140015fb0
mov rcx, qword [rsp + 0x58]
lea r8, str.SMCH_
lea rdx, str.____s_n
call fcn.140015fb0
mov rcx, qword [rsp + 0x58]
call fcn.1401b78c0
mov edx, 1
mov rcx, rbx
call fcn.140006de0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret