joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100031138
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rdi, rcx
lea rcx, [rsp + 0x40]
mov dword [rax + 0x10], 0x80070005
call fcn.100033184
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 2
call fcn.10003343c
xor esi, esi
cmp eax, esi
jl 0x1000311d9
lea rcx, [rsp + 0x40]
call fcn.100033554
cmp eax, 4
jne 0x1000311d9
lea rcx, [rsp + 0x40]
mov edx, 0x3e8
call fcn.1000323ac
mov ebx, eax
mov dword [rsp + 0xe8], eax
cmp byte [0x10003e21d], sil
je 0x1000311e0
cmp eax, esi
jl 0x1000311be
lea rdx, [rsp + 0x40]
lea rcx, [0x10003d270]
call fcn.10003269c
jmp 0x1000311d9
cmp eax, 0x80072af9
jne 0x1000311e0
lea rdx, [rsp + 0x40]
lea rcx, [0x10003d270]
mov r8d, eax
call fcn.1000325e0
mov ebx, dword [rsp + 0xe8]
cmp ebx, esi
jge 0x100031313
cmp ebx, 0x80072af9
je 0x100031313
lea rax, [rsp + 0xf0]
lea r8, [0x10003105c]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rbx, rax
cmp rax, rsi
je 0x10003130c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rdx, [0x100024168]
lea rcx, [0x10003e4e0]
xor r9d, r9d
mov r8d, 0xfa0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.100036cc8
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x100031303
lea rdx, [rsp + 0xe8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, esi
je 0x100031303
mov rcx, qword [0x10003daf8]
lea rax, [0x10003daf8]
cmp rcx, rax
je 0x1000312bc
test byte [rcx + 0x3c], 1
je 0x1000312bc
cmp byte [rcx + 0x39], 3
jb 0x1000312bc
mov r9d, dword [rsp + 0xe8]
mov rcx, qword [rcx + 0x30]
lea r8, [0x100023188]
mov edx, 0xb
call fcn.100030bc0
cmp dword [rsp + 0xe8], esi
je 0x1000312d2
mov dword [rsp + 0xe8], 0x80070005
jmp 0x100031303
cmp byte [0x10003e21d], sil
je 0x100031303
mov rcx, qword [rsp + 0x68]
mov eax, esi
cmp rcx, rsi
je 0x1000312ed
cmp word [rcx], si
setne al
cmp al, sil
je 0x100031303
lea rdx, [rsp + 0x40]
lea rcx, [0x10003d270]
call fcn.10003269c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0xe8]
lea rcx, [rsp + 0xa8]
call fcn.10002f874
lea rcx, [rsp + 0x98]
call fcn.100030020
lea rcx, [rsp + 0x88]
call fcn.100030020
lea rcx, [rsp + 0x78]
call fcn.100030020
lea rcx, [rsp + 0x68]
call fcn.100030020
lea rcx, [rsp + 0x50]
call fcn.100030020
lea rcx, [rsp + 0x40]
call fcn.100030020
lea r11, [rsp + 0xd0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x100033554
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
mov rdi, rcx
lea rcx, [rax - 0x18]
xor ebp, ebp
mov ebx, ebp
call fcn.10002fbf0
lea rdx, [0x100022fd8]
mov rcx, rdi
call fcn.100033ebc
cmp al, bpl
je 0x10003363e
mov r9, qword [rdi + 0x38]
mov rcx, r9
call fcn.100039db8
cmp al, bpl
je 0x1000335ae
lea ebx, [rbp + 4]
jmp 0x100033658
mov sil, bpl
mov eax, ebp
cmp r9, rbp
je 0x1000335bf
cmp word [r9], bp
setne al
lea r12, [0x10003e740]
cmp al, bpl
je 0x1000335eb
movzx eax, byte [r9]
cmp ax, word [r9]
jne 0x1000335eb
movzx esi, byte [r9]
mov rax, rsi
cmp byte [rsi + r12], bpl
jbe 0x1000335eb
movzx ebx, byte [rax + r12]
cmp ebx, ebp
jne 0x100033658
lea rcx, [rsp + 0x20]
mov r8d, 3
mov rdx, r9
call fcn.10002fd60
cmp eax, ebp
jl 0x100033658
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
cmp eax, 2
jne 0x100033634
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.100036490
cmp eax, 0x15e
je 0x10003362f
cmp eax, 0x20d
jne 0x100033634
mov ebx, 0x80
movzx eax, sil
mov byte [rax + r12], bl
jmp 0x100033658
lea rdx, [0x100023018]
mov rcx, rdi
call fcn.100033ebc
mov ecx, 5
cmp al, bpl
cmovne ebx, ecx
lea rcx, [rsp + 0x20]
call fcn.100030020
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop r12
ret
Function at 0x100035db0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x10003d110]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r12, [rdx + 0x10]
mov r14, r9
mov r13, r8
movzx ecx, word [r12]
mov rsi, rdx
mov rdi, r12
call qword [sym.imp.msvcrt.dll_iswdigit]
xor ebx, ebx
jmp 0x100035dff
add rdi, 2
movzx ecx, word [rdi]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, ebx
jne 0x100035df2
lea rdx, [0x1000247f8]
mov rcx, rdi
call fcn.10002fba4
cmp al, bl
je 0x100035e91
movzx ecx, word [rsi]
movabs rax, 0x5c003a003f
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_towupper]
lea rcx, [rsp + 0x20]
movzx ebp, ax
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x100035e77
lea esi, [rax + 0x3c]
mov edi, ebx
cmp si, bp
jae 0x100035e7f
lea r15d, [rax - 4]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], si
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x100035e6c
add edi, r15d
add si, r15w
cmp si, bp
jb 0x100035e54
jmp 0x100035e7a
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x100035e91
mov rcx, r12
mov dword [r13], edi
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [r14], eax
jmp 0x100035e96
mov ebx, 0x80070057
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.10003a9b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x100036490
Capabilities:
Check os version
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x230
lea rcx, [rsp + 0x40]
mov rbx, rdx
call fcn.10002fbf0
test rbx, rbx
je 0x1000365f5
cmp word [rbx], 0x41
jb 0x1000364cc
cmp word [rbx], 0x5a
ja 0x1000364cc
movzx edi, word [rbx]
sub edi, 0x40
jmp 0x1000364d2
movzx edi, word [rbx]
sub edi, 0x60
call qword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x1000365c4
lea r8d, [rdi + 0x40]
lea rdx, [0x1000243e0]
lea rcx, [rsp + 0x40]
call fcn.10003022c
test eax, eax
js 0x1000365be
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x40]
and dword [rsp + 0x28], 0
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1000365c4
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x248]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x70c00
mov rcx, rsi
mov dword [rsp + 0x28], 0x1e0
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000365b1
cmp dword [rsp + 0x248], 0
jbe 0x1000365b1
mov eax, dword [rsp + 0x58]
cmp eax, 1
je 0x1000365aa
jle 0x1000365b1
cmp eax, 5
jle 0x1000365a3
cmp eax, 0xa
jle 0x1000365aa
cmp eax, 0xb
je 0x10003659c
cmp eax, 0xc
jne 0x1000365b1
lea ebx, [rax - 0xb]
jmp 0x1000365b3
mov ebx, 2
jmp 0x1000365b3
mov ebx, 0x15e
jmp 0x1000365b3
mov ebx, 0x20d
jmp 0x1000365b3
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000365c0
xor ebx, ebx
test ebx, ebx
jne 0x1000365f7
lea r8d, [rdi + 0x40]
lea rdx, [0x100024840]
lea rcx, [rsp + 0x40]
call fcn.10003022c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x10003661f
cmp eax, 3
je 0x100036618
jbe 0x1000365f5
cmp eax, 6
jbe 0x10003661f
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.100030020
lea r11, [rsp + 0x230]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ebx, 1
jmp 0x1000365f7
mov ebx, 2
jmp 0x1000365f7

Function at 0x10003690c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov eax, dword [r8]
and dword [rsp + 0x60], 0
mov rbx, r8
mov dword [rsp + 0x68], eax
lea rax, [r11 - 0x18]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x20], rax
lea rax, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100036964
cmp dword [rsp + 0x60], 4
je 0x10003695a
cmp dword [rsp + 0x60], 3
jne 0x100036964
mov eax, dword [rsp + 0x68]
mov dword [rbx], eax
mov al, 1
jmp 0x100036966
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x100036974
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x30], 0
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
mov rbx, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x18]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x30], 3
mov edx, dword [rsp + 0x68]
jne 0x1000369c6
mov ecx, 2
test edx, edx
cmove eax, ecx
test eax, eax
jne 0x100036a1f
shr edx, 1
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov qword [rbx], rax
test rax, rax
je 0x100036a1f
mov ecx, dword [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x34], ecx
lea rcx, [rsp + 0x34]
mov rdx, rdi
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100036a0d
mov al, 1
jmp 0x100036a21
mov rcx, qword [rbx]
test rcx, rcx
je 0x100036a1f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rbx], 0
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x100036eec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov r12, rcx
lea rcx, [rsp + 0x40]
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov esi, 0xe
call fcn.10002fbf0
and dword [rbp], 0
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
call fcn.10003022c
test eax, eax
js 0x100036fea
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
xor ebx, ebx
and qword [rsp + 0x38], rbx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x100036f68
mov rbx, qword [rsp + 0x38]
test esi, esi
jne 0x100036fdc
and dword [rsp + 0x88], esi
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [0x100024928]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x30], 0x10
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x88], 4
mov esi, eax
je 0x100036fc5
mov esi, 0xd
jmp 0x100036fdc
test eax, eax
jne 0x100036fdc
mov eax, dword [rsp + 0x30]
cmp eax, 0x10
jae 0x100036fd7
mov dword [rbp], eax
jmp 0x100036fdc
mov esi, 0x57
test rbx, rbx
je 0x100036fea
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call fcn.100030020
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov eax, esi
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x1000370c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor edi, edi
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
je 0x100037253
test rcx, rcx
je 0x100037253
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r13, [0x10003e840]
sub eax, dword [0x10003e84c]
cmp eax, 0xea60
jae 0x100037129
mov rdx, rsi
mov rcx, r13
call fcn.10002fba4
test al, al
je 0x100037129
mov eax, dword [0x10003e850]
mov dword [rbp], eax
jmp 0x100037258
lea rdx, [0x100024a20]
mov r9, rbp
mov r8, rsi
mov rcx, 0xffffffff80000002
call fcn.100036eec
cmp eax, 3
je 0x100037150
cmp eax, 2
jne 0x1000371e4
lea rdx, [0x100024a90]
mov r9, rbp
mov r8, rsi
mov rcx, 0xffffffff80000001
call fcn.100036eec
cmp eax, 3
je 0x100037173
cmp eax, 2
jne 0x1000371e4
mov rcx, rsi
call fcn.100030aa8
movsxd rbx, eax
cmp ebx, 0xffffffff
je 0x1000371dd
lea r12, [0x10003d7d0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, 0x2b
jge 0x1000371b1
lea rax, [0x10001fe10]
shl rbx, 6
add rbx, rax
jmp 0x1000371c3
lea edx, [rbx - 0x2b]
lea rcx, [0x10003d7a8]
call fcn.100032cf4
mov rbx, qword [rax]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [rbx + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rbp], ebx
jmp 0x1000371e2
mov edi, 0xc00d0fda
xor eax, eax
test eax, eax
je 0x1000371f6
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x100037258
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jae 0x100037258
mov eax, 0x22
lea rcx, [rsp + 0x20]
or r8d, 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], 5
mov word [rsp + 0x2c], ax
call fcn.10002fd60
mov r11d, dword [rbp]
mov dword [0x10003e850], r11d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x20]
mov dword [0x10003e84c], eax
call fcn.100030020
jmp 0x100037258
mov edi, 0x80004003
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x100037400
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x60
mov r12, rcx
lea rcx, [rax - 0x20]
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov esi, 0xe
call fcn.10002fbf0
lea rcx, [rsp + 0x48]
mov r8, rbx
mov rdx, rdi
call fcn.10003022c
xor edi, edi
cmp eax, edi
jl 0x1000374ec
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov rbx, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp eax, edi
jne 0x100037483
mov rbx, qword [rsp + 0x40]
mov esi, edi
cmp esi, edi
jne 0x1000374de
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x30]
lea rdx, [0x100024b00]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x30], 4
mov esi, eax
je 0x1000374d3
mov esi, 0xd
jmp 0x1000374de
cmp eax, edi
jne 0x1000374de
mov edx, dword [rsp + 0x34]
mov dword [rbp], edx
cmp rbx, rdi
je 0x1000374ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x48]
call fcn.100030020
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x10003751c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor edi, edi
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x100037695
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r13, [0x10003e858]
sub eax, 0xea60
cmp eax, dword [0x10003e864]
jae 0x10003757c
mov rdx, rsi
mov rcx, r13
call fcn.10002fba4
test al, al
je 0x10003757c
mov eax, dword [0x10003e868]
mov dword [rbp], eax
jmp 0x10003769a
lea rdx, [0x100024a20]
mov r9, rbp
mov r8, rsi
mov rcx, 0xffffffff80000002
call fcn.100037400
test eax, eax
je 0x10003763c
lea rdx, [0x100024a90]
mov r9, rbp
mov r8, rsi
mov rcx, 0xffffffff80000001
call fcn.100037400
mov r12d, eax
test eax, eax
je 0x10003763c
mov rcx, rsi
call fcn.100030aa8
movsxd rbx, eax
cmp ebx, 0xffffffff
je 0x100037627
lea r12, [0x10003d7d0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, 0x2b
jge 0x1000375fb
lea rax, [0x10001fe10]
shl rbx, 6
add rbx, rax
jmp 0x10003760d
lea edx, [rbx - 0x2b]
lea rcx, [0x10003d7a8]
call fcn.100032cf4
mov rbx, qword [rax]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [rbx + 0x38]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rbp], ebx
jmp 0x10003763c
movzx edi, r12w
or edi, 0x80070000
test r12d, r12d
cmovle edi, r12d
test edi, edi
js 0x10003769a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jae 0x10003769a
mov eax, 0x22
lea rcx, [rsp + 0x20]
or r8d, 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], 5
mov word [rsp + 0x2c], ax
call fcn.10002fd60
mov r11d, dword [rbp]
mov dword [0x10003e868], r11d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x20]
mov dword [0x10003e864], eax
call fcn.100030020
jmp 0x10003769a
mov edi, 0x80004003
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x1000377f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
sub rsp, 0x40
lea rdx, [0x1000221e0]
xor ebx, ebx
mov rsi, rcx
mov dil, bl
call fcn.100033ebc
cmp al, bl
jne 0x100037839
lea rdx, [0x100022210]
mov rcx, rsi
call fcn.100033ebc
cmp al, bl
je 0x100037841
mov dil, bl
jmp 0x100037a22
lea rdx, [0x1000221a8]
mov rcx, rsi
call fcn.100033ebc
cmp al, bl
je 0x1000379f8
or ebp, 0xffffffff
mov r12d, 1
cmp dword [rsi + 0x84], ebp
je 0x100037881
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x88]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1388
jbe 0x10003789e
mov dl, r12b
mov rcx, rsi
call fcn.100031468
mov dword [rsi + 0x84], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x88], eax
mov eax, dword [rsi + 0x84]
cmp eax, ebp
je 0x1000378ac
test al, 0x10
jne 0x100037839
mov rcx, rsi
call fcn.100033554
cmp eax, 0x80
je 0x100037839
lea rcx, [rsp + 0x30]
call fcn.10002fbf0
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov ebp, ebx
mov dword [rsp + 0x68], ebx
call fcn.100033688
cmp eax, ebx
jl 0x1000379ec
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x100037901
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call fcn.10003751c
mov ebp, dword [rsp + 0x68]
mov edi, ebp
shr edi, 3
and dil, r12b
jne 0x1000379ec
test r12b, bpl
je 0x1000379b0
mov edx, 0xf
mov rcx, rsi
call fcn.1000337d0
cmp al, bl
je 0x1000379b0
lea rcx, [rsp + 0x20]
call fcn.10002fbf0
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call fcn.100033340
cmp eax, ebx
jl 0x1000379a4
lea rdx, [0x100021e38]
lea rcx, [rsp + 0x20]
call fcn.100030664
cmp eax, ebx
jge 0x1000379a4
lea rdx, [0x100021e60]
lea rcx, [rsp + 0x20]
call fcn.100030664
cmp eax, ebx
jge 0x1000379a4
lea rdx, [0x100021e90]
lea rcx, [rsp + 0x20]
call fcn.100030664
cmp eax, ebx
jge 0x1000379a4
lea rdx, [0x100021ea8]
lea rcx, [rsp + 0x20]
call fcn.100030664
movzx edi, dil
cmp eax, ebx
cmovl edi, r12d
lea rcx, [rsp + 0x20]
call fcn.100030020
jmp 0x1000379ec
cmp byte [0x10003e292], bl
je 0x1000379ec
lea rcx, [rsp + 0x20]
call fcn.10002fbf0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.100033688
cmp eax, ebx
jl 0x1000379df
mov rcx, qword [rsp + 0x20]
call fcn.100037a40
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.100030020
mov dil, bl
lea rcx, [rsp + 0x30]
call fcn.100030020
jmp 0x100037a22
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x100037a11
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1000376bc
jmp 0x100037a16
mov eax, 0x80004003
cmp eax, ebx
jl 0x100037a22
cmp dword [rsp + 0x68], ebx
setne dil
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov al, dil
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x100038118
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rdi, rcx
cmp byte [0x10003e293], sil
jne 0x100038179
mov qword [rax - 0x20], rsi
lea r8, [0x100037f68]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rax - 0x28], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, rsi
je 0x100038170
mov edx, 0xbb8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x10003e293], sil
je 0x1000381ee
lea rcx, [rsp + 0x30]
call fcn.10002fbf0
lea rcx, [rsp + 0x30]
or r8d, 0xffffffff
mov rdx, rdi
call fcn.10002fd60
cmp eax, esi
jl 0x1000381e4
mov rbx, qword [rsp + 0x30]
mov rdi, rbx
cmp rbx, rsi
je 0x1000381bf
cmp word [rbx], si
je 0x1000381bf
movzx ecx, word [rdi]
call qword [sym.imp.msvcrt.dll_towlower]
mov word [rdi], ax
add rdi, 2
cmp word [rdi], si
jne 0x1000381aa
lea rcx, [0x10003e590]
mov r8, rbx
mov rdx, rcx
call fcn.100038eac
cmp al, sil
je 0x1000381e4
lea rcx, [rsp + 0x30]
call fcn.100030020
mov al, 1
jmp 0x1000381f0
lea rcx, [rsp + 0x30]
call fcn.100030020
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x10003961c
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
xor r12d, r12d
mov rdi, rcx
cmp byte [rcx + 0x18], r12b
jne 0x1000397cc
lea rax, [r11 + 0x10]
mov byte [rcx + 0x18], 1
lea rdx, [0x100025800]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x68], rax
mov qword [r11 + 0x10], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1000397cc
mov rsi, qword [rsp + 0x98]
mov ebp, r12d
jmp 0x100039787
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0xa0]
mov edx, ebp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x90]
mov r8, rbx
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
inc ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
jne 0x1000397b4
mov eax, r12d
cmp rbx, r12
je 0x1000396d0
cmp word [rbx], r12w
setne al
cmp al, r12b
je 0x10003977d
cmp dword [rsp + 0x90], r12d
je 0x10003977d
lea rcx, [rsp + 0x50]
call fcn.10002fbf0
mov r11d, 0x2e
or r8d, 0xffffffff
lea rcx, [rsp + 0x50]
lea rdx, [rbx + 2]
cmp r11w, word [rbx]
je 0x10003970d
mov rdx, rbx
call fcn.10002fd60
mov rbx, qword [rsp + 0x50]
mov eax, r12d
cmp rbx, r12
je 0x100039726
cmp word [rbx], r12w
setne al
cmp al, r12b
je 0x100039773
cmp rbx, r12
je 0x100039768
mov r9d, 0x10
lea rax, [0x100030a98]
lea rdx, [0x1000208d0]
lea r8d, [r9 + 0x33]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_bsearch]
cmp rax, r12
je 0x100039760
mov eax, dword [rax + 8]
jmp 0x100039763
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x100039773
mov rdx, rbx
mov rcx, rdi
call fcn.100039098
lea rcx, [rsp + 0x50]
call fcn.100030020
lea rcx, [rsp + 0x40]
call fcn.100030020
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 0x104
call fcn.10002fbf0
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.10002fd00
cmp eax, r12d
jge 0x10003967f
lea rcx, [rsp + 0x40]
call fcn.100030020
cmp rsi, r12
je 0x1000397cc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret