joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d6700
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov r14, rdx
mov rsi, rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 4]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 5]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 6]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 7]
xor rcx, rax
imul rcx, rdx
mov r15, qword [rsi + 0x30]
and r15, rcx
shl r15, 4
mov rbx, qword [rsi + 0x18]
mov rax, qword [rbx + r15]
cmp rax, qword [rsi + 8]
jne 0x1800d67b9
mov rbx, qword [rsi + 8]
jmp 0x1800d67c1
mov rbx, qword [rbx + r15 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1800d67f1
mov rcx, qword [r8]
nop dword [rax]
mov rbx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x1800d67e1
cmp rbx, rax
jne 0x1800d67d0
jmp 0x1800d67f1
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1800d68d9
mov rax, qword [rsi + 8]
mov rdi, qword [rax]
mov r9, r8
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.1800d6dc0
mov rdx, rax
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, qword [rsi + 0x10]
cmp rcx, 1
jae 0x1800d682b
lea rcx, str.list_T__too_long
call fcn.18020118c
int3
inc qword [rsi + 0x10]
mov qword [rdi + 8], rdx
mov rax, qword [rax + 8]
mov qword [rax], rdx
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1800d687b
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
add rdx, r15
mov rax, qword [rdx]
cmp rax, qword [rsi + 8]
jne 0x1800d6899
mov qword [rdx], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r15 + 8], rdi
jmp 0x1800d68c5
cmp rax, rbx
jne 0x1800d68a3
mov qword [rdx], rdi
jmp 0x1800d68c5
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1800d68c5
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r15 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r15 + 8], rcx
mov rcx, rsi
call fcn.1800d6910
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1800d69d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r9, r8
mov r10, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rdi, rdx
xor r8, rax
movzx eax, byte [r9 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], r9
jne 0x1800d6a99
cmp qword [rcx], r9
jne 0x1800d6a8f
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1800d6aa4
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x1800d6aa4
cmp qword [rcx], r9
jne 0x1800d6aa9
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x40]
mov rax, qword [r9 + 8]
mov rcx, r9
mov rbx, qword [r9]
mov qword [rax], rbx
mov rdx, qword [r9]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
dec qword [r10 + 0x10]
call fcn.180203788
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d6b30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov r11, r8
mov rsi, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 4]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 5]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 6]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 7]
xor r9, rax
imul r9, rcx
mov r8, qword [r10 + 0x30]
and r8, r9
shl r8, 4
mov rbx, qword [r10 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r10 + 8]
jne 0x1800d6beb
mov rbx, qword [r10 + 8]
jmp 0x1800d6bf3
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1800d6c41
mov rcx, qword [r11]
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x1800d6c11
cmp rbx, rax
jne 0x1800d6c00
jmp 0x1800d6c41
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
mov rcx, rdi
call fcn.180203788
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1800d6cd8
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1800d6c7b
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x1800d6c99
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x1800d6cc5
cmp rax, rbx
jne 0x1800d6ca3
mov qword [rdx], rdi
jmp 0x1800d6cc5
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1800d6cc5
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.1800d6910
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800f9ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push r14
sub rsp, 0x30
mov rax, r8
mov rbx, rdx
mov r14, rcx
lea r8, [0x1802b1360]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x1800f9b0a
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
mov rdx, rsi
mov qword [rsp + 0x40], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
mov ecx, 0x42
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call fcn.180232390
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rsp + 0x20]
call fcn.1800fa3d0
mov rbx, rax
test rax, rax
je 0x1800f9be4
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0x58]
xor edi, edi
mov dword [rsp + 0x58], edi
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x1800f9ba6
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x58]
lea rdx, [rsp + 0x58]
mov dword [r14], eax
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x58], edi
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1800f9bc7
mov dword [rbx + 0x10], eax
mov ecx, dword [rsp + 0x58]
mov dword [r14 + 4], ecx
mov rcx, r14
mov qword [r14 + 0x10], rbx
call fcn.1800fa200
mov byte [r14 + 8], al
mov eax, 1
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1800f9d70
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0x58
mov rbp, rdx
xor r15d, r15d
mov rbx, rcx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800f9ec4
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x88], rsi
mov rcx, rax
mov dword [rsp + 0x80], r15d
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test eax, eax
je 0x1800f9ebc
cmp dword [rsp + 0x80], r15d
jne 0x1800f9ebc
mov ecx, esi
mov qword [rsp + 0x50], r14
call fcn.180203f3c
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], r15
mov r8d, esi
mov rdx, rax
mov rcx, rdi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800f9eb7
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], r15
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1800f9eae
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, dword [rsp + 0x80]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x1800f9e9b
lea ecx, [rax + 0x18]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x1800f9e94
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.1800fa380
jmp 0x1800f9e97
mov rax, r15
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r14
call fcn.180085310
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800f9eef
mov eax, dword [rcx + 0x10]
mov dword [rcx + 0x10], r15d
test eax, eax
je 0x1800f9efb
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800f9eeb
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x10], r15
xor eax, eax
add rsp, 0x58
pop r15
pop rdi
pop rbp
pop rbx
ret
mov rdi, qword [rbx + 0x10]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x90], r15d
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x1800f9f20
mov dword [rdi + 0x10], eax
mov rdi, qword [rbx + 0x10]
lea rdx, [rsp + 0x98]
mov eax, dword [rsp + 0x90]
mov dword [rbx], eax
mov dword [rsp + 0x98], r15d
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1800f9f4e
mov dword [rdi + 0x10], eax
mov eax, dword [rsp + 0x98]
mov rcx, rbx
mov dword [rbx + 4], eax
call fcn.1800fa200
test al, al
je 0x1800f9f89
mov rax, qword [0x180344ff0]
mov byte [rbx + 8], 1
test rax, rax
jne 0x1800f9f79
call fcn.1800ea830
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x180344ff0]
call fcn.1800d9dd0
mov rcx, rbp
call fcn.1801e2d10
test eax, eax
je 0x1800f9fbd
mov rax, qword [0x180344ff0]
mov byte [rbx + 8], 1
test rax, rax
jne 0x1800f9faa
call fcn.1800ea830
mov rdx, qword [rbx + 0x10]
mov r8, rbp
mov rcx, qword [0x180344ff0]
call fcn.1800d9ee0
mov eax, 1
add rsp, 0x58
pop r15
pop rdi
pop rbp
pop rbx
ret
Function at 0x180104c70
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x28]
mov rbp, rdx
mov rbx, qword [rcx + 0x20]
mov rsi, rcx
cmp rbx, rdi
je 0x180104ca8
mov rcx, rbx
call fcn.1800ff300
add rbx, 0x68
cmp rbx, rdi
jne 0x180104c97
mov rax, qword [rsi + 0x20]
xor edx, edx
mov qword [rsi + 0x28], rax
mov rcx, rbp
mov dword [rsi + 0xdc], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x18010c960
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x18034236c], 0
je 0x18010c9fc
mov qword [rsp + 0x70], rdi
call fcn.1800e0420
mov rdi, rax
cmp byte [rax + 0x64], 0
je 0x18010c9ef
mov edx, dword [rbx + 0xec]
lea rcx, [rsp + 0x30]
mov r9d, dword [rbx + 0xa8]
xor r8d, r8d
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18010c810
mov byte [rdi + 0x64], 0
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x50
pop rbx
ret
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x20]
jmp 0x18010c9d7
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x50
pop rbx
ret
Function at 0x180112000
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rcx
mov rcx, qword [rcx + 0x12d0]
test rcx, rcx
je 0x18011202e
call fcn.180115ab0
nop
mov rcx, qword [rdi + 0x12e0]
test rcx, rcx
je 0x180112040
call fcn.180115ab0
nop
mov rbx, qword [rdi + 0x12e8]
or esi, 0xffffffff
test rbx, rbx
je 0x18011207a
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18011207a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18011207a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rdi + 0x12d8]
test rbx, rbx
je 0x1801120af
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1801120af
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1801120af
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rbx, [rdi + 0x12b0]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1801120cf
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
nop
mov qword [rbx + 0x18], 7
xor esi, esi
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801120e7
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x1290]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x18011210a
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180112120
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x1270]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x180112143
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180112159
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x1250]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x18011217c
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180112192
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x1230]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1801121b5
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801121cb
mov rbx, qword [rbx]
mov word [rbx], si
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.180086b10
Function at 0x180112290
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x20], ebx
mov r8d, 0x208
call fcn.180233580
cmp dword [rsi + 0x1224], ebx
je 0x180112384
cmp qword [rsi + 0x12c0], rbx
jbe 0x18011233f
lea r8, [rsi + 0x12b0]
cmp qword [r8 + 0x18], 8
jb 0x1801122f8
mov r8, qword [r8]
lea rdx, str._sTempSkin_
lea rcx, [rsp + 0x30]
call fcn.18005c530
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x30], bx
je 0x1801123cf
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180112330
jmp 0x1801123cf
add rsi, 0x1230
cmp qword [rsi + 0x18], 8
jb 0x180112352
mov r8, qword [rsi]
jmp 0x180112355
mov r8, rsi
lea rdx, str._sTempSkin_
lea rcx, [rsp + 0x30]
call fcn.18005c530
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1801123a6
cmp qword [rsi + 0x18], 8
jb 0x18011237f
mov rsi, qword [rsi]
mov r8, rsi
jmp 0x180112395
lea r8, [rsi + 0x1230]
cmp qword [r8 + 0x18], 8
jb 0x180112395
mov r8, qword [r8]
lea rdx, str._sSkin_
lea rcx, [rsp + 0x30]
call fcn.18005c530
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x30], bx
je 0x1801123cf
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1801123c5
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18005c660
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1802037a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180112810
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
cmp byte [rcx + 0x12f8], 0
jne 0x180112854
xor eax, eax
jmp 0x1801129f2
mov dword [rcx + 0x12f0], 1
add rcx, 0x1270
xor r8d, r8d
lea rdx, [0x1802abc2c]
call fcn.18005c660
xor esi, esi
cmp dword [rbx + 0x12a0], esi
jne 0x18011288a
mov dword [rbx + 0x1218], 1
jmp 0x1801128ca
lea rcx, [rbx + 0x1290]
lea rdx, [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x18011289f
mov rcx, qword [rcx]
mov r9d, 7
lea r8, str.default
mov rdx, qword [rdx]
call fcn.18005c450
test eax, eax
jne 0x1801128c4
mov dword [rbx + 0x1218], 1
jmp 0x1801128ca
mov dword [rbx + 0x1218], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.180233580
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180112410
cmp qword [rax + 0x18], 8
jb 0x1801128f3
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x1802abd74]
lea rcx, [rsp + 0x50]
call fcn.18005c530
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x180112924
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.18005cac0
cmp dword [rbx + 0x1218], esi
jne 0x1801129c5
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1801129c5
mov dword [rbx + 0x1218], 1
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x4f]
mov rcx, rax
call qword [r9 + 0x28]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
mov r8d, 7
lea rdx, str.default
lea rcx, [rsp + 0x28]
call fcn.18005c660
nop
call fcn.180211b44
mov r9, qword [rax]
lea r8, [rsp + 0x28]
mov edx, 0x91
mov rcx, rax
call qword [r9 + 0x18]
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1801129c5
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.18005cac0
mov rcx, qword [rbx + 0x12d0]
test rcx, rcx
je 0x1801129d6
call fcn.180115ab0
mov rcx, qword [rbx + 0x12e0]
test rcx, rcx
je 0x1801129e7
call fcn.180115ab0
mov rdx, rdi
mov rcx, rbx
call fcn.180112a20
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1802037a0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180121180
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov edi, edx
call fcn.18012bca0
test al, al
je 0x180121203
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x1801211cd
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r9, [rbx + 0x168]
cmp qword [r9 + 0x18], 8
jb 0x1801211de
mov r9, qword [r9]
xor r8d, r8d
lea rdx, str.MakeStatusWndShow
lea rcx, [0x1802abe90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
cmove edi, ecx
mov ecx, edi
call fcn.1800ad930
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18012f460
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3c8]
sub rsp, 0x4b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rsi, rcx
mov rbx, qword [rcx + 0x18]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
call fcn.180089850
mov rax, qword [rbx]
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x38]
call fcn.180088d20
nop
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, str.count
lea rcx, str.MenuSkins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ebx, 1
cmp eax, ebx
jl 0x18012f654
xor r14d, r14d
nop word [rax + rax]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
xor r8d, r8d
lea rdx, [0x1802abc2c]
lea rcx, [rsp + 0x58]
call fcn.18005c660
mov word [rsp + 0x78], 0
mov r8d, ebx
lea rdx, str.MenuSkin_d
lea rcx, [rbp + 0x190]
call fcn.18005c530
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x80]
lea r8, [0x1802abc2c]
lea rdx, [0x1802ae450]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x80], 0
jne 0x18012f58e
mov r8, r14
jmp 0x18012f5ab
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18012f5a0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.18005c660
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x80]
lea r8, [0x1802abe4c]
lea rdx, str.isVip
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [rbp - 0x80]
movzx eax, word [0x1802ac5d8]
sub ecx, eax
jne 0x18012f612
movzx ecx, word [rbp - 0x7e]
movzx eax, word [0x1802ac5da]
sub ecx, eax
test ecx, ecx
sete byte [rsp + 0x79]
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi + 0x18]
call fcn.180089570
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x18012f64a
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
inc ebx
cmp ebx, edi
jle 0x18012f500
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x18012f671
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18005cac0
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1802037a0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret