joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e5940
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov rbp, r8
xor sil, sil
lea r14, [r9 + 0x10]
mov qword [r14], 0
mov rax, r9
cmp qword [r9 + 0x18], 0x10
jb 0x1800e597b
mov rax, qword [r9]
mov byte [rax], sil
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [reloc.WS2_32.dll_accept]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800e5a98
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x44]
dec ecx
cmp ecx, 1
ja 0x1800e5a8e
test eax, eax
jne 0x1800e5a8e
mov edx, dword [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
call fcn.18009b5c0
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800e5a04
mov rax, qword [rdi]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800e5a8e
mov rax, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 0x10
jb 0x1800e5a3d
mov rax, qword [rdi]
mov r8, qword [r14]
lea rdx, [r8 - 1]
add rdx, rax
mov rax, rdi
cmp rcx, 0x10
jb 0x1800e5a53
mov rax, qword [rdi]
sub rdx, rax
mov rax, r8
sub rax, rdx
mov r9d, 1
cmp rax, r9
cmovb r9, rax
cmp rcx, 0x10
jb 0x1800e5a72
mov rdi, qword [rdi]
lea rcx, [rdi + rdx]
sub r8, r9
mov qword [r14], r8
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call fcn.18020b760
mov sil, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
movzx eax, sil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801e67e0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800e5b60
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
lea r8, [0x1800583a8]
mov r9, rcx
lea rdx, [0x1800583c0]
mov rcx, 0xffffffff80000002
call fcn.1800e5940
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800e5bf7
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x1800e5bd2
lea rax, [rcx + 0x13]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
jb 0x1800e5bb0
mov rbx, qword [rbx]
add rbx, rcx
lea rdx, [0x1800581f0]
mov rcx, rbx
mov r8d, reloc.WS2_32.dll_send
call fcn.18020b760
mov byte [rbx + 0x13], 0
add rsp, 0x70
pop rbx
ret
xor r8d, r8d
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea r9, [0x1800581f0]
mov rcx, rbx
lea edx, [r8 + 0x13]
call fcn.18008f920
add rsp, 0x70
pop rbx
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.1800e7510
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1800e75b0
lea rdx, [0x18027ecd0]
lea rcx, [rsp + 0x30]
call fcn.18020a9f0
int3
Function at 0x1800ea1e0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r14d, r14d
mov edi, r14d
mov esi, r14d
mov ebx, r14d
mov r15d, 1
movabs r12, 0x38d7ea4c67fff
mov dword [rsp + 0x34], ebx
nop
xor eax, eax
lock cmpxchg dword [0x1802b05ac], r15d
lea ecx, [rax - 2]
cmp ecx, r15d
jbe 0x1800ea3ba
cmp eax, 4
jne 0x1800ea257
lock cmpxchg dword [0x1802b05ac], r14d
jmp 0x1800ea230
cmp eax, r15d
jne 0x1800ea3a3
test ebx, ebx
jne 0x1800ea290
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800ea280
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x80]
mov ebx, 0x20
cmp eax, r15d
cmova ebx, r14d
mov dword [rsp + 0x34], ebx
cmp ebx, 8
jb 0x1800ea35c
cmp ebx, 0x20
jae 0x1800ea2a4
pause
inc ebx
jmp 0x1800ea22a
jne 0x1800ea33c
mov ecx, 7
call fcn.1800e97e0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
call rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1800ea2e8
mov ecx, dword [rsp + 0x38]
dec ecx
mov eax, 0xd1b71759
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800ea30a
mov eax, dword [rsp + 0x38]
imul r8, rax, 0x5f5e100
mov rax, r12
cqo
idiv qword [rsp + 0x58]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
lea esi, [rax + 1]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ea330
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rsp + 0x40], rdi
inc ebx
jmp 0x1800ea22a
mov rdi, qword [rsp + 0x40]
inc ebx
jmp 0x1800ea22a
test esi, esi
jne 0x1800ea363
movzx eax, byte [rsp + 0x34]
and al, r15b
je 0x1800ea393
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800ea35c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800ea22a
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ea381
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x48], rcx
jmp 0x1800ea386
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800ea34a
mov esi, r14d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800ea22a
lea rcx, [0x1802b05b0]
call fcn.1800e7980
mov eax, 2
xchg dword [0x1802b05ac], eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1800eaff0
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, qword [rcx]
mov rbx, rdx
mov rcx, rsi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800eb106
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1800eb052
mov ecx, 0xdf
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1800eb106
mov rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp rbx, rdx
jle 0x1800eb0ed
call fcn.1800eaeb0
test al, al
je 0x1800eb106
sub rbx, qword [rsp + 0x70]
je 0x1800eb0c5
mov ebp, 0x200
xor r14d, r14d
nop word [rax + rax]
cmp rbx, rbp
mov qword [rsp + 0x20], r14
mov rdi, rbx
lea r9, [rsp + 0x78]
cmova rdi, rbp
lea rdx, [0x1802b0380]
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x78]
cmp rax, rdi
jne 0x1800eb106
sub rbx, rdi
jne 0x1800eb090
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rdx, rbx
call fcn.1800eaeb0
test al, al
je 0x1800eb106
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800eb0c5
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1800e7510
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1800e75b0
lea rdx, [0x18027ecd0]
lea rcx, [rsp + 0x30]
call fcn.18020a9f0
int3
Function at 0x1800eb1e0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rcx + 0xc]
xor edi, edi
mov rbx, rcx
test eax, eax
jne 0x1800eb22c
mov ecx, dword [0x1802b0580]
test ecx, ecx
jne 0x1800eb21e
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x58]
cmp ecx, 1
mov eax, 0x20
cmova eax, edi
mov dword [rbx + 0xc], eax
cmp eax, 8
jb 0x1800eb2f4
cmp eax, 0x20
jae 0x1800eb241
pause
jmp 0x1800eb2f4
jne 0x1800eb2d9
mov ecx, 7
call fcn.1800e97e0
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x34]
call rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1800eb285
mov ecx, dword [rsp + 0x24]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800eb2ae
mov eax, dword [rsp + 0x24]
imul r8, rax, 0x5f5e100
movabs rax, 0x38d7ea4c67fff
cqo
idiv qword [rsp + 0x28]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
inc eax
lea rcx, [rsp + 0x28]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800eb2cf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rbx], rax
jmp 0x1800eb2f4
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
jmp 0x1800eb2f4
cmp dword [rbx + 8], edi
jne 0x1800eb312
and al, 1
je 0x1800eb33e
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800eb2f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800eb32b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
jmp 0x1800eb330
mov rcx, qword [rsp + 0x28]
sub rcx, qword [rbx]
mov eax, dword [rbx + 8]
cmp rcx, rax
jb 0x1800eb2e2
mov dword [rbx + 8], edi
mov ecx, 1
jmp 0x1800eb2ee
Function at 0x1800eb690
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
push r14
sub rsp, 0xb0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r8, qword [rcx]
mov r14, rcx
mov eax, dword [r8]
test eax, eax
je 0x1800eb6d2
nop dword [rax + rax]
lea edx, [rax - 1]
lock cmpxchg dword [r8], edx
je 0x1800eb89b
test eax, eax
jne 0x1800eb6c0
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbp
xor ebp, ebp
mov qword [rsp + 0xd8], rsi
mov ebx, ebp
mov qword [rsp + 0xa8], rdi
mov esi, ebp
mov qword [rsp + 0xa0], r15
mov edi, ebp
movabs r15, 0x38d7ea4c67fff
mov rdx, qword [r14]
mov dword [rsp + 0x34], ebx
mov eax, dword [rdx]
test eax, eax
je 0x1800eb731
nop dword [rax]
lea ecx, [rax - 1]
lock cmpxchg dword [rdx], ecx
je 0x1800eb873
test eax, eax
jne 0x1800eb720
test ebx, ebx
jne 0x1800eb760
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800eb751
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x80]
cmp eax, 1
mov ebx, 0x20
cmova ebx, ebp
mov dword [rsp + 0x34], ebx
cmp ebx, 8
jb 0x1800eb82b
cmp ebx, 0x20
jae 0x1800eb774
pause
inc ebx
jmp 0x1800eb70c
jne 0x1800eb80c
mov ecx, 7
call fcn.1800e97e0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
call rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1800eb7b8
mov ecx, dword [rsp + 0x38]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800eb7da
mov eax, dword [rsp + 0x38]
imul r8, rax, 0x5f5e100
mov rax, r15
cqo
idiv qword [rsp + 0x58]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
lea rcx, [rsp + 0x40]
lea esi, [rax + 1]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800eb800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
inc ebx
mov qword [rsp + 0x40], rdi
jmp 0x1800eb70c
mov rdi, qword [rsp + 0x40]
inc ebx
jmp 0x1800eb70c
test esi, esi
jne 0x1800eb832
movzx eax, byte [rsp + 0x34]
and al, 1
je 0x1800eb861
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800eb82b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800eb70c
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800eb850
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x48], rcx
jmp 0x1800eb855
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800eb819
mov esi, ebp
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800eb70c
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801e67e0
add rsp, 0xb0
pop r14
ret
Function at 0x1800edb50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, r9d
mov edi, r8d
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801e60b0
mov rbp, rax
mov qword [rsp + 0x40], rax
add rax, 0x10
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rbp + 8], rbx
mov qword [rsp + 0x48], rax
mov dword [rbp], edi
mov dword [rbp + 4], esi
mov eax, dword [r14]
mov dword [rbp + 8], eax
mov eax, dword [r14 + 4]
mov dword [rbp + 0xc], eax
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1800dbaf0
lea r8d, [rbx + 0x10]
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18012ae00
mov byte [r15], bl
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rbx
lea ecx, [rbx + 0x20]
call fcn.1801e60b0
mov qword [r15 + 8], rax
add rax, 0x20
mov qword [r15 + 0x18], rax
mov rax, qword [r15 + 8]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
add rax, 0x20
mov qword [r15 + 0x10], rax
mov dword [r15 + 0x20], ebx
lea rax, [rsp + 0x38]
cmp r15, rax
je 0x1800edc6a
mov rdi, qword [r15 + 8]
mov rax, qword [r15 + 0x18]
sub rax, rdi
cmp rax, 0x10
jae 0x1800edc51
lea edx, [rbx + 0x10]
mov rcx, r15
call fcn.1800afde0
mov rdi, qword [r15 + 8]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbp
mov rcx, rdi
call fcn.18020b760
lea rax, [rdi + 0x10]
mov qword [r15 + 0x10], rax
call fcn.18012aaa0
mov edx, 0xffffffff
mov rcx, rax
call fcn.18012ab60
mov dword [r15 + 0x20], eax
mov r8, qword [r15 + 8]
mov rdx, qword [r15 + 0x10]
mov ecx, eax
not ecx
add ecx, ecx
xor ecx, eax
mov dword [rsp + 0x28], ecx
sub rdx, r8
je 0x1800edcb7
nop dword [rax]
mov rcx, rbx
and ecx, 3
movzx ecx, byte [rsp + rcx + 0x28]
xor byte [rbx + r8], cl
inc rbx
cmp rbx, rdx
jb 0x1800edca0
lea rcx, [rsp + 0x38]
call fcn.1800aff90
mov rax, r15
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800eeb60
Capabilities:
Parse pe header

Disassembly:
mov r9, qword [rcx + 8]
xor r10d, r10d
mov ecx, 0x5a4d
mov rax, r9
cmp cx, word [r9]
cmovne rax, r10
movsxd rcx, dword [rax + 0x3c]
add rcx, r9
cmp dword [rcx], 0x4550
cmovne rcx, r10
cmp edx, dword [rcx + 0x84]
ja 0x1800eeb9b
mov r10d, edx
add r10, 0x11
lea r10, [rcx + r10*8]
mov ecx, dword [r10 + 4]
mov qword [r8], rcx
mov eax, dword [r10]
ret

Function at 0x1800f3930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
add rcx, 8
cmp qword [rcx + 0x18], 0x10
jb 0x1800f3942
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800f3958
test al, 0x10
je 0x1800f3958
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1800f3960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
add rcx, 8
cmp qword [rcx + 0x18], 0x10
jb 0x1800f3972
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800f3988
test al, 0x10
jne 0x1800f3988
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x1800f4160
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
xor edx, edx
cmp qword [rcx + 0x18], rdx
jne 0x1800f4256
mov r8d, 0x105
lea rcx, [rbp + 0x60]
call fcn.18020be10
lea rdx, [rbp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movdqa xmm0, xmmword [0x180056d80]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800f41d1
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.180099770
lea rax, [0x1800567e8]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800f11e0
nop
lea rax, [0x1800567d8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800f432a
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f424b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f4353
call fcn.1801e60f0
nop
jmp 0x1800f432a
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.18020be10
mov qword [rsp + 0x48], 0
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 0x10
jb 0x1800f427d
mov rcx, qword [rcx]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
movdqa xmm0, xmmword [0x180056d80]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800f42b1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180099770
lea rax, [0x1800567e8]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800f11e0
nop
lea rax, [0x1800567d8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800f432a
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f4324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f434d
call fcn.1801e60f0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rbp
ret
call fcn.18010f960
nop
call fcn.18010f960
int3
Function at 0x1800f44d0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x105
lea rcx, [rsp + 0x50]
call fcn.18020be10
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movdqa xmm0, xmmword [0x180056d80]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800f4530
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180099770
lea rax, [0x1800567e8]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800f11e0
nop
lea rax, [0x1800567d8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800f45a9
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f45a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f45c5
call fcn.1801e60f0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1801e67e0
add rsp, 0x170
pop rbx
ret
call fcn.18010f960
nop
int3

Function at 0x1800f81f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov qword [rdi + 0x20], sendto
mov byte [rdi + 8], cl
lea rax, [0x1800567e8]
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
mov qword [rdi + 0x18], rcx
lea rax, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x1800f824d
mov rax, qword [rdi + 8]
mov byte [rax], 0
mov edx, 0x105
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movdqa xmm0, xmmword [0x180056d80]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800f8280
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180099770
lea rax, [0x1800567d8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rdi + 8]
call fcn.180099630
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800f82ff
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f82f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f8323
call fcn.1801e60f0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
call fcn.18010f960
int3
Function at 0x1800fb7c0
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802b0738]
test rax, rax
jne 0x1800fb841
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp rcx, 4
jne 0x1800fb832
shr rax, 0xa
mov rcx, rax
sub rcx, 3
je 0x1800fb800
sub rcx, 1
je 0x1800fb819
cmp rcx, 1
jne 0x1800fb805
mov eax, 1
shl rax, 0xa
or rax, 4
mov qword [0x1802b0738], rax
add rsp, 0x28
ret
mov eax, 2
shl rax, 0xa
or rax, 4
mov qword [0x1802b0738], rax
add rsp, 0x28
ret
mov rax, rcx
bts rax, 0xb
mov qword [0x1802b0738], rax
add rsp, 0x28
ret
Function at 0x1800fc070
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
inc qword [0x1802b0748]
mov rax, qword [0x1802b0740]
test rax, rax
jne 0x1800fc242
lea ecx, [rax + 0x68]
call fcn.1801e60b0
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edi, edi
test rax, rax
je 0x1800fc235
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rdi
mov qword [rax + 0x38], rdi
mov qword [rax + 0x40], rdi
mov qword [rax + 0x48], rdi
mov qword [rax + 0x50], rdi
mov qword [rax + 0x58], rdi
mov qword [rax + 0x60], rdi
lea rcx, [0x180058b58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
lea rdx, [0x180058b68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x1800fc1eb
lea rcx, [0x180058b88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058b98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058bb8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058bc8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058bd8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058be8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1800fc1eb
lea rdx, [0x180058bf8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
lea rdx, [0x180058c08]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
jmp 0x1800fc238
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800fc214
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800fc238
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
jmp 0x1800fc238
mov rbx, rdi
mov qword [0x1802b0740], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret