joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2c9661ec0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c9664290]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2c9661edf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2c9661ee8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2c9661edf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2c9661f00
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x2c9664290]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x2c9661f20
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x2c9661f28
ret
cmp word [rdx + 0x18], 0x20b
jne 0x2c9661f20
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x2c9661f70
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x2c9661f67
test rcx, rcx
je 0x2c9661f20
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x2c9661f58
xor eax, eax
ret

Function at 0x2c9661f80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c9664290]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2c9661f9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2c9661fa8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2c9661fc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2c9664290]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c9661fe0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c9661fe8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c9661fe0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x2c9661fe0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x2c9662034
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2c9662040
add rdx, 0x28
cmp r9, rdx
jne 0x2c9662020
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x2c9662050
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x2c9664290]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2c9662072
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2c9662080
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c9662072
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2c9662072
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x2c9662072
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x2c96620d5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2c96620e8
add rdx, 0x28
cmp rdx, r10
jne 0x2c96620c0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2c96620f7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2c9662107
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2c96620de
test ecx, ecx
jg 0x2c96620f0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jnp 0x14003f673
push rax
cmp ah, byte [rbx]
int 0xcf
xchg ecx, eax
invalid
invalid
cmp dword [rbx], edx
xchg edi, eax
mov ebx, 0x3848eb50
mov ah, byte [rsi + 0x2a6e53ec]
cmp eax, 0x3a19bd4e
in al, dx
push rbx
outsb dx, byte [rsi]
sub ah, byte [rsi]
cmp eax, 0x3a19bd4e
cmp al, 5
fmul qword [rsi + 0x6f]
cli
mov cl, 0x58
jae 0x14003f68e
and cl, cl
invalid
and ah, byte [rax - 0x11]
jle 0x14003f677
lodsd eax, dword [rsi]
add dword [rcx - 0x36de21c4], ebx
mul dword [rdi - 0x1c1606c7]
cmpsd dword [rsi], dword [rdi]
cmp ecx, edi
jmp 0xd3f7455e
xchg ebx, eax
jrcxz 0x14003f6c7
xchg ebx, eax
xchg ebx, eax
pop qword [rsi + 0x6a07738f]
lahf
and dl, byte [rcx + rsi*2 - 0x5f39a5d5]
movabs al, byte [0xcaa7923941935934]
leave
and dh, ah
invalid
xchg esp, eax
stosb byte [rdi], al
jno 0x14003f629
movabs al, byte [0xcaa7923941935934]
leave
and dh, ah
and dl, byte [rdx + rbp*4 + 0x67f09071]
rcl dword [rax - 0x63]
sbb bh, byte [rbp + 0x11]
hlt
xchg edx, eax
cmpsd dword [rsi], dword [rdi]
retf 0x20c9
invalid
adc ecx, dword [rdx + rsi]
jbe 0x14003f6ba
push rdi
and dword [rax], edi
enter 0x452, 0x27
push rdx
add al, 0x27
invalid
invalid
xor dh, byte cs:[rsi - 0x6f]
loop 0x14003f63e
movabs eax, dword [0x70ee91e894a50a14]
cli
adc al, 0xa
movsd dword [rdi], dword [rsi]
xchg esp, eax
call 0x13a74e554
adc byte [rcx + 0x39943b28], ch
sar byte [rdi], cl
invalid
xchg esp, eax
cmp edx, edx
invalid
Function at 0x180004850
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x30]
call fcn.1800b9840
nop
mov r8d, 0xa
lea rdx, str.logpdftask
mov rcx, rax
call fcn.180003690
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1800052b0
nop
lea rcx, [rsp + 0x30]
call fcn.180003440
xor r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.18001b870
nop
lea rcx, [rsp + 0x30]
call fcn.1800ba1d0
nop
lea r8, str.config.ini
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180005510
nop
lea rcx, [rsp + 0x30]
call fcn.180003440
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov r8d, 0xffffffff
lea rdx, str.LogLevel
lea rcx, [0x1800dba30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800053c0
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp edi, 0xffffffff
je 0x180004a3a
mov eax, dword [0x180129780]
test al, 1
jne 0x180004969
or eax, 1
mov dword [0x180129780], eax
call fcn.1800821b0
lea rcx, [0x1800d90f0]
call fcn.1800bdcdc
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180004976
mov r8, qword [rbx]
xor edx, edx
lea rcx, [0x1801297a0]
mov rax, qword [0x1801297a0]
call qword [rax + 0x58]
mov eax, dword [0x180129780]
test al, 1
jne 0x1800049ae
or eax, 1
mov dword [0x180129780], eax
call fcn.1800821b0
lea rcx, [0x1800d90f0]
call fcn.1800bdcdc
nop
lea r8, str.rclogger
xor edx, edx
lea rcx, [0x1801297a0]
mov rax, qword [0x1801297a0]
call qword [rax + 0x50]
mov eax, dword [0x180129780]
test al, 1
jne 0x1800049ed
or eax, 1
mov dword [0x180129780], eax
call fcn.1800821b0
lea rcx, [0x1800d90f0]
call fcn.1800bdcdc
nop
mov r8d, edi
xor edx, edx
lea rcx, [0x1801297a0]
mov rax, qword [0x1801297a0]
call qword [rax + 0x60]
mov eax, dword [0x180129780]
test al, 1
jne 0x180004a28
or eax, 1
mov dword [0x180129780], eax
call fcn.1800821b0
lea rcx, [0x1800d90f0]
call fcn.1800bdcdc
nop
lea rcx, [0x1801297a0]
mov rax, qword [0x1801297a0]
call qword [rax + 0x20]
nop
mov rcx, rbx
call fcn.180005490
nop
lea rcx, [rsp + 0x58]
call fcn.180003440
nop
lea rcx, [rsp + 0x78]
call fcn.180005490
nop
lea rcx, [rsp + 0x98]
call fcn.180003440
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x180006370
Capabilities:
Get common file path
Set current directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006520
xor edx, edx
mov r8d, 0x20a
lea rcx, [r11 - 0x228]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x260], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x180006410
mov rax, qword [rdx]
mov qword [rcx], rax
movzx eax, word [rdx + 8]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call fcn.180006560
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9840
nop
cmp qword [rax + 0x18], 8
jb 0x180006498
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800064b9
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1800064d3
mov qword [rbx + 0x20], rax
jmp 0x1800064d7
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x18000651d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000651d
mov rbx, qword [rsp + 0x268]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18000651d
mov rcx, qword [rsp + 0x268]
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1800066d0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
add rsp, 0x38
ret
Function at 0x180006760
Capabilities:
Get common file path
Set current directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006910
xor edx, edx
mov r8d, 0x20a
lea rcx, [r11 - 0x228]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x260], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x180006800
mov rax, qword [rdx]
mov qword [rcx], rax
movzx eax, word [rdx + 8]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call fcn.180006940
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9840
nop
cmp qword [rax + 0x18], 8
jb 0x180006888
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800068a9
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1800068c3
mov qword [rbx + 0x20], rax
jmp 0x1800068c7
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x18000690d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000690d
mov rbx, qword [rsp + 0x268]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18000690d
mov rcx, qword [rsp + 0x268]
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180006af0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006ca0
xor edx, edx
mov r8d, 0x20a
lea rcx, [r11 - 0x228]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x260], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x180006b90
mov rax, qword [rdx]
mov qword [rcx], rax
movzx eax, word [rdx + 8]
mov word [rcx + 8], ax
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call fcn.180006cd0
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9840
nop
cmp qword [rax + 0x18], 8
jb 0x180006c18
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180006c39
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x180006c53
mov qword [rbx + 0x20], rax
jmp 0x180006c57
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x180006c9d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180006c9d
mov rbx, qword [rsp + 0x268]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180006c9d
mov rcx, qword [rsp + 0x268]
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180010910
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3f8]
sub rsp, 0x4f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x1b0]
call fcn.1800ba6f0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x30], xmm1
xor eax, eax
mov word [rsp + 0x20], ax
lea rdx, str.cad.dll
lea rcx, [rsp + 0x20]
call fcn.1800034c0
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x190]
call fcn.18001dd60
nop
lea rcx, [rsp + 0x20]
call fcn.180003440
lea rcx, [rbp + 0x190]
call fcn.18001bfb0
test al, al
jne 0x1800109c5
xor sil, sil
jmp 0x180010b2c
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x180], xmm0
lea rdx, [rsp + 0x70]
lea rax, [rbp + 0x1d0]
mov ecx, 4
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x180010a20
mov rcx, qword [rax]
mov qword [rdx], rcx
movzx ecx, word [rax + 8]
mov word [rdx + 8], cx
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.180011830
nop
lea rcx, [rsp + 0x48]
call fcn.1800b9840
nop
cmp qword [rax + 0x18], 8
jb 0x180010aa7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x48]
call fcn.180003440
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx], rax
test rax, rax
setne sil
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x180010b2c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180010b2c
mov rbx, qword [rbp + 0x188]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180010b2c
mov rcx, qword [rbp + 0x188]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp + 0x190]
call fcn.180003440
nop
lea rcx, [rbp + 0x1b0]
call fcn.180003440
movzx eax, sil
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800151e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180015217
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180015238
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18001523a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180015293
test ecx, ecx
jle 0x18001526e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180015293
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180015293
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800152c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1800152f7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov rdx, qword [rax]
test rdx, rdx
je 0x180015318
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001531a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180015380
test ecx, ecx
jle 0x18001534e
cmp rbx, rbp
mov rcx, r14
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x38]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180015380
cmp qword [rdi + 0x80], 0
je 0x180015380
mov rcx, rdi
call fcn.180015aa0
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800157c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800157ed
xor eax, eax
jmp 0x180015942
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x180015818
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x180015818
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x180015942
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180015935
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18001585b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180015886
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18001593a
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x180015935
cmp eax, 1
jle 0x1800158f5
cmp eax, 3
jne 0x180015935
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18001593a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180015923
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180015935
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18001593a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret