joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a0be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800ee718]
mov rcx, qword [rax + 0x4b38]
mov r9, qword [rax + 0x3ef8]
movups xmm0, xmmword [r9 + 0x238]
movups xmmword [rcx + 0x168], xmm0
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rcx + 0x148]
movss xmm4, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movss xmm2, dword [rcx + 0x150]
movss xmm1, dword [rcx + 0x154]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x21e]
mov rcx, qword [rcx + 0x198]
mov rdx, qword [r9 + 0x298]
add rsp, 0x38
jmp fcn.1800933c0

Function at 0x1800bf9a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
movzx ebp, r9b
mov r15, r8
mov edi, edx
mov rsi, rcx
call fcn.1800c2fe0
test rax, rax
je 0x1800bfa60
movzx r14d, word [rax + 0x14]
xor r12d, r12d
movzx r11d, word [rax + 6]
add r14, rax
movzx r9d, r12w
cmp r12w, r11w
jae 0x1800bfa60
movzx eax, r9w
lea rcx, [rax + rax*4]
mov r10d, dword [r14 + rcx*8 + 0x20]
cmp dword [r14 + rcx*8 + 0x28], r10d
mov ebx, dword [r14 + rcx*8 + 0x24]
cmovb r10d, dword [r14 + rcx*8 + 0x28]
test ebx, ebx
je 0x1800bfa56
test r10d, r10d
je 0x1800bfa56
mov rdx, qword [r14 + rcx*8 + 0x18]
mov r8d, 0x84222325
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdx
test dl, dl
je 0x1800bfa51
movsx eax, dl
lea rcx, [rcx + 1]
xor eax, r8d
imul r8d, eax, 0x1b3
movzx eax, byte [rcx]
movzx edx, al
test al, al
jne 0x1800bfa36
cmp edi, r8d
je 0x1800bfa81
inc r9w
cmp r9w, r11w
jb 0x1800bf9f2
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov edx, r10d
lea rcx, [rbx + rsi]
add rdx, rbx
movzx r9d, bpl
add rdx, rsi
mov r8, r15
call fcn.1800bf830
jmp 0x1800bfa62

Function at 0x1800c2940
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
mov edx, 0x84222325
test al, al
je 0x1800c2966
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1b3
movzx eax, byte [rcx]
test al, al
jne 0x1800c2950
mov eax, edx
ret
Function at 0x1800c2970
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x30]
movzx ebp, dl
mov edi, ecx
mov r8, qword [rax + 0x60]
mov rsi, qword [r8 + 0x18]
add rsi, 0x20
mov r10, qword [rsi]
cmp r10, rsi
je 0x1800c2a5a
nop word [rax + rax]
movzx ebx, word [r10 + 0x48]
xorps xmm0, xmm0
xor eax, eax
shr rbx, 1
xor r9d, r9d
mov dword [rsp + 0x60], eax
movups xmmword [rsp], xmm0
movups xmmword [rsp + 0x10], xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
add rbx, 0xfffffffffffffffc
je 0x1800c2a1b
mov r11, qword [r10 + 0x50]
nop dword [rax + rax]
movzx edx, word [r11]
lea r11, [r11 + 2]
movzx r8d, dl
sub dx, 0x41
cmp dx, 0x19
lea eax, [r8 + 0x20]
movzx ecx, al
cmova ecx, r8d
mov byte [rsp + r9], cl
inc r9
cmp r9, rbx
jne 0x1800c29f0
test edi, edi
je 0x1800c2a72
movzx eax, byte [rsp]
lea rdx, [rsp]
mov r8d, 0x84222325
test al, al
je 0x1800c2a49
movsx ecx, al
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1b3
test al, al
jne 0x1800c2a31
cmp edi, r8d
je 0x1800c2a72
mov r10, qword [r10]
cmp r10, rsi
jne 0x1800c29b0
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
test bpl, bpl
je 0x1800c2aa3
mov rcx, qword [r10 - 0x10]
mov rax, qword [r10 - 8]
mov qword [rcx + 8], rax
mov rcx, qword [r10 - 8]
mov rax, qword [r10 - 0x10]
mov qword [rcx], rax
mov rcx, qword [r10]
mov rax, qword [r10 + 8]
mov qword [rcx + 8], rax
mov rcx, qword [r10 + 8]
mov rax, qword [r10]
mov qword [rcx], rax
mov rax, qword [r10 + 0x20]
jmp 0x1800c2a5c

Function at 0x1800c2ab0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
movzx ebp, r8b
mov rsi, rdx
mov r14d, ecx
mov r9, qword [rax + 0x60]
mov rdi, qword [r9 + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800c2b13
mov rcx, qword [rbx + 0x20]
cmp rsi, rcx
je 0x1800c2b0b
movzx r8d, bpl
mov edx, r14d
call fcn.1800c2b30
test rax, rax
jne 0x1800c2b15
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800c2af1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800c2fe0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1800c3003
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800c3003
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret

Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.140001148
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.140001148
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000231c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002320]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400018f4
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x167512d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x167513d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1675125
lea eax, [rcx + 1]
jmp 0x167514b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x167515e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1675144
sub eax, 3
jb 0x167517e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x16751cd
sar eax, 1
movsxd rbp, eax
jb 0x16751b4
jmp 0x167518c
add ebx, ebx
jne 0x167518a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x16751b4
inc ecx
add ebx, ebx
jne 0x167519a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x16751b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x16751ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x167519c
add ecx, 2
jmp 0x16751b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.016750e2
jmp 0x167512d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd2200
mov dl, 0x1c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1675219
cmp rsi, rcx
jae 0x1675221
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1675200
cmp al, 0x8f
ja 0x1675200
cmp byte [rsi - 2], 0xf
je 0x1675206
sub al, 0xe8
cmp al, 1
ja 0x16751ea
cmp rsi, rcx
jae 0x1675221
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x16751f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1675221
lodsb al, byte [rsi]
jmp 0x1675200
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1271000]
mov eax, dword [rdi]
or eax, eax
je 0x167527e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1290f10]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x167522e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1675278
mov qword [rbx], rax
add rbx, 8
jmp 0x167524e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x16752c2
cmp al, 0xef
ja 0x16752aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x167528a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1675299
mov eax, dword [rdi]
add rdi, 4
jmp 0x1675299
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1675316
sub rsp, 0xffffffffffffff80
jmp 0x46a520
Function at 0x180003b50
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x18
call fcn.1800424e0
sub rsp, rax
mov rax, qword [0x18009a078]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r11, rcx
mov r9d, edx
test edx, edx
jne 0x180003b8d
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180041a40
add rsp, 0x18
ret
mov r8, qword [r8]
xor edx, edx
mov qword [rsp], r8
movzx eax, byte [rsp + 1]
movzx ecx, r8b
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov eax, ecx
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x180003c24
cmp qword [rax + 8], r8
je 0x180003c24
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180003c13
test r10, r10
je 0x180003c2c
mov dword [r10], ecx
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180041a40
add rsp, 0x18
ret
Function at 0x1800098f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x40
call fcn.1800424e0
sub rsp, rax
mov rsi, qword [rdx]
lea r14, [rcx + 0x60]
mov rbx, rdx
mov edx, dword [r14]
mov rdi, rcx
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.180003b50
test rax, rax
je 0x180009973
mov rax, qword [rax]
test rax, rax
je 0x180009973
mov rax, qword [rax + 0x10]
cmp byte [rax + 4], 0
je 0x180009961
cmp byte [rbx + 0x1c], 0
je 0x180009961
mov edx, 1
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [rdi + 0xe8]
mov rcx, qword [rdi + 0xf8]
lea r8, [rsp + 0x28]
xor r9d, r9d
call fcn.180003b50
test rax, rax
je 0x180009995
mov rax, qword [rax]
mov rdi, qword [rax + 0x10]
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x38]
mov rdx, qword [rdi + 8]
call qword [0x1800a9dd8]
cmp eax, 0x1f4
je 0x180009b0e
test eax, eax
je 0x1800099cd
mov ecx, eax
call fcn.180003760
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x18
call fcn.18000c150
test rax, rax
je 0x180009b1b
mov edx, dword [rbx + 0x18]
mov r9, qword [rsp + 0x38]
movzx r8d, byte [rbx + 0x1c]
mov dword [rax], edx
lea rdx, [rsp + 0x28]
mov rcx, r14
mov byte [rax + 4], r8b
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
call fcn.18000a270
mov ecx, dword [rdi + 0x60]
test ecx, ecx
jne 0x180009a30
lea edx, [rcx + 1]
lea rcx, [rdi + 0x60]
call fcn.18000ad20
mov ecx, dword [rdi + 0x60]
test ecx, ecx
je 0x180009b1b
mov r8, qword [rdi + 0x70]
test ecx, ecx
jne 0x180009a43
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
jmp 0x180009ad2
movzx eax, byte [rsp + 0x21]
movzx ebp, sil
xor edx, edx
xor ebp, 0x811c9dc5
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x22]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x23]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x24]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x25]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x26]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x27]
imul ebp, ebp, 0x1000193
xor ebp, eax
imul ebp, ebp, 0x1000193
mov eax, ebp
div ecx
mov rax, qword [r8 + rdx*8]
lea rbx, [r8 + rdx*8]
test rax, rax
je 0x180009ad2
cmp qword [rax + 8], rsi
je 0x180009ad2
mov rbx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180009ac1
cmp qword [rbx], 0
jne 0x180009b0e
mov ecx, 0x18
call fcn.18000c150
test rax, rax
je 0x180009af5
mov qword [rax], 0
mov qword [rax + 8], rsi
mov dword [rax + 0x10], ebp
mov qword [rbx], rax
test rax, rax
je 0x180009b1b
inc qword [rdi + 0x68]
mov rdx, qword [rdi + 0x68]
lea rcx, [rdi + 0x60]
call fcn.18000ad20
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 2
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000cd70
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x68
call fcn.1800424e0
sub rsp, rax
lea rax, [rcx + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov qword [rsp + 0x48], rax
call fcn.18000c060
mov r14, qword [rbx + 0x10]
mov eax, dword [rbx]
lea rax, [r14 + rax*8]
mov r12d, edi
mov qword [rsp + 0x50], rax
cmp r14, rax
je 0x18000cdd9
cmp qword [r14], rdi
jne 0x18000cdd6
add r14, 8
cmp r14, rax
jne 0x18000cdc3
jmp 0x18000cfb0
mov r12, qword [r14]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0x20]
nop dword [rax + rax]
test r12, r12
je 0x18000cfa3
mov rbx, qword [r12 + 8]
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x18000cf70
nop dword [rax + rax]
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
call fcn.18000a120
test eax, eax
jne 0x18000cfa1
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x18000cf5e
mov ecx, dword [rsi + 0x58]
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x28], rbp
test ecx, ecx
jne 0x18000ce60
lea edx, [rax + 1]
lea rcx, [rsi + 0x58]
call fcn.18000d520
mov ecx, dword [rsi + 0x58]
test ecx, ecx
je 0x18000cf9a
mov r8, qword [rsi + 0x68]
test ecx, ecx
je 0x18000cf11
movzx eax, byte [rsp + 0x29]
movzx r15d, bpl
xor edx, edx
xor r15d, 0x811c9dc5
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2a]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2b]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2c]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2d]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2e]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2f]
imul r15d, r15d, 0x1000193
xor r15d, eax
imul r15d, r15d, 0x1000193
mov eax, r15d
div ecx
mov rax, qword [r8 + rdx*8]
lea rdi, [r8 + rdx*8]
test rax, rax
je 0x18000cf11
nop dword [rax + rax]
cmp qword [rax + 8], rbp
je 0x18000cf11
mov rdi, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000cf00
cmp qword [rdi], 0
jne 0x18000cf52
mov ecx, 0x20
call fcn.18000c150
test rax, rax
je 0x18000cf39
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], r15d
mov qword [rdi], rax
test rax, rax
je 0x18000cf9a
inc qword [rsi + 0x60]
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x58]
call fcn.18000d520
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
xor edi, edi
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x18000ce10
mov rax, qword [rsp + 0x50]
mov r12, qword [r12]
test r12, r12
jne 0x18000cdf9
nop dword [rax]
add r14, 8
cmp r14, rax
je 0x18000cdf0
mov r12, qword [r14]
test r12, r12
je 0x18000cf80
jmp 0x18000cdf0
mov edi, 2
jmp 0x18000cfa3
mov edi, eax
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000c110
mov eax, edi
add rsp, 0x68
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000e300
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1800424e0
sub rsp, rax
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x18000e3c4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rdx, 0xffffffffffffffff
mov ebp, eax
nop dword [rax]
inc rdx
cmp word [rbx + rdx*2], si
jne 0x18000e340
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18000e3c7
mov edx, ebp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x18000e38b
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], di
jne 0x18000e390
test rax, rax
je 0x18000e3c4
mov rdx, rdi
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
or rax, 0xffffffffffffffff
mov edx, edi
inc rax
cmp word [rbx + rax*2], 0
jne 0x18000e3b5
cmp rdx, rax
jb 0x18000e3a1
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800101a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov eax, 0x30
call fcn.1800424e0
sub rsp, rax
mov rbx, rcx
xor ecx, ecx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1800103ca
xor edx, edx
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], dx
jne 0x1800101d0
test rax, rax
je 0x180010204
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1800103ca
cmp r8w, 0x2f
je 0x1800103ca
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1800101e0
mov rcx, rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
call fcn.1800103f0
mov rsi, rax
test rax, rax
je 0x1800102f5
mov qword [rsp + 0x50], r14
call fcn.180010ba0
mov r14, rax
test rax, rax
je 0x1800102e2
mov rcx, rsi
call fcn.18000e150
test eax, eax
je 0x1800102cb
lea rax, str.system32_
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x180010277
mov r8, rbx
mov rcx, rsi
call fcn.18005219c
test eax, eax
je 0x18001029f
lea rax, [rsp + 0x30]
add rdi, 8
cmp rdi, rax
jb 0x180010270
jmp 0x1800102ae
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.18000fba0
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x1800102d9
mov rcx, rsi
call fcn.18000e0f0
test eax, eax
je 0x1800102d9
mov rbp, rsi
xor esi, esi
jmp 0x1800102d9
mov rdx, rsi
mov rcx, r14
call fcn.18000fba0
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x180010396
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x18001039f
mov rcx, rbx
call fcn.18000dfc0
mov rdi, rax
test rax, rax
je 0x18001039f
mov ecx, 0x37e4
call fcn.18000f710
test eax, eax
je 0x180010334
lea rcx, [0x18007ed08]
call fcn.1800108d0
jmp 0x180010339
call fcn.180010ba0
mov rbx, rax
test rax, rax
je 0x18001038d
mov rdx, rdi
mov rcx, rax
call fcn.18000fba0
mov rbp, rax
test rax, rax
je 0x180010384
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180010366
test al, 0x50
je 0x180010384
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180010379
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x18001039f
xor ecx, ecx
jmp 0x1800103ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800103b2
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rax, rbp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x180010ba0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x20
call fcn.1800424e0
sub rsp, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, 0x40
mov edx, eax
mov edi, eax
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x180010c0b
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180010c00
cmp edi, eax
jb 0x180010c00
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret