joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180057100
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x1800571db
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x18005714e
cmp rbx, qword [0x18006b008]
ja 0x18005714e
sub rbx, 0x8000000
jmp 0x1800571d2
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800571db
cmp dword [rsp + 0x40], 0x10000
jne 0x1800571b6
cmp qword [rsp + 0x38], 0x10000
jb 0x1800571b6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800571dd
sub rbx, 0x10000
jmp 0x1800571d2
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180057130
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1800571f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180057212
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x1800572cd
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x18005723e
cmp rbx, qword [0x18006b008]
ja 0x18005723e
add rbx, 0x8000000
jmp 0x1800572c4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800572cd
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800572a9
cmp rcx, 0x10000
jb 0x1800572a9
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800572cf
add rbx, 0x10000
jmp 0x1800572c4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x1800572c4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180057220
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800572e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180057302
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18005731e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180057335
cmp byte [rcx + 1], 0x25
jne 0x180057379
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180057341
cmp al, 0xe9
jne 0x180057379
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180057364
cmp rcx, 0xffffffff80000000
jae 0x18005735b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180057379
mov rsi, 0xfffffffffff80000
jmp 0x180057379
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180057379
mov edi, 0x80000
mov rdx, qword [0x18006b758]
mov rax, qword [0x18006b750]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x1800573a0
test rax, rax
je 0x1800573b7
mov rdx, rax
mov qword [0x18006b758], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1800573b7
cmp rcx, rdi
jb 0x1800573b7
cmp rcx, rsi
jbe 0x18005750a
mov qword [0x18006b758], rax
mov rdx, rax
test rax, rax
je 0x180057402
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x1800573ec
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1800573ec
cmp rax, rdi
jb 0x1800573ec
cmp rax, rsi
jbe 0x18005750a
mov rdx, qword [rdx + 8]
mov qword [0x18006b758], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x1800573d0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18005742c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.180057100
mov rdx, rax
test rax, rax
jne 0x1800574b8
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180057452
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.1800571f0
mov rdx, rax
test rax, rax
jne 0x1800574b8
cmp rbx, 0x40000000
jbe 0x180057472
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.1800571f0
mov rdx, rax
test rax, rax
jne 0x1800574b8
cmp rbx, rbp
jae 0x18005748e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.180057100
mov rdx, rax
test rax, rax
jne 0x1800574b8
mov rdx, rbx
mov rcx, rdi
call fcn.180057100
mov rdx, rax
test rax, rax
jne 0x1800574b8
mov rdx, rsi
mov rcx, rbx
call fcn.1800571f0
mov rdx, rax
test rax, rax
je 0x180057541
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x18006b758], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x18006b750]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x18006b750], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x1800574f2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180057541
cmp rax, rsi
ja 0x180057541
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x18005b570]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180057543
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180057790
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1800577be
xor al, al
jmp 0x180057800
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x1800577cf
xor al, al
jmp 0x180057800
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1800577f6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1800577f6
mov al, 1
jmp 0x180057800
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x180057ce0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18006b768], eax
je 0x180057d07
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x18006b76c]
test eax, eax
jne 0x180057e47
test rbp, rbp
jne 0x180057d26
mov eax, 0x57
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x180057d42
cmp qword [rsi], 0
jne 0x180057d4e
mov dword [0x18006b76c], 6
mov qword [0x18006b770], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.180058d30
mov rdi, rax
test rax, rax
jne 0x180057d74
mov ebx, 8
jmp 0x180057e1c
mov rcx, qword [rsi]
xor edx, edx
call fcn.180057c30
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.180057c30
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x180057e0e
cmp rdx, 0x1e
ja 0x180057e0e
cmp qword [rbx + 0x50], rax
jne 0x180057e0e
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180057dd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180057e1c
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x18006b780]
mov qword [rdi], rax
xor eax, eax
mov qword [0x18006b780], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x18006b760], 0
mov ebx, 9
jne 0x180057e27
mov dword [0x18006b76c], ebx
test rdi, rdi
je 0x180057e34
mov edx, 0x30
mov rcx, rdi
call fcn.180058d74
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x18006b770], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180057e50
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x18006b768], 0
jne 0x180057ef7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x18006b768], ecx
jne 0x180057ef7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x18006b750]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x18006b780], rdi
mov qword [0x18006b778], rdi
mov qword [0x18006b770], rdi
test rbx, rbx
je 0x180057ee0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180057ed8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180057eb0
jmp 0x180057ee0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18006b76c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180058510
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18006b76c]
mov rdi, rcx
test eax, eax
jne 0x1800585b5
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x18005853a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180058d30
mov rbx, rax
test rax, rax
jne 0x180058558
mov edi, 8
jmp 0x18005857b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180058599
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180058d74
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18006b76c], edi
mov qword [0x18006b770], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18006b778]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x18006b778], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18009eec8
Capabilities:
Encode data using base64

