joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402eb440
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1402eb44d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402eb45d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402eb445
lea eax, [rcx + 1]
jmp 0x1402eb46b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1402eb47e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1402eb464
sub eax, 3
jb 0x1402eb49e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402eb4ed
sar eax, 1
movsxd rbp, eax
jb 0x1402eb4d4
jmp 0x1402eb4ac
add ebx, ebx
jne 0x1402eb4aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402eb4d4
inc ecx
add ebx, ebx
jne 0x1402eb4ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402eb4d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1402eb4cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1402eb4bc
add ecx, 2
jmp 0x1402eb4d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402eb402
jmp 0x1402eb44d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4d800
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402eb539
cmp rsi, rcx
jae 0x1402eb541
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402eb520
cmp al, 0x8f
ja 0x1402eb520
cmp byte [rsi - 2], 0xf
je 0x1402eb526
sub al, 0xe8
cmp al, 1
ja 0x1402eb50a
cmp rsi, rcx
jae 0x1402eb541
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402eb510
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402eb541
lodsb al, byte [rsi]
jmp 0x1402eb520
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2e8000]
mov eax, dword [rdi]
or eax, eax
je 0x1402eb59e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2eb49c]
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 0x1402eb54e
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 0x1402eb598
mov qword [rbx], rax
add rbx, 8
jmp 0x1402eb56e
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 0x1402eb5d8
cmp al, 0xef
ja 0x1402eb5ca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1402eb5aa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1402eb5b9
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
mov byte [fcn.1402eb657], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1402eb657
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1402eb647
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x18000ce10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x1800a0830]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
mov rcx, rdx
call fcn.18000c1e0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1800523f8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ebx, [rax*4]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, edi
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000ce99
add ecx, 0x30
jmp 0x18000ce9c
add ecx, 0x37
mov byte [rsp + 0x38], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000ceb2
add ecx, 0x30
jmp 0x18000ceb5
add ecx, 0x37
mov byte [rsp + 0x39], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000cecb
add ecx, 0x30
jmp 0x18000cece
add ecx, 0x37
mov byte [rsp + 0x3a], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000cee4
add ecx, 0x30
jmp 0x18000cee7
add ecx, 0x37
mov byte [rsp + 0x3b], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000cefd
add ecx, 0x30
jmp 0x18000cf00
add ecx, 0x37
mov byte [rsp + 0x3c], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000cf16
add ecx, 0x30
jmp 0x18000cf19
add ecx, 0x37
mov byte [rsp + 0x3d], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000cf2f
add ecx, 0x30
jmp 0x18000cf32
add ecx, 0x37
mov byte [rsp + 0x3e], cl
cmp eax, 0xa
jae 0x18000cf40
add eax, 0x30
jmp 0x18000cf43
add eax, 0x37
mov byte [rsp + 0x3f], al
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.18000c560
call fcn.1800523cc
mov edx, eax
mov rcx, rsi
call fcn.18000c720
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002f6f0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18000e060
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18000e099
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18000e099
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rsp + 0x30]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov rbx, qword [rsp + 0x38]
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret

Function at 0x18000e140
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov rsi, r9
mov dword [r9], ebp
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
nop dword [rax]
nop word [rax + rax]
cmp ebx, dword [0x180093c80]
lea r9, [rsp + 0x60]
mov rcx, qword [r14]
mov r8d, ebx
cmova r8d, dword [0x180093c80]
mov rdx, rdi
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x60]
add dword [rsi], ecx
test eax, eax
je 0x18000e1b6
test ecx, ecx
je 0x18000e1b2
add rdi, rcx
mov eax, ecx
sub ebx, ecx
jne 0x18000e170
mov al, 1
jmp 0x18000e1b8
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18000ee70
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebx, ebx
test rcx, rcx
je 0x18000eeb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000eeb8
mov qword [rdi], rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.18000c150
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.18000f110
nop
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000ee50
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000c470
nop
mov rcx, qword [rsp + 0x78]
call fcn.18002f650
nop
mov rcx, qword [rsp + 0x88]
call fcn.18002f650
nop
mov rcx, qword [rsp + 0x50]
call fcn.18002f650
mov dword [rsp + 0xb0], 0x68
mov qword [rsp + 0xb8], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xec], ebx
mov word [rsp + 0xf2], bx
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000efa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000efbd
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002f650
mov eax, ebx
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18000eff0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp byte [rsp + 0xf0], 0
jne 0x18000f02d
call fcn.18000ee70
jmp 0x18000f0f5
mov rcx, qword [rcx]
xor edi, edi
test rcx, rcx
je 0x18000f044
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000f044
mov qword [rbx], rdi
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.18000c150
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18000f110
nop
mov rcx, qword [rsp + 0x20]
call fcn.18002f650
mov dword [rsp + 0x50], 0x70
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x54]
call fcn.18004f390
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x54], 0x240
mov dword [rsp + 0x80], 1
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov rcx, rbx
call fcn.18000f1f0
lea rcx, str.runas
test eax, eax
cmovne rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x18000f0de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x18000f0e9
mov rax, qword [rsp + 0xb8]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x30]
call fcn.18002f650
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x18000f1f0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x1800a0830]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x11c
call fcn.18004f390
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 5
jg 0x18000f264
cmp dword [rsp + 0x58], 2
jg 0x18000f264
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x188
ret

Function at 0x18000f380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x58], 0
cmp byte [r8], al
mov rbx, r8
mov dword [rsp + 0x50], 4
setne al
xor r8d, r8d
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 0
setne cl
mov byte [rbx], cl
add rsp, 0x30
pop rbx
ret
Function at 0x18000fbc0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800a0830]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rax, qword [0x1800a3100]
test rax, rax
jne 0x18000fc14
mov ecx, 0x1a8
call fcn.18002f60c
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000fc0a
mov rcx, rax
call fcn.18001ff00
jmp 0x18000fc0d
mov rax, rbx
mov qword [0x1800a3100], rax
mov rcx, rax
call fcn.180020030
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rax], 0
jne 0x18000fc3a
mov r8, rbx
jmp 0x18000fc4b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000fc40
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000ae90
nop
mov r8d, 0xc
lea rdx, str.TINTmhlp.exe
lea rcx, [rsp + 0x40]
call fcn.1800102c0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000fcb4
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.31674967
call fcn.18001bef0
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000fcd1
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000afe0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x70
pop rbx
ret

Function at 0x18000fcf0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, str.INTefmng.exe
call fcn.18001cab0
xor edx, edx
lea rcx, str.INTLGTVCDbus.exe
add rsp, 0x28
jmp fcn.18001cab0
Function at 0x18000fd20
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1800a0830]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [rsp + 0x78], 7
xor edi, edi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
xor r8d, r8d
lea rdx, [0x18006ae40]
lea rcx, [rsp + 0x60]
call fcn.18000ae90
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
xor r8d, r8d
lea rdx, [0x18006ae40]
lea rcx, [rsp + 0x40]
call fcn.18000ae90
nop
mov rax, qword [0x1800a3100]
test rax, rax
jne 0x18000fdda
mov ecx, 0x1a8
call fcn.18002f60c
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000fdd0
mov rcx, rax
call fcn.18001ff00
jmp 0x18000fdd3
mov rax, rdi
mov qword [0x1800a3100], rax
mov rcx, rax
call fcn.180020030
or rbx, 0xffffffffffffffff
cmp word [rax], 0
jne 0x18000fdf1
mov r8, rdi
jmp 0x18000fdff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18000fdf4
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000ae90
mov r8d, 0x10
lea rdx, str.INTLGTVCDbus.exe
lea rcx, [rsp + 0x40]
call fcn.1800102c0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000ff07
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18004f390
lea r8, str.5f266cf9
lea rdx, [0x18006b9d0]
lea rcx, [rbp - 0x80]
call fcn.180010760
mov r8d, 1
lea rdx, [0x18006b9d8]
lea rcx, [rsp + 0x60]
call fcn.18000ae90
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180010190
mov r8d, 2
lea rdx, [0x18006b9dc]
lea rcx, [rsp + 0x60]
call fcn.1800102c0
cmp word [rbp - 0x80], 0
jne 0x18000feb9
mov rbx, rdi
jmp 0x18000feca
lea rax, [rbp - 0x80]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000fec0
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800102c0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov r9d, 0x1388
mov r8b, 1
lea rdx, [0x18006ae40]
call fcn.18001bef0
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000ff24
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000afe0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000ff54
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18000afe0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18002f6f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800107e0
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 0x18001091c
mov rsi, rcx
lea r12, [0x18006bac0]
neg rsi
mov rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x3d
jne 0x180010836
inc r11d
cmp r11d, 2
jg 0x180010889
cmp al, 0x7f
ja 0x180010889
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x180010889
cmp cl, 0x40
jae 0x180010851
test r11d, r11d
jne 0x180010889
inc rdx
inc ebx
inc r10d
lea rax, [rsi + rdx]
cmp rax, rbp
jl 0x180010826
test ebx, ebx
je 0x18001091c
lea eax, [rbx + rbx*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x180010893
mov dword [r9], eax
mov eax, 0xfffffff0
jmp 0x18001091e
mov eax, 0xffffffee
jmp 0x18001091e
xor r8d, r8d
xor r11d, r11d
mov r9d, 3
mov rax, r15
test r10d, r10d
jle 0x180010916
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 0x18001090b
xor r11d, r11d
test r9d, r9d
jle 0x1800108ee
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x1800108ff
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x18001090b
mov byte [rax], r8b
inc rax
dec r10d
inc rdi
test r10d, r10d
jg 0x1800108b0
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 0x180010940
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 0x18001097f
mov rdx, qword [rdx]
call fcn.1800120a0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180012bf0
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 [0x1800a0830]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r14, r8
mov rsi, rdx
mov rbx, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x180012c3f
mov r9, qword [r9]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x180012dbb
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x18006ae40]
lea rcx, [rsp + 0x38]
call fcn.18000ae90
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.18004f390
mov r8d, edi
lea rdx, [0x18006be28]
lea rcx, [rbp - 0x80]
call fcn.180010760
lea rax, [rbp - 0x80]
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x20], rax
cmp byte [rbx + 9], r15b
je 0x180012d16
call fcn.180012ab0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180012d14
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012cf2
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afe0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180012280
nop
jmp 0x180012d67
call fcn.180012bb0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180012d67
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012d45
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afe0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180012280
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180012d84
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18000afe0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.180055dfc
mov ebx, eax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012db9
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afe0
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x898
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180012de0
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 [0x1800a0830]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x8e0]
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.18004f390
lea rax, [rbp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x180012e4d
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x180012e86
mov rax, qword [rbx]
jmp 0x180012e89
mov rax, rbx
mov word [rax], di
cmp word [rsp + 0x70], di
je 0x180012eaa
lea rax, [rsp + 0x70]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180012ea0
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18000ae90
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x180012ece
mov rax, qword [rbx]
jmp 0x180012ed1
mov rax, rbx
mov r11, rsi
sub r11, rax
nop word [rax + rax]
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180012ef6
add rax, 2
test edx, edx
jne 0x180012ee0
test r10d, r10d
jne 0x180012f48
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
cmp byte [rbp + 9], r10b
je 0x180012f1b
call fcn.180012ab0
jmp 0x180012f20
call fcn.180012bb0
mov rdx, rax
mov rcx, rbx
call fcn.1800121d0
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x180012f48
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000afe0
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180013f80
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 [0x1800a0830]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18004f390
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x180013fce
mov r8, qword [r8]
lea r9, str.conf
lea rdx, [0x18006c0b0]
lea rcx, [rsp + 0x40]
call fcn.180010760
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180013fff
lea rcx, [rsp + 0x40]
call fcn.180019c40
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.18004f390
lea r9, str.vstginf.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x150]
call fcn.180010760
xor ebx, ebx
cmp word [rbp + 0x150], bx
jne 0x180014042
mov r8d, ebx
jmp 0x18001405a
lea rax, [rbp + 0x150]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180014050
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x150]
call fcn.18000ae90
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18004f390
lea r9, str.userCache.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180010760
cmp word [rbp + 0x360], bx
jne 0x1800140ae
mov r8, rbx
jmp 0x1800140ca
lea rax, [rbp + 0x360]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1800140c0
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x360]
call fcn.18000ae90
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.18004f390
lea rdx, str.BDRoad
lea rcx, [rsp + 0x20]
call fcn.18001b350
cmp qword [rax + 0x18], 8
jb 0x18001410c
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x18006c108]
lea rcx, [rbp + 0x570]
call fcn.180010760
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18001413f
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18000afe0
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001415c
lea rcx, [rbp + 0x570]
call fcn.180019c40
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.18004f390
lea r9, str.userCache.ini
lea r8, [rbp + 0x570]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180010760
cmp word [rbp + 0x780], bx
je 0x1800141af
lea rax, [rbp + 0x780]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800141a5
lea rcx, [rdi + 0x100]
mov r8, rbx
lea rdx, [rbp + 0x780]
call fcn.18000ae90
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.18002f6f0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret