joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100016570
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x10044c3b0], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100016750
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x10044c3b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100003130
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1002b6940], rax
mov r14, rax
jmp 0x1000166f7
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x1000165f8
cmp byte [r14], 0
je 0x100016701
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100016660
mov al, byte [r14]
cmp al, 1
jb 0x100016658
sub al, 0x20
jbe 0x100016634
sub al, 2
je 0x100016640
jmp 0x100016658
test dil, dil
je 0x100016666
add ebx, 1
jmp 0x10001665c
cmp byte [r14 + 1], 0x22
je 0x100016650
test dil, dil
sete dil
jmp 0x10001665c
add r14, 1
jmp 0x10001665c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100016620
test esi, esi
je 0x1000166f4
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100016750
xor dil, dil
mov r14, r12
mov rdx, qword [0x10044c3b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x1000166e8
mov al, byte [r14]
cmp al, 1
jb 0x1000166d8
sub al, 0x20
jbe 0x1000166ac
sub al, 2
je 0x1000166c0
jmp 0x1000166d8
test dil, dil
je 0x1000166ee
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x1000166e4
cmp byte [r14 + 1], 0x22
je 0x1000166d0
test dil, dil
sete dil
jmp 0x1000166e4
add r14, 1
jmp 0x1000166e4
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100016698
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x1000165fc
mov dword [0x10044c3a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x10044c3b0]
call fcn.1000129b0
mov rax, qword [0x10044c3b0]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x10004f6c0
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xf0]
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov qword [rbp - 0x98], 0
nop
mov rax, qword [rbp - 8]
lea rcx, [rbp - 0x98]
mov rdx, rax
call fcn.1000cf160
lea rcx, [rbp - 0x78]
xor r8d, r8d
mov edx, 0x68
call fcn.100003430
mov dword [rbp - 0x78], 0x68
cmp byte [rbp - 0x10], 0
jne 0x10004f71f
mov dword [rbp - 0x3c], 1
mov word [rbp - 0x38], 2
jmp 0x10004f725
mov word [rbp - 0x38], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000030
mov dword [rsp + 0x20], 0xffffffff
lea rax, [rbp - 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x98]
test rdx, rdx
jne 0x10004f76f
lea rdx, [0x10044c460]
xor r9, r9
xor r8, r8
xor ecx, ecx
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x10004f7c3
jmp 0x10004f794
mov rcx, qword [0x1002b7590]
call fcn.100027070
mov rcx, qword [rbp - 0x90]
mov edx, 0x64
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
ja 0x10004f788
mov rcx, qword [rbp - 0x90]
call fcn.1000dbf80
mov rcx, qword [rbp - 0x88]
call fcn.1000dbf80
jmp 0x10004f7c8
call fcn.1000db7c0
nop
mov rcx, rbp
call fcn.10004f6a0
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x10007d620
Capabilities:
Shutdown system

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x180]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x48], 0
nop
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
lea r8, [rbp - 0x10]
mov edx, 0x28
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x10007d73c
lea r8, [rbp - 0x1c]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x10007d73c
mov dword [rbp - 0x20], 1
mov dword [rbp - 0x14], 2
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x20]
mov rcx, qword [rbp - 0x10]
mov r9d, 0x10
xor edx, edx
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
mov dword [rbp - 0x3c], eax
test eax, eax
jne 0x10007d73c
xor edx, edx
mov ecx, 0xc
call sub.user32.dll_ExitWindowsEx
mov dword [rbp - 0x38], eax
test eax, eax
je 0x10007d6db
mov rcx, qword [rbp - 8]
lea rdx, str.Shutdown_Initiated
call fcn.100009340
jmp 0x10007d73b
call sub.kernel32.dll_GetLastError
and eax, eax
mov qword [rbp - 0x50], rax
mov r9d, 0xff
lea r8, [rbp - 0x150]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbp - 0x50]
call fcn.1000064e0
xor r8d, r8d
lea rdx, [rbp - 0x150]
lea rcx, [rbp - 0x48]
call fcn.100009cc0
xor r8b, r8b
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.10000ac90
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 8]
xor r9d, r9d
lea rdx, str.Shutdown_failed_with
call fcn.100009460
nop
nop
mov rcx, rbp
call fcn.10007d600
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x100098440
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 8], rcx
call fcn.100009310
nop
mov rax, qword [rbp - 8]
test rax, rax
je 0x100098460
mov rax, qword [rax - 8]
add rax, 2
mov dword [rbp - 0x1c], eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
xor r9d, r9d
lea r8, [0x100316018]
call fcn.100009460
movsxd rax, dword [rbp - 0x1c]
lea rdx, [rax + 0x14]
mov ecx, 0x2042
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp - 0x18], rax
test rax, rax
jne 0x1000984c4
lea r8, str.Could_not_allocate_memory.
mov edx, 1
lea rcx, [0x100323d88]
call fcn.1000dabe0
mov rcx, rax
lea rdx, [0x100098499]
mov r8, rbp
call fcn.100017530
nop
mov rcx, qword [rbp - 0x18]
call sub.kernel32.dll_GlobalLock
mov qword [rbp - 0x10], rax
mov dword [rax], 0x14
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x14]
movsxd r8, dword [rbp - 0x1c]
mov rcx, qword [rbp - 8]
call fcn.100003130
mov rcx, qword [rbp - 0x18]
call sub.kernel32.dll_GlobalUnlock
mov rcx, qword [0x10044da90]
call fcn.1001277e0
mov rcx, rax
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
mov rdx, qword [rbp - 0x18]
mov ecx, 0xf
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
nop
mov rcx, rbp
call fcn.100098420
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000c02d0
Capabilities:
Resume thread

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov ecx, dword [rbx + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x1000c02f0
mov dword [rbx + 0x10], 0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

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

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x100328fc8]
lea rcx, [rbp - 0x278]
call fcn.100010000
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x1000dc57f
lea rcx, [0x10044c460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000dc5c2
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x1000dc59d
clc
jmp 0x1000dc5a4
bt dword [0x100328218], eax
jb 0x1000dc5ba
mov rcx, rbp
call fcn.1000dc670
test al, al
je 0x1000dc5ba
mov dil, 1
jmp 0x1000dc640
xor dil, dil
jmp 0x1000dc640
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1002b8e30]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x1000dc640
and esi, 0x400
je 0x1000dc640
lea rbx, [rbp - 0x278]
lea rdx, [0x100328fc8]
mov rcx, rbx
call fcn.1000100e0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.1000dc160
test eax, eax
je 0x1000dc61c
sub eax, 1
je 0x1000dc634
jmp 0x1000dc63c
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.1000dc530
mov dil, al
jmp 0x1000dc640
mov dil, 1
jmp 0x1000dc640
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.1000dc500
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000dca50
Capabilities:
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x1000dca61
lea rcx, [0x10044c460]
call sub.kernel32.dll_GetFileAttributesW
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x1000dda90
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
mov rcx, rbx
xor edx, edx
call fcn.10000c0e0
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.1000d8490
jmp 0x1000ddb91
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000bfd0
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000ccd0
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000ca50
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.1000d8490
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c820
test rax, rax
jne 0x1000ddb7c
mov r9, qword [rbp - 8]
test r9, r9
je 0x1000ddb60
mov r9, qword [r9 - 8]
movsxd rax, esi
sub r9, rax
movsxd rax, esi
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 8]
call fcn.10000ca50
jmp 0x1000ddb9e
mov rcx, r12
call fcn.100004380
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x1000ddaf8
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.1000dda50
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000e80b0
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x80]
mov qword [rbp - 8], rcx
call fcn.100009310
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x48], 0
nop
mov byte [rbp - 0xc], 0
cmp qword [rbp - 8], 0
je 0x1000e81c7
nop
mov rcx, qword [rbp - 8]
call fcn.1000e7ba0
mov byte [rbp - 0x28], al
test al, al
je 0x1000e8114
mov rcx, qword [rbp - 8]
call fcn.1000e7c30
test al, al
je 0x1000e8114
mov rcx, qword [rbp - 8]
mov dl, 1
call fcn.1000e7d70
mov byte [rbp - 0xc], al
jmp 0x1000e81c7
cmp byte [rbp - 0x28], 0
je 0x1000e8139
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x20
call fcn.10000a4e0
test rax, rax
jle 0x1000e8139
mov byte [rbp - 0x24], 1
jmp 0x1000e813d
mov byte [rbp - 0x24], 0
cmp byte [rbp - 0x24], 0
je 0x1000e8178
lea rax, [0x1003300a8]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x38], rax
lea rax, [0x1003300a8]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 8]
xor r9d, r9d
mov r8d, 2
call fcn.100009730
nop
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.10000d9f0
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.10000bf30
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r8, qword [rbp - 0x18]
test r8, r8
jne 0x1000e81b3
lea r8, [0x10044c460]
xor r9, r9
xor edx, edx
xor ecx, ecx
call sub.shell32.dll_ShellExecuteW
cmp rax, 0x20
seta byte [rbp - 0xc]
nop
mov rcx, rbp
call fcn.1000e8080
mov al, byte [rbp - 0xc]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x100131356
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x380
xor esi, esi
lea rcx, [rax + 0x20]
mov qword [rax + 0x20], rsi
call fcn.100131306
lea rdx, [rsp + 0x110]
mov qword [rsp + 0xa0], rax
mov rcx, rax
mov rdi, rax
call fcn.10013122a
lea rax, [rsp + 0x110]
mov qword [rsp + 0x88], rax
mov ebx, dword [rsp + 0x168]
add rbx, rdi
cmp dword [rbx], esi
je 0x1001313f5
invalid
mov rdx, qword [rsp + 0x3a8]
mov ecx, esi
cmp word [rdx], si
je 0x1001313c8
inc ecx
cmp word [rdx + rcx*2], si
jne 0x1001313c0
cmp cl, byte [rbx]
je 0x1001313da
cmp cl, byte [rbx + 1]
je 0x1001313da
xor ecx, ecx
call qword [sym.imp.kernel32.dll_ExitProcess]
mov rcx, rdx
call fcn.100131332
cmp eax, dword [rbx + 4]
je 0x1001313f5
cmp eax, dword [rbx + 8]
je 0x1001313f5
xor ecx, ecx
call qword [sym.imp.kernel32.dll_ExitProcess]
mov edx, dword [rsp + 0x1b4]
lea rcx, [rsp + 0x20]
add rdx, rdi
call rdx
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10014a240
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x10014a2f2
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x10014a30f
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x10014a30f
sub dx, 0x20
je 0x10014a2e8
sub dx, 0x80
je 0x10014a2e8
sub dx, 0x1f62
jb 0x10014a30f
sub dx, 1
jbe 0x10014a2e8
sub dx, 6
je 0x10014a2e8
sub dx, 0x26
jne 0x10014a30f
nop
jmp 0x10014a2e8
cmp eax, dword [rbp - 0x2c]
jg 0x10014a290
nop dword [rax]
jmp 0x10014a30f
cmp dword [rbp - 0x28], 2
jne 0x10014a302
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x10014a30f
movzx ecx, byte [rbp - 0x18]
call fcn.10000c3e0
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10014a38c
sub ax, 0x21
je 0x10014a3a0
sub ax, 0x17
je 0x10014a3ac
sub ax, 0x222
je 0x10014a3b8
sub ax, 0x392
je 0x10014a3c0
sub ax, 1
je 0x10014a3c8
sub ax, 0x1996
je 0x10014a3d0
sub ax, 1
je 0x10014a3d8
sub ax, 6
je 0x10014a3e0
sub ax, 0xb
je 0x10014a3f0
sub ax, 0x1b
je 0x10014a3e8
sub ax, 0x367
je 0x10014a3f8
jmp 0x10014a400
movzx ecx, word [rbp - 0x30]
call fcn.10000c490
mov byte [rbp - 0x1c], al
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x20
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x2e
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x27
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x2c
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x27
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x20
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x20
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x20
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x20
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x2d
jmp 0x10014a408
mov byte [rbp - 0x1c], 0x27
jmp 0x10014a408
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x100277000
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 8], rcx
movsd qword [rbp - 0x10], xmm1
movsd qword [rbp - 0x18], xmm2
movsd qword [rbp - 0x20], xmm3
mov dword [rbp - 0x24], 0xffffff9b
nop dword [rax + rax]
add dword [rbp - 0x24], 1
cvtsi2sd xmm0, dword [rbp - 0x24]
divsd xmm0, qword [rbp - 0x10]
movsd qword [rbp - 0x30], xmm0
movsd xmm1, qword [0x1003db838]
xorpd xmm0, xmm1
mulsd xmm0, qword [rbp - 0x30]
mulsd xmm0, qword [0x1003db840]
call fcn.100005680
mov rax, qword [rbp - 8]
movsxd rdx, dword [rbp - 0x24]
cvtsd2ss xmm0, xmm0
movss dword [rax + rdx*4 + 0x194], xmm0
cmp dword [rbp - 0x24], 0x64
jl 0x100277028
mov rax, qword [0x1003db848]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x24], 0xffffff9b
nop
add dword [rbp - 0x24], 1
mov rdx, qword [rbp - 8]
movsxd rax, dword [rbp - 0x24]
cvtss2sd xmm0, dword [rdx + rax*4 + 0x194]
addsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x30], xmm0
cmp dword [rbp - 0x24], 0x64
jl 0x100277088
mov dword [rbp - 0x24], 0xffffff9b
nop dword [rax]
add dword [rbp - 0x24], 1
mov rax, qword [rbp - 8]
movsxd rdx, dword [rbp - 0x24]
cvtss2sd xmm0, dword [rax + rdx*4 + 0x194]
divsd xmm0, qword [rbp - 0x30]
mov rax, qword [rbp - 8]
movsxd rdx, dword [rbp - 0x24]
cvtsd2ss xmm0, xmm0
movss dword [rax + rdx*4 + 0x194], xmm0
cmp dword [rbp - 0x24], 0x64
jl 0x1002770b8
mov byte [rbp - 0x3c], 0x64
movsd xmm1, qword [0x1003db850]
mulsd xmm1, qword [rbp - 0x18]
movsd xmm0, qword [rbp - 0x20]
divsd xmm0, xmm1
movsd qword [rbp - 0x38], xmm0
mov rax, qword [0x1003db848]
mov qword [rbp - 0x30], rax
jmp 0x10027714b
mov rax, qword [rbp - 8]
movzx edx, byte [rbp - 0x3c]
movss xmm0, dword [0x1003db858]
mulss xmm0, dword [rax + rdx*4 + 0x194]
cvtss2sd xmm0, xmm0
addsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x30], xmm0
sub byte [rbp - 0x3c], 1
movsd xmm0, qword [rbp - 0x30]
comisd xmm0, xmmword [rbp - 0x38]
jp 0x10027715f
jae 0x10027715f
cmp byte [rbp - 0x3c], 1
ja 0x100277120
mov rax, qword [rbp - 8]
mov dl, byte [rbp - 0x3c]
mov byte [rax], dl
mov rax, qword [0x1003db848]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
neg rax
mov rdx, qword [rbp - 8]
movzx edx, byte [rdx]
cmp edx, eax
jl 0x1002771bc
mov dword [rbp - 0x24], eax
sub eax, 1
mov dword [rbp - 0x24], eax
nop dword [rax]
add dword [rbp - 0x24], 1
mov rax, qword [rbp - 8]
movsxd rcx, dword [rbp - 0x24]
cvtss2sd xmm0, dword [rax + rcx*4 + 0x194]
addsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x30], xmm0
cmp edx, dword [rbp - 0x24]
jg 0x100277198
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
neg rax
mov rdx, qword [rbp - 8]
movzx edx, byte [rdx]
cmp edx, eax
jl 0x100277214
mov dword [rbp - 0x24], eax
sub eax, 1
mov dword [rbp - 0x24], eax
nop word [rax + rax]
add dword [rbp - 0x24], 1
mov rax, qword [rbp - 8]
movsxd rcx, dword [rbp - 0x24]
cvtss2sd xmm0, dword [rax + rcx*4 + 0x194]
divsd xmm0, qword [rbp - 0x30]
mov rax, qword [rbp - 8]
movsxd rcx, dword [rbp - 0x24]
cvtsd2ss xmm0, xmm0
movss dword [rax + rcx*4 + 0x194], xmm0
cmp edx, dword [rbp - 0x24]
jg 0x1002771e0
lea rsp, [rbp]
pop rbp
ret
Function at 0x140049790
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
xor ebx, ebx
mov dword [rsp + 0x58], 4
cmp dword [0x14009b400], ebx
mov dword [rsp + 0x50], ebx
jne 0x14004980e
lea rax, [r11 + 0x10]
mov r9d, 0x20000010
mov qword [r11 - 0x18], rax
lea r8, str.CacheDisable
lea rax, [r11 + 8]
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFveDetect
mov qword [r11 - 0x28], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, 0xfffffffc
jne 0x14004980e
cmp eax, 1
je 0x14004980e
mov eax, dword [0x14009a71c]
cmp dword [rsp + 0x50], ebx
mov dword [0x14009b400], 1
cmovne eax, ebx
mov dword [0x14009a71c], eax
jmp 0x140049814
mov eax, dword [0x14009a71c]
add rsp, 0x40
pop rbx
ret

Function at 0x14004a6e0
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10

Function at 0x14004ab40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004ab8c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004ab84
cmp dword [rcx + 0x3c], edx
jl 0x14004ab84
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14004ab84
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14004ab8c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x18003b960
Capabilities:
Print debug messages

Disassembly:
jmp 0x18003b96c
push rbx
sub rsp, 0x540
mov rax, qword [0x1800b0070]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18003b9e9
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x18003ba09
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1800012b0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.18003b8c0
add rsp, 0x540
pop rbx
ret

Function at 0x18003b96c
Capabilities:
Print debug messages

Disassembly:
jmp 0x18003b96c
push rbx
sub rsp, 0x540
mov rax, qword [0x1800b0070]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18003b9e9
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x18003ba09
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1800012b0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.18003b8c0
add rsp, 0x540
pop rbx
ret

Function at 0x18003ba38
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18003bfc8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1800b0070]
and qword [rbp + 0x18], 0
movabs rbx, 0x2b992ddfa232
cmp rax, rbx
jne 0x18003c083
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
shl rax, 0x18
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp + 0x10]
mov eax, eax
xor rax, qword [rbp + 0x10]
xor rax, rcx
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 0x20]
shl rax, 0x20
movabs rcx, 0xffffffffffff
xor rax, qword [rbp + 0x20]
xor rax, qword [rbp + 0x10]
and rax, rcx
movabs rcx, 0x2b992ddfa233
cmp rax, rbx
cmove rax, rcx
mov qword [0x1800b0070], rax
mov rbx, qword [rsp + 0x48]
not rax
mov qword [0x1800b0078], rax
add rsp, 0x20
pop rbp
ret