joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test al, 0x99
invalid
shl dword [rdx - 0x42], cl
mov dh, 0xf0
fcmovnb st(0), st(1)
cli
invalid
push rax
mov word [rsi + 0x57f71ca1], cs
or dword [rdi + 0x1f], eax
jl 0x14003f6a0
scasb al, byte [rdi]
mov ah, byte [rbx + 0x1c1d6ceb]
and eax, 0x1ee66094
nop
vpsubusb ymm4, ymm4, ymmword [rsi + 0x6c]
fsub dword [rsi + 0x6c]
fsub dword [rsi + 0x6c]
jl 0x14003f689
invalid
loope 0x14003f728
invalid
push rdx
sbb byte [r9], r13b
cld
imul edx, esi, 0x2760aadf
xchg edi, eax
xchg ecx, eax
cmp eax, 0xa10396c7
invalid
xchg esi, eax
invalid
invalid
jp 0x14003f6e3
stosb byte [rdi], al
invalid
invalid
test eax, 0xce018266
add al, 0x34
invalid
invalid
push rcx
xor eax, 0x94265dec
xchg esp, eax
shl dword [rax + rax], 0x77
invalid
invalid
ficom dword [rsi + 0x6c]
invalid
xchg ebx, eax
invalid
Function at 0x100002f50
Capabilities:
Query or enumerate registry value

Disassembly:
push rcx
cmp byte [0x10040cf54], 0
je 0x100002f79
cmp word [0x10040d133], 0xd7b2
jne 0x100002f41
cmp dword [0x10040d144], 0
jbe 0x100002f41
mov eax, 0x40a204
call qword [0x10040d161]
push 0
lea eax, [rsp + 4]
push rax
push 0x1e
push 0x409060
push 0xfffffffffffffff5
call sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW
push rax
call sym.imp.ADVAPI32.dll_RegEnumValueW
push 0
lea eax, [rsp + 4]
push rax
push 2
push 0x402fa0
push 0xfffffffffffffff5
call sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW
push rax
call sym.imp.ADVAPI32.dll_RegEnumValueW
pop rdx
ret
cmp byte [0x10040bfa4], 0
jne 0x100002f95
push 0
push 0x409058
push 0x409060
push 0
call sym.imp.ADVAPI32.dll_RegOpenKeyExW
pop rdx
ret

Function at 0x10000e630
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rcx, qword [0x1000290c0]
mov dword [rsp + 0x20], reloc.sqldk.dll_Ordinal_187
mov rax, qword gs:[0x30]
mov esi, edx
add rax, rcx
cmp rcx, 0x1480
jge 0x10000e673
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x10000e684
mov rax, qword [rax + 0xd8]
test rax, rax
jne 0x10000e6b6
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x10000e6af
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x10000e6c9
mov rdx, qword [rax + 0x388]
jmp 0x10000e6cb
xor edx, edx
mov rax, qword [sym.imp.sqldk.dll_Ordinal_1014]
xor ecx, ecx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], ecx
test byte [rax], 1
je 0x10000e763
test rdx, rdx
je 0x10000e763
lea rcx, [rdx + 0x6b8]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10000e763
inc qword [rcx + 0x1768]
mov rcx, qword [rsp + 0x38]
mov edx, reloc.sqldk.dll_Ordinal_187
call qword [sym.imp.sqldk.dll_Ordinal_475]
mov rcx, qword [rsp + 0x38]
mov edx, reloc.sqldk.dll_Ordinal_187
mov rbx, rax
call qword [sym.imp.sqldk.dll_Ordinal_357]
mov r11, rax
test rbx, rbx
je 0x10000e75e
test rax, rax
je 0x10000e75e
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov rax, rbx
div r11
mov edx, 0xfa
mov ebx, 0x61a8
shr rax, 1
cmp rax, rdx
cmova rdx, rax
cmp rdx, rbx
cmovb rbx, rdx
jmp 0x10000e768
mov rcx, qword [rsp + 0x38]
mov ebx, 0xfa
mov ebp, 0x3b9aca00
nop dword [rax]
xor edx, edx
test rbx, rbx
je 0x10000e78c
mov rax, rbx
mov rdx, rbx
nop dword [rax]
pause
dec rax
jne 0x10000e780
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x10000e798
add qword [rcx + 0x1760], rdx
xor eax, eax
lock cmpxchg dword [rdi], esi
je 0x10000e7de
mov rcx, qword [rsp + 0x38]
lea rax, [rbx + rbx]
cmp rax, rbp
mov rbx, rax
cmova rbx, rbp
inc dword [rsp + 0x40]
test rcx, rcx
je 0x10000e7c9
movsxd rax, dword [rsp + 0x20]
shl rax, 5
inc dword [rax + rcx + 0x18]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.sqldk.dll_Ordinal_187]
mov rcx, qword [rsp + 0x38]
jmp 0x10000e770
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1000124a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov word [rcx + 0x10], ax
mov dword [rcx + 0x14], eax
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x1000124ef
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x100012500
mov rcx, qword [rax + 0xd8]
test rcx, rcx
jne 0x100012532
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x10001252b
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 0xd8]
mov rdi, qword [rcx + 0x400]
mov qword [rsp + 0xb0], rdi
mov rax, qword [sym.imp.sqldk.dll_Ordinal_915]
mov qword [rcx + Ordinal_1028], rax
mov qword [rsp + 0xb8], rdi
mov rdx, qword [sym.imp.sqldk.dll_Ordinal_819]
lea rcx, [rsp + 0x50]
call fcn.100002090
nop
mov rax, qword [rsi + 0x388]
movzx ecx, word [rax + 0x88]
mov word [rbx + 0x10], cx
mov rax, qword [rsi + 0x218]
mov ecx, dword [rax + 0xabc]
mov dword [rbx + 0x14], ecx
mov rsi, qword [rsi + 0x228]
test rsi, rsi
je 0x1000125bf
mov eax, dword [rsi + 0xf0]
mov dword [rbx], eax
mov rax, qword [rsi + 0x100]
test rax, rax
jne 0x1000125bb
mov rcx, rsi
call qword [sym.imp.sqldk.dll_Ordinal_258]
mov rax, qword [rsi + 0x100]
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x50]
call fcn.100002030
nop
jmp 0x1000125dc
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x1000125fe
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x10001260f
mov rax, qword [rax + 0xd8]
test rax, rax
jne 0x100012641
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x10001263a
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100012651
call qword [sym.imp.sqldk.dll_Ordinal_304_1]
nop
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x100012673
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x10001268d
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x10001268d
mov qword [rcx + Ordinal_1028], rdi
jmp 0x1000126c6
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x1000126b8
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
mov qword [rax + Ordinal_1028], rdi
mov rax, rbx
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x100014910
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rcx, qword [0x1000290c0]
mov dword [rsp + 0x20], Ordinal_263
mov rax, qword gs:[0x30]
mov esi, edx
add rax, rcx
cmp rcx, 0x1480
jge 0x100014953
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x100014964
mov rax, qword [rax + 0xd8]
test rax, rax
jne 0x100014996
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x10001498f
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1000149a9
mov rdx, qword [rax + 0x388]
jmp 0x1000149ab
xor edx, edx
mov rax, qword [sym.imp.sqldk.dll_Ordinal_1014]
xor ecx, ecx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], ecx
test byte [rax], 1
je 0x100014a43
test rdx, rdx
je 0x100014a43
lea rcx, [rdx + 0x6b8]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x100014a43
inc qword [rcx + 0x2008]
mov rcx, qword [rsp + 0x38]
mov edx, 0x100
call qword [sym.imp.sqldk.dll_Ordinal_475]
mov rcx, qword [rsp + 0x38]
mov edx, 0x100
mov rbx, rax
call qword [sym.imp.sqldk.dll_Ordinal_357]
mov r11, rax
test rbx, rbx
je 0x100014a3e
test rax, rax
je 0x100014a3e
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov rax, rbx
div r11
mov edx, 0xfa
mov ebx, 0x61a8
shr rax, 1
cmp rax, rdx
cmova rdx, rax
cmp rdx, rbx
cmovb rbx, rdx
jmp 0x100014a48
mov rcx, qword [rsp + 0x38]
mov ebx, 0xfa
mov ebp, 0x3b9aca00
nop dword [rax]
xor edx, edx
test rbx, rbx
je 0x100014a6c
mov rax, rbx
mov rdx, rbx
nop dword [rax]
pause
dec rax
jne 0x100014a60
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x100014a78
add qword [rcx + 0x2000], rdx
xor eax, eax
lock cmpxchg dword [rdi], esi
je 0x100014abe
mov rcx, qword [rsp + 0x38]
lea rax, [rbx + rbx]
cmp rax, rbp
mov rbx, rax
cmova rbx, rbp
inc dword [rsp + 0x40]
test rcx, rcx
je 0x100014aa9
movsxd rax, dword [rsp + 0x20]
shl rax, 5
inc dword [rax + rcx + 0x18]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.sqldk.dll_Ordinal_187]
mov rcx, qword [rsp + 0x38]
jmp 0x100014a50
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x100014f20
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rcx
lea rbx, [rcx + 0x90]
mov qword [rax - 0x68], rbx
mov dword [rax - 0x60], 0
call qword [sym.imp.sqldk.dll_Ordinal_362]
mov edx, eax
xor eax, eax
lock cmpxchg dword [rbx], edx
mov ecx, 0
sete cl
mov rbx, qword [rsp + 0x30]
test ecx, ecx
jne 0x100014f73
mov rcx, rbx
call fcn.10000e630
mov dword [rsp + 0x38], 1
mov rdi, qword [rdi + 0x98]
xor eax, eax
mov dword [rsp + 0x20], eax
test rdi, rdi
je 0x100015152
cmp qword [rdi + 0x228], rax
je 0x100015152
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x100014fc0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x100014fd1
mov rcx, qword [rax + 0xd8]
test rcx, rcx
jne 0x100015003
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x100014ffc
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 0xd8]
mov rbx, qword [rcx + 0x400]
mov qword [rsp + 0xa0], rbx
mov rax, qword [sym.imp.sqldk.dll_Ordinal_915]
mov qword [rcx + Ordinal_1028], rax
mov qword [rsp + 0xa8], rbx
mov rdx, qword [sym.imp.sqldk.dll_Ordinal_819]
lea rcx, [rsp + 0x68]
call fcn.100002090
nop
mov rax, qword [rdi + 0x228]
mov qword [rsp + 0xb0], rax
mov eax, dword [rax + 0xf0]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.100002030
nop
jmp 0x100015068
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x10001508a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x10001509b
mov rax, qword [rax + 0xd8]
test rax, rax
jne 0x1000150cd
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x1000150c6
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
cmp dword [rax + 0x204], 0
je 0x1000150dd
call qword [sym.imp.sqldk.dll_Ordinal_304_1]
nop
mov rcx, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, rcx
cmp rcx, 0x1480
jge 0x1000150ff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x100015110
mov rax, qword [rax + 0xd8]
test rax, rax
jne 0x100015142
call qword [sym.imp.sqldk.dll_Ordinal_7]
mov r11, qword [0x1000290c0]
mov rax, qword gs:[0x30]
add rax, r11
cmp r11, 0x1480
jge 0x10001513b
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rax + 0xd8]
mov qword [rax + Ordinal_1028], rbx
mov rbx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x20]
test rbx, rbx
je 0x10001515d
mov dword [rbx], 0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x10001a140
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x40
cmp dword [0x100029f20], 0
mov r15d, r8d
mov rbx, rdx
je 0x10001a166
mov eax, 1
add rsp, 0x40
pop r15
pop rsi
pop rbx
ret
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], r14
call fcn.100019a70
or rdi, 0xffffffffffffffff
test rdx, rdx
je 0x10001a192
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x10001a186
jmp 0x10001a197
mov eax, 3
lea r14d, [rax + 1]
mov r8d, Ordinal_263
lea r12, [0x100029f40]
sub r8d, r14d
mov rdx, r12
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r11d, eax
test eax, eax
je 0x10001a34f
lea rcx, [r12 - 2]
lea rcx, [rcx + r11*2]
call fcn.100019a70
xor r13d, r13d
mov edx, r13d
mov r8d, r13d
cmp rcx, r12
jbe 0x10001a208
test r8, r8
jne 0x10001a1f5
cmp word [rcx], 0x2e
jne 0x10001a1fd
mov r8, rcx
jmp 0x10001a1fd
cmp word [rcx], 0x5c
cmove rdx, rcx
sub rcx, 2
test rdx, rdx
je 0x10001a1e0
jmp 0x10001a211
test rdx, rdx
je 0x10001a34f
lea rcx, [rdx + 2]
lea rbp, [r8 + 2]
mov esi, 1
test rbx, rbx
je 0x10001a231
lea r8d, [r14 + r14]
mov rdx, rbx
call sub.MSVCR100.dll_memcpy
jmp 0x10001a286
mov r9d, dword [0x100029230]
mov r8, qword [0x100029228]
mov rax, rcx
sub rax, r12
mov edx, esi
sar rax, 1
sub r11d, eax
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rcx
mov ecx, Ordinal_1028
call qword [sym.imp.KERNEL32.dll_CompareStringW]
lea r8d, [r14 + r14]
lea rdx, [0x10001a388]
cmp eax, 2
mov ebx, r13d
mov rcx, rbp
cmove ebx, esi
call sub.MSVCR100.dll_memcpy
test ebx, ebx
jne 0x10001a34f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001a34f
lea rbx, [0x10002a360]
mov rdx, r12
mov r8d, 0x208
mov rcx, rbx
call sub.MSVCR100.dll_memcpy
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x10001a2b3
dec rax
cmp word [rbx + rax*2], 0x5c
lea rax, [rbx + rax*2]
je 0x10001a2df
nop dword [rax + rax]
cmp rax, rbx
jbe 0x10001a2df
sub rax, 2
cmp word [rax], 0x5c
jne 0x10001a2d0
mov word [rax], r13w
sub rax, rbx
mov rcx, rbx
sar rax, 1
inc eax
mov dword [0x100029f24], eax
call fcn.100019a70
lea rbx, [0x10002a150]
mov rcx, rbx
mov rdx, r12
mov r8d, 0x208
call sub.MSVCR100.dll_memcpy
inc rdi
cmp word [rbx + rdi*2], r13w
jne 0x10001a311
mov eax, edi
mov rcx, rbx
lea rdx, [rbx + rax*2]
mov rax, qword [0x10001a378]
mov qword [rdx], rax
movzx eax, word [0x10001a380]
mov word [rdx + 8], ax
call fcn.100019a70
mov dword [0x100029f28], r15d
mov dword [0x100029f20], esi
mov eax, esi
jmp 0x10001a351
xor eax, eax
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop rsi
pop rbx
ret
Function at 0x10001c290
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
lea rcx, [0x10001c300]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x10001c2e8]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10002c0e0], rax
jne 0x10001c2cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rsp + 0x24]
mov dword [0x10002c0e8], r11d
add rsp, 0x50
pop rbx
ret

Function at 0x10001c760
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
test r9, r9
lea r10d, [r9 + r9]
mov rdi, r9
mov rsi, r8
mov r11, rdx
mov dword [rsp + 0x30], r10d
mov rbp, rcx
mov dword [rsp + 0x68], ebx
je 0x10001c7e3
cmp r9, 0x7fffffff
ja 0x10001c7e3
mov r8, r9
mov ecx, 0x7ffffffe
mov rdx, rsi
sub rcx, r9
lea r9, [0x100003638]
sub r9, rsi
lea rax, [rcx + r8]
test rax, rax
je 0x10001c7d7
movzx eax, word [r9 + rdx]
test ax, ax
je 0x10001c7d7
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x10001c7b5
jmp 0x10001c7dc
test r8, r8
jne 0x10001c7e0
sub rdx, 2
mov word [rdx], bx
mov eax, r10d
cmp rax, rdi
jae 0x10001c7f2
mov eax, 0x80070057
jmp 0x10001c861
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r11
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001c850
cmp dword [rsp + 0x68], 1
jne 0x10001c849
mov eax, dword [rsp + 0x30]
test al, 1
jne 0x10001c849
cmp eax, 2
jb 0x10001c849
shr rax, 1
cmp word [rsi + rax*2 - 2], bx
je 0x10001c85f
cmp rax, rdi
jae 0x10001c842
mov word [rsi + rax*2], bx
jmp 0x10001c85f
mov ebx, 0x8007007a
jmp 0x10001c85f
mov ebx, 0x8007000b
jmp 0x10001c85f
jg 0x10001c856
mov ebx, eax
jmp 0x10001c85f
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000b008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000b008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret

Function at 0x140002590
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140027390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002605
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400025fc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025b0
add rax, 0x28
cmp rax, r9
jne 0x1400025e8
xor eax, eax
ret

Function at 0x140002610
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140027390]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002630
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002638
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002630
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400026c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140027390]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400026e0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400026e8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret