joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a7540
Capabilities:
Identify system language via api

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x1802b2ac4]
mov ecx, 0x26820
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1802b01a4], eax
jg 0x1800a76f2
cmp byte [0x1802b01a0], 0
jne 0x1800a7581
mov al, 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov byte [0x1802b01a0], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
lea rsi, section.__wibu05
mov ecx, eax
bts rcx, 0xb
xor ebx, ebx
nop dword [rax]
cmp rcx, qword [rsi + rbx*8 + 0x6f70]
je 0x1800a7649
cmp rcx, qword [rsi + rbx*8 + 0x6f78]
je 0x1800a75f4
cmp rcx, qword [rsi + rbx*8 + 0x6f80]
je 0x1800a75ee
cmp rcx, qword [rsi + rbx*8 + 0x6f88]
je 0x1800a75e8
add rbx, 4
cmp rbx, 0x10
jb 0x1800a75b0
jmp 0x1800a75fd
add rbx, 3
jmp 0x1800a75f7
add rbx, 2
jmp 0x1800a75f7
inc rbx
cmp rbx, 0x10
jb 0x1800a7649
xor ebx, ebx
nop
cmp rax, qword [rsi + rbx*8 + 0x6f70]
je 0x1800a7649
cmp rax, qword [rsi + rbx*8 + 0x6f78]
je 0x1800a7640
cmp rax, qword [rsi + rbx*8 + 0x6f80]
je 0x1800a763a
cmp rax, qword [rsi + rbx*8 + 0x6f88]
je 0x1800a7634
add rbx, 4
cmp rbx, 0x10
jb 0x1800a7600
jmp 0x1800a7659
add rbx, 3
jmp 0x1800a7643
add rbx, 2
jmp 0x1800a7643
inc rbx
cmp rbx, 0x10
jae 0x1800a7659
mov rdx, qword [rsi + rbx*8 + 0x247010]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a767c
cmp rbx, 0x10
jae 0x1800a767c
mov rdx, qword [rsi + rbx*8 + 0x247010]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1800a76e9
mov rdx, qword [0x180297010]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
mov rdx, qword [0x180297010]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
lea rdx, [0x180056640]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
lea rdx, [0x180056640]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
test rax, rax
setne al
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1802b01a4]
call fcn.1801e66a0
cmp dword [0x1802b01a4], 0xffffffff
jne 0x1800a7570
cmp qword [rdi + 8], 0
lea rcx, [0x1802b01a4]
sete byte [0x1802b01a0]
call fcn.1801e6640
jmp 0x1800a7570
Function at 0x1800af270
Capabilities:
Get common file path
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x318
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
movsxd r14, r8d
mov rdi, rcx
mov r8, r14
add rcx, 0x550
mov rsi, r9
mov rbp, rdx
call fcn.18009fc90
test rax, rax
je 0x1800af41f
mov rax, qword [rdi + 0x560]
test rax, rax
jne 0x1800af2c3
xor edx, edx
jmp 0x1800af2ca
mov rdx, qword [rdi + 0x558]
mov r9d, dword [rsi]
mov r8d, eax
mov rcx, rdi
call fcn.1801bbd10
test al, al
je 0x1800af41f
mov qword [rsp + 0x310], rbx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x308], r15
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movabs rax, 0xabcc77118461cefd
mov ecx, 0x104
mul qword [rsp + 0x40]
mov rbx, rdx
lea rdx, [rsp + 0x1e0]
shr rbx, 0x1a
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rsp + 0x38]
mov byte [rsp + 0x1e3], 0
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov r9d, dword [rsp + 0x30]
mov edx, ebx
xor r9d, dword [rsp + 0x34]
mov rcx, rdi
mov r8d, r9d
mov dword [rsp + 0x20], 0xffffffff
xor r9d, dword [rsp + 0x3c]
xor r9d, dword [rsp + 0x38]
xor r8d, dword [rsp + 0x38]
call fcn.1801be980
cmp byte [rsp + 0x360], 0
movzx r15d, al
je 0x1800af409
mov rbx, qword [rdi + 0x3a8]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180096120
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.180103c70
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180096840
mov rdi, qword [rdi + 0x3a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180096120
mov edx, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.180103d70
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov ebx, eax
call fcn.180096840
mov dword [rsi], ebx
mov rbx, qword [rsp + 0x310]
movzx eax, r15b
mov r15, qword [rsp + 0x308]
jmp 0x1800af421
xor al, al
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x318
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800bc600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x150
lea rcx, [rsp + 0x34]
call fcn.18020bef0
xor ebx, ebx
mov edx, ebx
cmp byte [rsp + 0x30], bl
setne dl
lea rcx, [rsp + 0x34]
call fcn.180102d60
nop
mov dword [rbp + 0x90], 0x74e3a5d6
mov dword [rbp + 0x94], 0x18e3f236
mov dword [rbp + 0x98], 0xa4ccaba6
mov dword [rbp + 0x9c], 0x73699576
mov r9d, ebx
cmp byte [rsp + 0x30], bl
setne r9b
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 0x10]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x34]
call fcn.180103800
xorps xmm0, xmm0
movups xmmword [rbp - 0x7c], xmm0
lea rdx, [0x1802a3940]
lea rcx, [rsp + 0x30]
call fcn.18009fa60
mov eax, dword [0x1802a3940]
shr eax, 1
test al, 1
jne 0x1800bc6ff
mov r8d, 0xd6a5e374
lea rax, [0x1802afad1]
nop word [rax + rax]
mov edx, dword [rax]
mov ecx, edx
xor ecx, r8d
mov dword [rax], ecx
mov r8d, edx
add ebx, 4
lea rax, [rax + 4]
cmp ebx, 2
jb 0x1800bc6e0
or dword [0x1802a3940], 2
lea rcx, [rsp + 0x34]
call fcn.180103330
nop
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rbp
ret
Function at 0x1800e4ee0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1800e4f4c
xor r9d, r9d
lea rcx, [rsp + 0x38]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1800e4f4c
lea rax, [rsp + 0x38]
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x60], 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x80
pop rbx
ret
Function at 0x1800e5a20
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 0x1800e5a5b
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 0x1800e5b78
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 0x1800e5b6e
test eax, eax
jne 0x1800e5b6e
mov edx, dword [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
call fcn.18009b5c0
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800e5ae4
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 0x1800e5b6e
mov rax, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 0x10
jb 0x1800e5b1d
mov rax, qword [rdi]
mov r8, qword [r14]
lea rdx, [r8 - 1]
add rdx, rax
mov rax, rdi
cmp rcx, 0x10
jb 0x1800e5b33
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 0x1800e5b52
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.18020b840
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.1801e68c0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800e5c40
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.1800e5a20
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800e5cd7
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x1800e5cb2
lea rax, [rcx + 0x13]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
jb 0x1800e5c90
mov rbx, qword [rbx]
add rbx, rcx
lea rdx, [0x1800581f0]
mov rcx, rbx
mov r8d, reloc.WS2_32.dll_send
call fcn.18020b840
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.1800e75f0
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rsp + 0x30]
call fcn.18020aad0
int3
Function at 0x1800ea2c0
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 0x1800ea49a
cmp eax, 4
jne 0x1800ea337
lock cmpxchg dword [0x1802b05ac], r14d
jmp 0x1800ea310
cmp eax, r15d
jne 0x1800ea483
test ebx, ebx
jne 0x1800ea370
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800ea360
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 0x1800ea43c
cmp ebx, 0x20
jae 0x1800ea384
pause
inc ebx
jmp 0x1800ea30a
jne 0x1800ea41c
mov ecx, 7
call fcn.1800e98c0
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 0x1800ea3c8
mov ecx, dword [rsp + 0x38]
dec ecx
mov eax, 0xd1b71759
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800ea3ea
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 0x1800ea410
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rsp + 0x40], rdi
inc ebx
jmp 0x1800ea30a
mov rdi, qword [rsp + 0x40]
inc ebx
jmp 0x1800ea30a
test esi, esi
jne 0x1800ea443
movzx eax, byte [rsp + 0x34]
and al, r15b
je 0x1800ea473
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800ea43c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800ea30a
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ea461
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x48], rcx
jmp 0x1800ea466
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800ea42a
mov esi, r14d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800ea30a
lea rcx, [0x1802b05b0]
call fcn.1800e7a60
mov eax, 2
xchg dword [0x1802b05ac], eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801e68c0
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 0x1800eb0d0
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 0x1800eb1e6
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1800eb132
mov ecx, 0xdf
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1800eb1e6
mov rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp rbx, rdx
jle 0x1800eb1cd
call fcn.1800eaf90
test al, al
je 0x1800eb1e6
sub rbx, qword [rsp + 0x70]
je 0x1800eb1a5
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 0x1800eb1e6
sub rbx, rdi
jne 0x1800eb170
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1801e68c0
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.1800eaf90
test al, al
je 0x1800eb1e6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800eb1a5
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1800e75f0
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rsp + 0x30]
call fcn.18020aad0
int3
Function at 0x1800eb2c0
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 0x1800eb30c
mov ecx, dword [0x1802b0580]
test ecx, ecx
jne 0x1800eb2fe
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 0x1800eb3d4
cmp eax, 0x20
jae 0x1800eb321
pause
jmp 0x1800eb3d4
jne 0x1800eb3b9
mov ecx, 7
call fcn.1800e98c0
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 0x1800eb365
mov ecx, dword [rsp + 0x24]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800eb38e
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 0x1800eb3af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rbx], rax
jmp 0x1800eb3d4
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
jmp 0x1800eb3d4
cmp dword [rbx + 8], edi
jne 0x1800eb3f2
and al, 1
je 0x1800eb41e
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800eb3d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801e68c0
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 0x1800eb40b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
jmp 0x1800eb410
mov rcx, qword [rsp + 0x28]
sub rcx, qword [rbx]
mov eax, dword [rbx + 8]
cmp rcx, rax
jb 0x1800eb3c2
mov dword [rbx + 8], edi
mov ecx, 1
jmp 0x1800eb3ce
Function at 0x1800eb770
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 0x1800eb7b2
nop dword [rax + rax]
lea edx, [rax - 1]
lock cmpxchg dword [r8], edx
je 0x1800eb97b
test eax, eax
jne 0x1800eb7a0
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 0x1800eb811
nop dword [rax]
lea ecx, [rax - 1]
lock cmpxchg dword [rdx], ecx
je 0x1800eb953
test eax, eax
jne 0x1800eb800
test ebx, ebx
jne 0x1800eb840
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800eb831
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 0x1800eb90b
cmp ebx, 0x20
jae 0x1800eb854
pause
inc ebx
jmp 0x1800eb7ec
jne 0x1800eb8ec
mov ecx, 7
call fcn.1800e98c0
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 0x1800eb898
mov ecx, dword [rsp + 0x38]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800eb8ba
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 0x1800eb8e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
inc ebx
mov qword [rsp + 0x40], rdi
jmp 0x1800eb7ec
mov rdi, qword [rsp + 0x40]
inc ebx
jmp 0x1800eb7ec
test esi, esi
jne 0x1800eb912
movzx eax, byte [rsp + 0x34]
and al, 1
je 0x1800eb941
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800eb90b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800eb7ec
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800eb930
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x48], rcx
jmp 0x1800eb935
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800eb8f9
mov esi, ebp
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1800eb7ec
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.1801e68c0
add rsp, 0xb0
pop r14
ret
Function at 0x1800edc30
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.1801e6190
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.1800dbbd0
lea r8d, [rbx + 0x10]
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18012aee0
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.1801e6190
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 0x1800edd4a
mov rdi, qword [r15 + 8]
mov rax, qword [r15 + 0x18]
sub rax, rdi
cmp rax, 0x10
jae 0x1800edd31
lea edx, [rbx + 0x10]
mov rcx, r15
call fcn.1800afec0
mov rdi, qword [r15 + 8]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbp
mov rcx, rdi
call fcn.18020b840
lea rax, [rdi + 0x10]
mov qword [r15 + 0x10], rax
call fcn.18012ab80
mov edx, 0xffffffff
mov rcx, rax
call fcn.18012ac40
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 0x1800edd97
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 0x1800edd80
lea rcx, [rsp + 0x38]
call fcn.1800b0070
mov rax, r15
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800eec40
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 0x1800eec7b
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 0x1800f3a10
Capabilities:
Check if file exists
Get file attributes

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

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

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