joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180093920
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, r8
mov rsi, rdx
test rdx, rdx
jne 0x180093967
xor al, al
jmp 0x180093b4e
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x180093995
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x1800939a3
mov r8, qword [r8]
lea rax, str.vip.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rbx, [0x180344b30]
mov rcx, rbx
call fcn.18005c530
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.180233580
mov r8, rsi
lea rdx, [rsp + 0x60]
call fcn.180093d40
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x60]
lea r8, [0x1802abc2c]
lea rcx, str.user
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rbp - 0x60]
xor esi, esi
cmp ax, word [0x1802abc2c]
jne 0x180093ad8
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
call fcn.180093b70
test al, al
jne 0x180093a8a
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x180093a83
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
xor bl, bl
jmp 0x180093b2e
lea rcx, [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 8
cmovae rcx, rdx
lea r8, [rbp - 0x60]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [r8], ax
lea rcx, [rcx + 2]
lea r8, [r8 + 2]
test ax, ax
jne 0x180093ab0
cmp r9, 8
jb 0x180093ad8
lea r8, [r9 + 1]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
call fcn.180093f80
nop
lea rax, [rbp - 0x80]
cmp rdi, rax
je 0x180093b02
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.18005cbe0
mov bl, 1
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180093b1e
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.18005cac0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180093b4b
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18005cac0
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180094130
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, rdx
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x18009418d
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
add rbx, 0x68
cmp qword [rbx + 0x18], 8
jb 0x18009419b
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x1802abc2c]
lea rdx, str.UserID
lea rcx, [0x1802abe90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x40], 0
jne 0x1800941d5
xor r8d, r8d
jmp 0x1800941eb
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1800941e0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18005c660
cmp qword [rdi + 0x10], 0
seta al
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rdi
ret

Function at 0x1800942c0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1800943f0
test al, al
jne 0x1800943b1
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x180094319
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x180094327
mov r8, qword [r8]
lea rax, str.vip.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rcx, [0x180344d40]
call fcn.18005c530
lea r9, [0x180344d40]
xor r8d, r8d
lea rdx, str.TipRegister
lea rcx, [0x1802aeb18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1800943b1
call fcn.180211b44
mov r10, qword [rax]
xor r9d, r9d
mov r8d, 0x9b
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [r10 + 0x20]
mov r8, qword [rsp + 0x58]
cmp qword [rsp + 0x50], 0
jbe 0x1800943b5
cmp r8, 8
jb 0x1800943b1
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
xor al, al
jmp 0x1800943cf
cmp r8, 8
jb 0x1800943cd
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x70
pop rbx
ret
Function at 0x1800943f0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x180094442
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x180094450
mov r8, qword [r8]
lea rax, str.vip.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rbx, [0x180344d40]
mov rcx, rbx
call fcn.18005c530
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.180233580
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
lea r8, str.null
lea rdx, str.FirstInstallDate
lea rcx, [0x1802aeb18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.180233580
xor ecx, ecx
call fcn.18023b61c
mov ecx, eax
call fcn.18006e2e0
mov r8d, eax
lea rdx, [0x1802aeb20]
lea rcx, [rsp + 0x250]
call fcn.18005c530
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x250]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180094516
add rax, 2
test ecx, ecx
jne 0x180094502
test edx, edx
sete al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x470
pop rbx
ret
Function at 0x180094540
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.180211b44
xor r9d, r9d
lea rdx, [rsp + 0x28]
mov r8d, 0x9b
mov rcx, rax
mov r10, qword [rax]
call qword [r10 + 0x20]
cmp qword [rsp + 0x38], 0
mov r8, qword [rsp + 0x40]
jbe 0x1800946bc
cmp r8, 8
jb 0x180094599
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
inc r8
call fcn.18005cac0
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x20], 0
call fcn.180093830
test al, al
je 0x18009469e
cmp dword [rsp + 0x20], 1
jg 0x18009469e
mov qword [rsp + 0x60], rbx
call fcn.180094230
mov r9, rax
lea rdx, str.ShowDay1
xor r8d, r8d
lea rcx, str.VipExpire
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.ShowDay2
xor r8d, r8d
lea rcx, str.VipExpire
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.ShowDay3
xor r8d, r8d
lea rcx, str.VipExpire
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x60]
test edi, edi
je 0x180094649
test esi, esi
jne 0x180094667
xor ecx, ecx
call fcn.18023b61c
mov ecx, eax
call fcn.18006e2e0
sub eax, edi
cmp eax, 3
jl 0x18009469e
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x58
ret
test eax, eax
jne 0x18009469e
xor ecx, ecx
call fcn.18023b61c
mov ecx, eax
call fcn.18006e2e0
sub eax, edi
cmp eax, 7
jl 0x18009469e
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x58
ret
mov rdi, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x58
ret
cmp r8, 8
jb 0x1800946d4
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
inc r8
call fcn.18005cac0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x58
ret
Function at 0x1800946f0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x200
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x30]
call fcn.180093830
test al, al
je 0x1800948bf
cmp dword [rsp + 0x30], 1
jg 0x1800948bf
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x18009476f
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x18009477d
mov r8, qword [r8]
lea rax, str.vip.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rcx, [0x180344d40]
call fcn.18005c530
lea r9, [0x180344d40]
xor r8d, r8d
lea rdx, str.ShowDay1
lea rcx, str.VipExpire
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
lea r9, [0x180344d40]
xor r8d, r8d
lea rdx, str.ShowDay2
lea rcx, str.VipExpire
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea r9, [0x180344d40]
xor r8d, r8d
lea rdx, str.ShowDay3
lea rcx, str.VipExpire
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
test ebx, ebx
jne 0x180094821
lea rdx, str.ShowDay1
jmp 0x180094839
test edi, edi
jne 0x18009482e
lea rdx, str.ShowDay2
jmp 0x180094839
test eax, eax
jne 0x180094849
lea rdx, str.ShowDay3
mov r8d, 8
lea rcx, [rsp + 0x40]
call fcn.18005c660
xor ecx, ecx
call fcn.18023b61c
mov ecx, eax
call fcn.18006e2e0
mov r8d, eax
lea rdx, [0x1802aeb20]
lea rcx, [rsp + 0x60]
call fcn.18005c530
lea rcx, [0x180344d40]
call fcn.1800675f0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea r9, [0x180344d40]
lea r8, [rsp + 0x60]
lea rcx, str.VipExpire
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x1800948bf
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1802037a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180096590
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
lea rax, vtable.Config.0
mov qword [rcx], rax
lea rdi, [rcx + 8]
mov qword [rdi + 0x18], 0xf
xor ecx, ecx
mov qword [rdi + 0x10], rcx
cmp qword [rdi + 0x18], 0x10
jb 0x1800965d8
mov rax, qword [rdi]
jmp 0x1800965db
mov rax, rdi
mov byte [rax], cl
mov word [rsi + 0x28], cx
xor eax, eax
mov qword [rsi + 0x2a], rax
mov dword [rsi + 0x32], eax
mov word [rsi + 0x36], ax
lea rbx, [rsi + 0x38]
mov qword [rsp + 0x60], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
call fcn.180087bb0
mov qword [rbx], rax
cmp rdi, rbp
je 0x18009661d
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call fcn.18005a5f0
cmp qword [rdi + 0x18], 0x10
jb 0x180096629
mov rcx, qword [rdi]
jmp 0x18009662c
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x18009664d
cmp qword [rdi + 0x18], 0x10
jb 0x180096640
mov rdi, qword [rdi]
lea rdx, [rsi + 0x48]
mov rcx, rdi
call fcn.18024fcf4
nop
mov rax, rsi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x180096a50
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x420], rax
add rcx, 8
mov rbx, r9
mov r10, r8
mov rax, rdx
cmp qword [rcx + 0x18], 0x10
jb 0x180096a82
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 0x10
jb 0x180096a8c
mov r10, qword [r8]
cmp qword [rdx + 0x18], 0x10
jb 0x180096a96
mov rax, qword [rdx]
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x20], 0x190
lea r8, [0x1802abbb0]
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x180096afe
cmp byte [rsp + 0x30], 0
jne 0x180096ada
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18005a720
mov al, 1
jmp 0x180096b00
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180096ae3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18005a720
mov al, 1
jmp 0x180096b00
xor al, al
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x430
pop rbx
ret
Function at 0x180096b20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rbx, rcx
lea r12, [rcx + 8]
mov qword [rsp + 0xa8], r12
cmp qword [r12 + 0x18], 0x10
jb 0x180096b62
mov rcx, qword [r12]
jmp 0x180096b65
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180096d55
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
call fcn.180087bb0
mov rcx, rax
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 0x38]
mov qword [rsp + 0xb0], rdx
mov r14, qword [rdx]
mov rdi, qword [r14]
cmp rdi, r14
je 0x180096cec
mov r12, qword [rsp + 0xa0]
nop
mov rsi, qword [rdi + 0x40]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180096c77
lea r15, [rbx + 0x40]
mov r9, r15
lea r8, [rbx + 0x20]
lea rdx, [rdi + 0x20]
mov rcx, r12
call fcn.180096a50
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180097470
mov rcx, qword [rsp + 0x38]
add rcx, 0x40
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x48]
call fcn.180095050
mov rcx, qword [rsp + 0x48]
add rcx, 0x40
cmp rcx, r15
je 0x180096c1e
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
call fcn.18005a5f0
cmp byte [rbx + 0x19], 0
jne 0x180096c6e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180096c4e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180096c6e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180096c40
jmp 0x180096c6e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180096c6b
cmp rbx, qword [rax + 0x10]
jne 0x180096c6b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180096c58
mov rbx, rax
cmp rbx, rsi
jne 0x180096bc0
cmp byte [rdi + 0x19], 0
jne 0x180096cc6
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180096ca1
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180096cc6
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180096c93
jmp 0x180096cc6
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x180096cc3
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x180096cc3
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180096cb0
mov rdi, rax
cmp rdi, r14
jne 0x180096bb0
mov rcx, qword [rsp + 0x28]
mov r12, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xb0]
lea rax, [rsp + 0x28]
cmp rdx, rax
je 0x180096d13
mov rax, qword [rdx]
mov qword [rdx], rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rsp + 0x30]
mov qword [rdx + 8], rax
mov qword [rsp + 0x30], rcx
cmp qword [r12 + 0x18], 0x10
jb 0x180096d1f
mov r12, qword [r12]
lea rdx, [rbx + 0x48]
mov rcx, r12
call fcn.18024fcf4
nop
mov r8, qword [rsp + 0x28]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.180096de0
mov rcx, qword [rsp + 0x28]
call fcn.180203788
mov al, 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180099250
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x18], 0x10
mov rbx, rcx
jb 0x180099263
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x180099276
xor al, al
add rsp, 0x40
pop rbx
ret
cmp qword [rbx + 0x18], 0x10
mov qword [rsp + 0x50], rdi
jb 0x180099287
mov rcx, qword [rbx]
jmp 0x18009928a
mov rcx, rbx
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
lea r8d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x1800992ca
xor al, al
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
mov eax, eax
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rbx + 0x20], rax
lea r8d, [r9 + 2]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x18009932f
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x18009932f
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rdi
cmp qword [rbx + 0x30], rdi
mov rdi, qword [rsp + 0x50]
setne al
add rsp, 0x40
pop rbx
ret

Function at 0x1800a5470
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x460
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov edx, dword [rcx + 0xc]
lea eax, [rdx + 1]
mov dword [rcx + 0xc], eax
cmp edx, 4
jge 0x1800a5596
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.180233580
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x1800a54e6
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea rcx, [rbx + 0xc8]
cmp qword [rcx + 0x18], 8
jb 0x1800a54f7
mov rcx, qword [rcx]
lea rdx, [rsp + 0x30]
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x1800a5500
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800a5520
movups xmm0, xmmword [str.WnPlugin.exe]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1802af258]
movsd qword [rcx + 0x10], xmm1
movzx eax, word [0x1802af260]
mov word [rcx + 0x18], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800a5596
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x240]
call fcn.180233580
lea r8, [rsp + 0x30]
lea rdx, str.__s___daemon
lea rcx, [rsp + 0x240]
call fcn.18005c530
lea rcx, [rsp + 0x240]
call fcn.1800aa580
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x460
pop rbx
ret
Function at 0x1800a6fd0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x1800a7022
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x1800a7030
mov r8, qword [r8]
lea rax, str.Event.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rcx, [rsp + 0x40]
call fcn.18005c530
lea r9, [rsp + 0x40]
mov r8d, 1
lea rdx, str.FirstShow
lea rcx, str.GTPTip
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x1800a70a1
lea r9, [rsp + 0x40]
mov r8d, 1
lea rdx, str.Show
lea rcx, str.GTPTip
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x260
pop rbx
ret