Disassembly:
ror bl, 2
movsx r8d, bx
inc ecx
mov byte [rsp + rax - 0x1b843814], 0x34
neg ecx
lea r11, [rax - 0x72f244ca]
ror ebx, 0x49
rol rax, 0x7b
not ecx
add r8w, r8w
neg ecx
call fcn.1800ad6ac
mov esi, 0xbf0c5192
push rsi
movzx eax, byte [rdi]
lea r8, [rsi*2 + 0x16a5f819]
shr r8d, 0x64
lea rdi, [r8 + rdi - 0x94be9b2]
movsx r11d, si
lea rbx, [r11 + r11*8 + 0x6700b819]
or ebx, dword [rsp + r8 - 0x94be9b0]
xor al, r9b
neg al
jmp 0x1800cf208
add al, 0xb4
not r8w
xor al, 0x32
dec al
mov ecx, r11d
not al
not dword [rsp + r8*2 - 0x12962c94]
sal ebx, cl
neg al
call fcn.1800bde9d
mov word [rsp + rax + 0x3189008f], si
mov qword [rsp + rax + 0x3189008e], r9
ror cx, 0xe6
not rcx
xor dword [rsp + rcx + 0x20808c1], ebx
call fcn.1800ce983

Function at 0x1800a0d59
Capabilities:
Encode data using base64

Disassembly:
rol r11d, 1
neg r11d
call fcn.1800a3757

Function at 0x1800cf1f3
Capabilities:
Encode data using base64

Disassembly:
mov esi, dword [rbp + r11 - 0x408]
lea rbp, [rbp + r11 - 0x404]
call fcn.1800c1588
Function at 0x180004880
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
lea rcx, [rbp - 0x39]
call fcn.1800b9550
nop
lea r8d, [rbx + 0xf]
lea rdx, str.logpdfconverter
mov rcx, rax
call fcn.1800036c0
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.180005300
nop
lea rcx, [rbp - 0x39]
call fcn.180003470
mov r8d, 0xfde9
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.18001b850
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x49], xmm1
mov word [rbp - 0x59], bx
lea rdx, str.2345PdfConverter
lea rcx, [rbp - 0x59]
call fcn.1800034f0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.18008d990
nop
lea r8, str.config.ini
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.180005560
nop
lea rcx, [rbp - 0x39]
call fcn.180003470
nop
lea rcx, [rbp - 0x59]
call fcn.180003470
lea r9, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r9, qword [rbp - 0x11]
lea r8d, [rbx - 1]
lea rdx, str.LogLevel
lea rcx, [0x1800d87d0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x39]
call fcn.180005410
mov rbx, rax
mov qword [rbp - 0x61], rax
cmp edi, 0xffffffff
je 0x180004a90
mov eax, dword [0x180125750]
test al, 1
jne 0x1800049bf
or eax, 1
mov dword [0x180125750], eax
call fcn.1800820d0
lea rcx, [0x1800d6a80]
call fcn.1800bb44c
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800049cc
mov r8, qword [rbx]
xor edx, edx
lea rcx, [0x180125770]
mov rax, qword [0x180125770]
call qword [rax + 0x58]
mov eax, dword [0x180125750]
test al, 1
jne 0x180004a04
or eax, 1
mov dword [0x180125750], eax
call fcn.1800820d0
lea rcx, [0x1800d6a80]
call fcn.1800bb44c
nop
lea r8, str.rclogger
xor edx, edx
lea rcx, [0x180125770]
mov rax, qword [0x180125770]
call qword [rax + 0x50]
mov eax, dword [0x180125750]
test al, 1
jne 0x180004a43
or eax, 1
mov dword [0x180125750], eax
call fcn.1800820d0
lea rcx, [0x1800d6a80]
call fcn.1800bb44c
nop
mov r8d, edi
xor edx, edx
lea rcx, [0x180125770]
mov rax, qword [0x180125770]
call qword [rax + 0x60]
mov eax, dword [0x180125750]
test al, 1
jne 0x180004a7e
or eax, 1
mov dword [0x180125750], eax
call fcn.1800820d0
lea rcx, [0x1800d6a80]
call fcn.1800bb44c
nop
lea rcx, [0x180125770]
mov rax, qword [0x180125770]
call qword [rax + 0x20]
nop
mov rcx, rbx
call fcn.1800054e0
nop
lea rcx, [rbp - 0x11]
call fcn.180003470
nop
lea rcx, [rbp + 0xf]
call fcn.1800054e0
nop
lea rcx, [rbp + 0x2f]
call fcn.180003470
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800ba9e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800063b0
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 [0x180122010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006560
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 0x180006450
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.1800065a0
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9550
nop
cmp qword [rax + 0x18], 8
jb 0x1800064d8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003470
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800064f9
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 0x180006513
mov qword [rbx + 0x20], rax
jmp 0x180006517
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x18000655d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000655d
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 0x18000655d
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.1800ba9e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180006710
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 0x1800067a0
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 [0x180122010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006950
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 0x180006840
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.180006980
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9550
nop
cmp qword [rax + 0x18], 8
jb 0x1800068c8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003470
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800068e9
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 0x180006903
mov qword [rbx + 0x20], rax
jmp 0x180006907
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x18000694d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000694d
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 0x18000694d
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.1800ba9e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180006b30
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 [0x180122010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x180006ce0
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 0x180006bd0
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.180006d10
nop
lea rcx, [rsp + 0x28]
call fcn.1800b9550
nop
cmp qword [rax + 0x18], 8
jb 0x180006c58
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.180003470
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180006c79
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 0x180006c93
mov qword [rbx + 0x20], rax
jmp 0x180006c97
mov rsi, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x180006cdd
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180006cdd
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 0x180006cdd
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.1800ba9e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret