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

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401a1c98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401a1ca0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401a1cb0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1401a1cfd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1401a1cf4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1401a1cff
add rax, 0x28
cmp rax, r9
jne 0x1401a1ce0
xor eax, eax
ret

Function at 0x1401a1d00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1401a1d90
mov rdx, qword [0x1403522d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1401a1d7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1401a1d7e
cmp word [rax + 0x18], 0x20b
jne 0x1401a1d7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1401a1d90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1401a1d69
add rbx, 0x28
cmp rbx, rdi
je 0x1401a1d90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1401a1d60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x1403522d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401a1dc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401a1dc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401a1dc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401a1e1d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401a1e14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401a1dc0
add rax, 0x28
cmp rax, r9
jne 0x1401a1e00
xor eax, eax
ret

Function at 0x1401a1e20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1403522d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401a1e3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401a1e48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401a1e3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1401a1e60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1403522d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1401a1e80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1401a1e88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1401a1e80
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1401a1ed0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1401a1ec7
test rcx, rcx
je 0x1401a1e80
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1401a1eb8
xor eax, eax
ret

Function at 0x1401a1ee0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1403522d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401a1f40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401a1f48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401a1f40
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1401a1f40
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 0x1401a1f94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1401a1fa0
add rdx, 0x28
cmp r9, rdx
jne 0x1401a1f80
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1403522d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1401a1fd2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1401a1fe0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401a1fd2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1401a1fd2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1401a1fd2
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 0x1401a2035
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1401a2048
add rdx, 0x28
cmp rdx, r10
jne 0x1401a2020
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1401a2057
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1401a2067
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1401a203e
test ecx, ecx
jg 0x1401a2050
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x9fe320
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x9fe32d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x9fe33d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x9fe325
lea eax, [rcx + 1]
jmp 0x9fe34b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x9fe35e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x9fe344
sub eax, 3
jb 0x9fe37e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x9fe3cd
sar eax, 1
movsxd rbp, eax
jb 0x9fe3b4
jmp 0x9fe38c
add ebx, ebx
jne 0x9fe38a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9fe3b4
inc ecx
add ebx, ebx
jne 0x9fe39a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9fe3b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x9fe3ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x9fe39c
add ecx, 2
jmp 0x9fe3b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.009fe2e2
jmp 0x9fe32d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x27ac00
mov dl, 0x25
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x9fe419
cmp rsi, rcx
jae 0x9fe421
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x9fe400
cmp al, 0x8f
ja 0x9fe400
cmp byte [rsi - 2], 0xf
je 0x9fe406
sub al, 0xe8
cmp al, 1
ja 0x9fe3ea
cmp rsi, rcx
jae 0x9fe421
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x9fe3f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x9fe421
lodsb al, byte [rsi]
jmp 0x9fe400
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5f5000]
mov eax, dword [rdi]
or eax, eax
je 0x9fe47e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5fe000]
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 0x9fe42e
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 0x9fe478
mov qword [rbx], rax
add rbx, 8
jmp 0x9fe44e
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 0x9fe4c2
cmp al, 0xef
ja 0x9fe4aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x9fe48a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x9fe499
mov eax, dword [rdi]
add rdi, 4
jmp 0x9fe499
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 0x9fe516
sub rsp, 0xffffffffffffff80
jmp 0x468380
Function at 0x180004210
Capabilities:
Encode data using base64

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
xor ebx, ebx
movsxd rbp, edx
xor r11d, r11d
xor r10d, r10d
mov r14, r9
mov r15, r8
mov rdi, rcx
test edx, edx
jle 0x18000434c
mov rsi, rcx
lea r12, [0x180051da0]
neg rsi
mov rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x3d
jne 0x180004266
inc r11d
cmp r11d, 2
jg 0x1800042b9
cmp al, 0x7f
ja 0x1800042b9
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x1800042b9
cmp cl, 0x40
jae 0x180004281
test r11d, r11d
jne 0x1800042b9
inc rdx
inc ebx
inc r10d
lea rax, [rsi + rdx]
cmp rax, rbp
jl 0x180004256
test ebx, ebx
je 0x18000434c
lea eax, [rbx + rbx*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x1800042c3
mov dword [r9], eax
mov eax, 0xfffffff0
jmp 0x18000434e
mov eax, 0xffffffee
jmp 0x18000434e
xor r8d, r8d
xor r11d, r11d
mov r9d, 3
mov rax, r15
test r10d, r10d
jle 0x180004346
nop word [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rcx + r12]
xor ecx, ecx
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc r11d
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp r11d, 4
jne 0x18000433b
xor r11d, r11d
test r9d, r9d
jle 0x18000431e
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x18000432f
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x18000433b
mov byte [rax], r8b
inc rax
dec r10d
inc rdi
test r10d, r10d
jg 0x1800042e0
sub eax, r15d
mov dword [r14], eax
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x180004370
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x89], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x1800043af
mov rdx, qword [rdx]
call fcn.180005030
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180005880
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x798]
sub rsp, 0x898
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
mov r14, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x1800058cf
mov r9, qword [r9]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x1800059f2
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x180051730]
lea rcx, [rsp + 0x38]
call fcn.180002ad0
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.180036300
mov r8d, ebx
lea rdx, [0x180052120]
lea rcx, [rbp - 0x80]
call fcn.1800030f0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.180005840
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x18000599e
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x18000597c
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180002cf0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180001ac0
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x1800059bb
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180002cf0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.18003bd94
mov ebx, eax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1800059f2
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180002cf0
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180015440
add rsp, 0x898
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180005a20
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov r14, r9
mov rbp, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x8e0]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.180036300
lea rax, [r15 + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x180005a8d
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x180005ac6
mov rax, qword [rdi]
jmp 0x180005ac9
mov rax, rdi
mov word [rax], bx
cmp word [rsp + 0x70], bx
je 0x180005aea
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180005ae0
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180002ad0
mov dword [rsp + 0x30], 1
cmp qword [rdi + 0x18], 8
jb 0x180005b0e
mov rax, qword [rdi]
jmp 0x180005b11
mov rax, rdi
mov r11, rsi
sub r11, rax
nop word [rax + rax]
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180005b36
add rax, 2
test edx, edx
jne 0x180005b20
test r10d, r10d
jne 0x180005b7b
mov qword [rsp + 0x20], rsi
mov r9, r14
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.180005840
mov rdx, rax
mov rcx, rdi
call fcn.180001900
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x180005b7b
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.180002cf0
mov rax, rdi
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.180015440
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180006c80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180036300
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x180006cce
mov r8, qword [r8]
lea r9, str.Config
lea rdx, [0x180051888]
lea rcx, [rsp + 0x40]
call fcn.1800030f0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180006cff
lea rcx, [rsp + 0x40]
call fcn.18000c020
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.180036300
lea r9, str.UseVestige.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x150]
call fcn.1800030f0
xor ebx, ebx
cmp word [rbp + 0x150], bx
jne 0x180006d42
mov r8d, ebx
jmp 0x180006d5a
lea rax, [rbp + 0x150]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180006d50
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x150]
call fcn.180002ad0
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.180036300
lea r9, str.UseCache.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.1800030f0
cmp word [rbp + 0x360], bx
jne 0x180006dae
mov r8, rbx
jmp 0x180006dca
lea rax, [rbp + 0x360]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180006dc0
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x360]
call fcn.180002ad0
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.180036300
lea rdx, str.WSRT
lea rcx, [rsp + 0x20]
call fcn.18000c320
cmp qword [rax + 0x18], 8
jb 0x180006e0c
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x1800518b8]
lea rcx, [rbp + 0x570]
call fcn.1800030f0
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x180006e3f
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.180002cf0
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180006e5c
lea rcx, [rbp + 0x570]
call fcn.18000c020
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.180036300
lea r9, str.UseCache.ini
lea r8, [rbp + 0x570]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.1800030f0
cmp word [rbp + 0x780], bx
je 0x180006eaf
lea rax, [rbp + 0x780]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180006ea5
lea rcx, [rdi + 0x100]
mov r8, rbx
lea rdx, [rbp + 0x780]
call fcn.180002ad0
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.180015440
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000b9f0
Capabilities:
Check if file exists

Disassembly:
push rdi
mov eax, 0x1270
call fcn.1800153d0
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1290], rbx
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rsp + 0x1260], rax
mov rbx, rdx
mov edi, ecx
cmp qword [0x180074cd0], 0
jne 0x18000bb20
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.180036300
movups xmm0, xmmword [str.C:LogResLog64.dll]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180053160]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x180053170]
movsd qword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000bb09
lea r8, [0x180074cd8]
cmp qword [0x180074cf0], 8
cmovae r8, qword [0x180074cd8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.18000b7b0
nop
mov r8d, 0xc
lea rdx, str.ResLog64.dll
lea rcx, [rsp + 0x30]
call fcn.1800025c0
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsp + 0x50]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x18000bae0
cmp r8, 8
jb 0x18000bb09
inc r8
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.180002cf0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180074cd0], rax
test rax, rax
je 0x18000bb8f
xor r8d, r8d
lea rdx, [0x180051730]
mov rcx, rbx
call fcn.180002ad0
mov r9d, 0x800
lea r8, [rsp + 0x260]
mov edx, edi
mov rcx, qword [0x180074cd0]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x18000bb8f
cmp word [rsp + 0x260], 0
jne 0x18000bb63
xor r8d, r8d
jmp 0x18000bb7b
lea rax, [rsp + 0x260]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000bb70
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.180002ad0
mov al, 1
jmp 0x18000bb91
xor al, al
mov rcx, qword [rsp + 0x1260]
xor rcx, rsp
call fcn.180015440
mov rbx, qword [rsp + 0x1290]
add rsp, 0x1270
pop rdi
ret
Function at 0x18000bc50
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x2070
call fcn.1800153d0
sub rsp, rax
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.18003c038
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.18003c9ac
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbx]
lea rdx, str.__d__d__d__d__d__d___d_:_s
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
inc r9d
mov qword [rsp + 0x48], rdi
add r8d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.18000b740
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x1800531d0]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.180038084
mov rbx, rax
test rax, rax
je 0x18000bda3
test edi, edi
jne 0x18000bd34
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.18003b2fc
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000bd40
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.18003b2fc
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.18003b2fc
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.18003b2fc
mov rcx, rbx
call fcn.18003ae9c
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.180015440
mov rbx, qword [rsp + 0x20a0]
add rsp, 0x2070
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000c020
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
or r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x18000c040
lea eax, [rdi + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.180014ed0
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x18000c070
xor r14d, r14d
movsxd rdi, edi
mov ebx, r14d
lea ebp, [r14 + 1]
test rdi, rdi
js 0x18000c0df
mov qword [rsp + 0x40], r15
mov r15d, 0x5c
nop dword [rax]
cmp word [rsi + rbx*2], r15w
jne 0x18000c0cd
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000c0c8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000c0d7
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x18000c0a0
jmp 0x18000c0da
mov ebp, r14d
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.180014ed8
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x18000c100
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1800720b0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000c150
test eax, eax
je 0x18000c21a
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000c170
mov eax, dword [0x180051734]
lea rdx, [rsp + 0x20]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax]
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x18000c190
xor r8d, r8d
nop
movzx ecx, word [rdi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x18000c1a0
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000c1c0
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000c1e6
lea rcx, [rsp + 0x20]
call fcn.18000c020
cmp word [rsp + 0x20], 0
jne 0x18000c1f2
xor ebx, ebx
jmp 0x18000c20a
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000c200
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180002ad0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180015440
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000c690
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
xor bl, bl
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movzx ecx, bl
mov edx, 1
test eax, eax
cmovne ecx, edx
movzx eax, cl
add rsp, 0x20
pop rbx
ret