Function at 0x1800a7410
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x1800a7462
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x1800a7470
mov r8, qword [r8]
lea rax, str.Event.conf
mov qword [rsp + 0x20], rax
lea r9, [0x1802abd08]
lea rdx, [0x1802acdf8]
lea rcx, [rsp + 0x40]
call fcn.18005c530
lea r9, [rsp + 0x40]
mov r8d, 1
lea rdx, str.Show
lea rcx, str.RMenuTip
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x260
pop rbx
ret

Function at 0x1800a7520
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rax, vtable.Event::CSendThread.0
xor esi, esi
mov qword [rcx], rax
mov rbx, rcx
mov eax, esi
mov edi, esi
xchg byte [rcx + 0x18], al
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [rbx + 0x19]
test al, al
jne 0x1800a755f
inc edi
cmp edi, 0xa
jl 0x1800a7545
movzx eax, byte [rbx + 0x19]
test al, al
jne 0x1800a7573
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
mov qword [rbx + 0x10], rsi
call fcn.180202318
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1800a75af
mov r8, qword [rbx + 0x30]
sub r8, rdx
sar r8, 3
call fcn.18006ee90
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a7680
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword gs:[0x58]
xor esi, esi
mov ecx, dword [0x180340458]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1803454c8], eax
jle 0x1800a76df
lea rcx, [0x1803454c8]
call fcn.180203a04
cmp dword [0x1803454c8], 0xffffffff
jne 0x1800a76df
lea rcx, [0x18027c740]
mov qword [0x1803454d0], rsi
call fcn.180203f24
lea rcx, [0x1803454c8]
call fcn.1802039a4
mov rax, qword [0x1803454d0]
test rax, rax
jne 0x1800a77af
mov qword [rsp + 0x48], rbx
mov ecx, 0x88
mov qword [rsp + 0x50], rdi
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rax, vtable.Event::CSendThread.0
mov edx, 2
mov qword [rbx], rax
lea rcx, [rbx + 0x38]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
call fcn.180202348
mov dword [rbx + 8], esi
mov edi, 1
mov qword [rbx + 0x10], rsi
mov rcx, qword [0x1803454d0]
mov qword [0x1803454d0], rbx
test rcx, rcx
je 0x1800a775c
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov rbx, qword [0x1803454d0]
cmp qword [rbx + 0x10], rsi
jne 0x1800a77a2
xchg byte [rbx + 0x18], dil
lea rax, [rbx + 8]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1800a75c0]
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
mov rax, qword [0x1803454d0]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret