joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017a880
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rbp, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18017a8c7
mov rdx, qword [r8]
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x18017a8e3
mov rax, rdx
cmp word [rax], 0x25
je 0x18017a91b
add rax, 2
sub rcx, 1
jne 0x18017a8d3
mov rdx, rdi
mov rcx, rbp
call fcn.180007b10
nop
mov dword [rsp + 0x20], 1
mov rax, rbp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rax, rax
je 0x18017a8e3
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x18017a8e3
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180007b10
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18017a947
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
jne 0x18017a9ca
mov rdx, rdi
mov rcx, rbp
call fcn.180007b10
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18017a9b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017a9ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017a9ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
jmp 0x18017a8f7
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.18022afbc
mov rsi, rax
cmp qword [rdi + 0x18], 8
jb 0x18017a9f5
mov rdi, qword [rdi]
lea r8d, [r14 + 1]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18017aa2f
cmp eax, r14d
ja 0x18017aa2f
mov eax, eax
mov word [rsi + rax*2], r15w
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x18017aa15
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180007110
mov rcx, rsi
call fcn.18022acec
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov dword [rsp + 0x20], 1
jmp 0x18017a9b1
Function at 0x180186130
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov edi, r12d
mov qword [rsp + 0x58], r12
mov r14d, InitCommonControls
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x48], dil
cmp qword [rcx], r12
jne 0x1801861d0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x48], r12b
jmp 0x18018627b
mov r9, qword [r15]
mov edx, 1
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
mov rax, r14
sub rax, rdi
cmp rbx, rax
ja 0x180186228
lea rax, [rdi + rbx]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x48]
add rdi, rax
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18018623f
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18011fd00
cmp rbx, 0x200
jne 0x180186257
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
jmp 0x1801861d0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], InitCommonControls
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x30], 1
mov rax, rsi
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x60], InitCommonControls
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18022a7d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180189c00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [rcx + 8], 0
mov rbx, rcx
je 0x180189c36
mov r8d, 6
lea rdx, str.log4z_already_start__r_n
add rcx, 0xfffffffffffffff0
call fcn.1801890e0
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x18], rax
lea r9, [rbx - 0x10]
lea r8, [0x180186000]
xor edx, edx
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180189c99
mov qword [rbx - 8], rax
mov edx, 0xbb8
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180189ca5
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, str.log4z:_create_log4z_thread_error___r_n
call fcn.180185e30
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x18019c4b0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x70]
call fcn.1801d4280
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.180006f30
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800f8180
nop
lea rcx, [rsp + 0x90]
call fcn.180006f10
lea rcx, [rsp + 0x50]
call fcn.1800f3cf0
movzx eax, al
test eax, eax
jne 0x18019c552
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.180006f10
nop
lea rcx, [rsp + 0x70]
call fcn.180006f10
movzx eax, byte [rsp + 0x30]
jmp 0x18019c686
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.180007a40
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x130]
lea r8, [0x180266728]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.Application
lea rcx, [rsp + 0xb0]
call fcn.180006f30
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.1800f8180
nop
lea rcx, [rsp + 0xb0]
call fcn.180006f10
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.180006f30
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.1800f8180
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x360]
call fcn.180007ab0
nop
lea rcx, [rsp + 0x110]
call fcn.180006f10
nop
lea rcx, [rsp + 0xd0]
call fcn.180006f10
mov rcx, qword [rsp + 0x360]
call fcn.1800f3bb0
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0xf0]
call fcn.180006f10
nop
lea rcx, [rsp + 0x50]
call fcn.180006f10
nop
lea rcx, [rsp + 0x70]
call fcn.180006f10
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x350
pop rdi
ret

Function at 0x18019c9a0
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xc8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x90]
call fcn.1801d43e0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x30]
call fcn.180006f30
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800f8180
nop
lea rcx, [rsp + 0x30]
call fcn.180006f10
lea rcx, [rsp + 0x70]
call fcn.180007a40
mov r9, rax
mov r8d, dword [rsp + 0xd0]
lea rdx, str.Status
lea rcx, [0x1802671b0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18019ca6a
lea rcx, [rsp + 0x50]
call fcn.180006f70
nop
lea rcx, [rsp + 0x50]
call fcn.18019c430
movzx eax, al
test eax, eax
jne 0x18019ca60
mov dword [rsp + 0x20], InitCommonControls
lea rcx, [rsp + 0x50]
call fcn.180006f10
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x70]
call fcn.180006f10
nop
lea rcx, [rsp + 0x90]
call fcn.180006f10
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0xc8
ret
Function at 0x18019e310
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
call fcn.18019dd30
mov rax, rbx
add rax, rax
mov rcx, qword [rdi + rax*8]
test rcx, rcx
je 0x18019e345
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18019d9e0
mov rbx, qword [rsp + 0x30]
mov eax, 2
add rsp, 0x20
pop rdi
ret

Function at 0x1801a0eb0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x30], 0
mov eax, 0x51
mov word [rsp + 0x80], ax
mov eax, 0x69
mov word [rsp + 0x82], ax
mov eax, 0x6e
mov word [rsp + 0x84], ax
mov eax, 0x67
mov word [rsp + 0x86], ax
mov eax, 0x6e
mov word [rsp + 0x88], ax
mov eax, 0x69
mov word [rsp + 0x8a], ax
mov eax, 0x61
mov word [rsp + 0x8c], ax
mov eax, WSAStartup
mov word [rsp + 0x8e], ax
mov eax, 0x20
mov word [rsp + 0x90], ax
mov eax, 0x43
mov word [rsp + 0x92], ax
mov eax, 0x68
mov word [rsp + 0x94], ax
mov eax, WSAStartup
mov word [rsp + 0x96], ax
mov eax, WSAStartup
mov word [rsp + 0x98], ax
mov eax, 0x6d
mov word [rsp + 0x9a], ax
mov eax, 0x65
mov word [rsp + 0x9c], ax
xor eax, eax
mov word [rsp + 0x9e], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.180006f30
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1801a1e10
nop
lea rcx, [rsp + 0x60]
call fcn.180006f10
lea rcx, [rsp + 0x40]
call fcn.180006ed0
movzx eax, al
test eax, eax
je 0x1801a1021
lea rdx, [0x180266728]
mov rcx, qword [rsp + 0x2d0]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x2d0]
jmp 0x1801a114c
lea rcx, [rsp + 0x40]
call fcn.1800f3cf0
movzx eax, al
test eax, eax
jne 0x1801a1068
lea rdx, [0x180266728]
mov rcx, qword [rsp + 0x2d0]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x2d0]
jmp 0x1801a114c
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180007a40
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xa0]
lea r8, [0x180266728]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xa0]
lea rcx, [0x180266728]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1801a10de
add rax, 2
test dx, dx
jne 0x1801a10c8
xor eax, eax
jmp 0x1801a10e3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1801a111a
lea rdx, [0x180266728]
mov rcx, qword [rsp + 0x2d0]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x2d0]
jmp 0x1801a114c
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2d0]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x2c0
pop rdi
ret
Function at 0x1801a1b70
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1801a1c90
nop
lea rcx, [rsp + 0x40]
call fcn.1800f3cf0
movzx eax, al
test eax, eax
jne 0x1801a1bfc
lea rdx, [0x180266728]
mov rcx, qword [rsp + 0x290]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x290]
jmp 0x1801a1c73
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180007a40
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x180266728]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x290]
call fcn.180006f30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180006f10
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x280
pop rdi
ret
Function at 0x1801a5180
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], 7
mov word [rdx], di
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x48]
call fcn.1801a4fa0
nop
lea rcx, [rsp + 0x48]
call fcn.1800f3cf0
test al, al
je 0x1801a5269
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x70]
lea r8, [0x180266728]
lea rdx, str.Version
lea rcx, str.Plugin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1801a5250
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180007110
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1801a52ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801a52a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801a52a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
Function at 0x1801a7660
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], 7
mov word [rdx], di
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x48]
call fcn.1801a4fa0
nop
lea rcx, [rsp + 0x48]
call fcn.1800f3cf0
test al, al
je 0x1801a7749
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x70]
lea r8, [0x180266728]
lea rdx, str.CoreVersion
lea rcx, str.Plugin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1801a7730
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180007110
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1801a778e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801a7789
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801a7789
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
Function at 0x1801a7ca0
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, r8
mov rbx, rdx
mov rcx, rdx
call fcn.1800f3bb0
test al, al
je 0x1801a7ce7
mov rcx, rbx
call fcn.1800f43b0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x27]
call fcn.180023150
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.180023150
nop
xor edi, edi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x17], xmm0
mov dword [rbp - 7], edi
mov word [rbp - 3], di
mov eax, 0x614
mov word [rbp - 0x19], ax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb ebx, ebx
and ebx, 8
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1801a7da5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801a7da0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801a7da0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1801a7df9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801a7df4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801a7df4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], di
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18022a7d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1801c5b30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
xor ebx, ebx
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov r14, r9
mov qword [rsp + 0x50], rdi
mov rsi, rdx
mov qword [rsp + 0x40], r15
mov edi, r8d
mov r15, rcx
mov ebp, ebx
jne 0x1801c5b75
mov ebx, 1
jmp 0x1801c5bc6
mov qword [rsp + 0x48], r12
mov r12d, 0x100000
mov rcx, qword [r15 + 0x20]
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], ebx
cmp edi, r12d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
cmova r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x30]
add ebp, ecx
test eax, eax
je 0x1801c5bbc
test ecx, ecx
je 0x1801c5bc1
add rsi, rcx
sub edi, ecx
jne 0x1801c5b80
jmp 0x1801c5bc1
mov ebx, 1
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov eax, ebx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test r14, r14
je 0x1801c5bdf
mov dword [r14], ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret

Function at 0x1801c6660
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x1801c669b
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1801c669b
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x20]
call fcn.1801cf800
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1801c84d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor dil, dil
mov byte [rsp + 0x30], dil
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1801c81d0
cmp byte [rsi + 0x40], dil
je 0x1801c8558
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801c8554
test al, 0x10
jne 0x1801c8554
call fcn.180118330
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180118650
test al, al
jne 0x1801c8558
xor al, al
jmp 0x1801c85d5
mov qword [rsi + 0x48], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1801c85d5
lea rdx, str.ExtractArchive
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1801c85b2
mov qword [rsi + 0x48], rbx
mov qword [rsp + 0x20], rsi
lea r9, [0x1801c8180]
lea r8, [0x180266728]
mov rdx, r15
mov rcx, r14
call rax
test eax, eax
sete dil
mov byte [rsp + 0x30], dil
mov qword [rsi + 0x48], 0
jmp 0x1801c85c3
test rbx, rbx
je 0x1801c85d1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, dil
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801c8600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor sil, sil
mov byte [rsp + 0x30], sil
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1801c81d0
cmp byte [rdi + 0x40], sil
je 0x1801c868b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801c8684
test al, 0x10
jne 0x1801c8684
call fcn.180118330
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180118650
test al, al
jne 0x1801c868b
xor al, al
jmp 0x1801c8713
mov qword [rdi + 0x48], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1801c8713
lea rdx, str.ExtractArchive2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1801c86f0
mov qword [rdi + 0x48], rbx
mov eax, dword [rdi + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, [0x1801c8180]
lea r8, [0x180266728]
mov rdx, r15
mov rcx, r14
call r10
test eax, eax
sete sil
mov byte [rsp + 0x30], sil
mov qword [rdi + 0x48], 0
jmp 0x1801c8701
test rbx, rbx
je 0x1801c870f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, sil
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x1801cf800
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
cmp rcx, 0xffffffffffffffff
je 0x1801cf85e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1801cf849
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1801cf85e
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
jmp 0x1801cf860
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret