joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006c810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180114d70]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18006c867
cmp word [rdx], r13w
jne 0x18006c867
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18006c86c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18006c991
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18006c9b2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18006c8a5
mov rdx, r9
mov word [rbx], cx
jmp 0x18006c8cc
cmp r9, r8
jae 0x18006c8dc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18006c886
jmp 0x18006c991
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006c986
cmp dword [rsp + 0x80], esi
je 0x18006c986
lea r8, [0x180114d70]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18006c95e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18006c92e
mov word [rbx], r13w
jmp 0x18006c98e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18006c93b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18006c98e
cmp word [rsp + 0x70], r13w
jne 0x18006c96b
cmp rbx, r14
je 0x18006c928
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18006d5e0
cmp word [rsp + 0x70], r13w
je 0x18006c991
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180114d70]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18006c98b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18006c991
Function at 0x18006d77c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18006d792
mov al, 1
jmp 0x18006d7f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18006d7a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18006d7f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800739e4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18006d7f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18006d7f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18006d7f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18006d7f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180071ddc
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180071e0c
xor eax, eax
jmp 0x180071ecf
mov rbp, rbx
cmp word [rax], si
je 0x180071e31
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180071e18
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180071e14
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180071cfc
movsxd r14, eax
test eax, eax
jne 0x180071e6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180071e05
mov rcx, r14
call fcn.18006a6e4
mov rdi, rax
test rax, rax
jne 0x180071e88
xor ecx, ecx
call fcn.18006a6a8
jmp 0x180071e64
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180071cfc
test eax, eax
jne 0x180071eb9
mov rcx, rdi
call fcn.18006a6a8
jmp 0x180071ec3
xor ecx, ecx
call fcn.18006a6a8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18007773c
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18006d5e0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18006d5e0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18007788c
cmp rax, 0xffffffffffffffff
je 0x18007788c
xor edi, edi
test rbp, rbp
jle 0x180077837
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18006a838
mov rbx, rax
test rax, rax
jne 0x1800777c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18007782d
mov edx, 0x8000
mov ecx, r14d
call fcn.1800775c0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18006c508
cmp eax, 0xffffffff
je 0x18007780d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800777d4
mov edx, r15d
mov ecx, r14d
call fcn.1800775c0
jmp 0x18007782d
cmp byte [rsi + 0x38], dil
je 0x180077824
cmp dword [rsi + 0x34], 5
jne 0x180077824
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18007782d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18006a6a8
jmp 0x1800778a0
jns 0x1800778a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18006d5e0
cmp rax, 0xffffffffffffffff
jne 0x180077858
cmp byte [rsi + 0x30], dil
je 0x1800778a0
mov edi, dword [rsi + 0x2c]
jmp 0x1800778a0
mov ecx, r14d
call fcn.1800739e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800778a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800778a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180077899
mov eax, dword [rsi + 0x2c]
jmp 0x18007789e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18006d5e0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180078cc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180078ce8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180078ce8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1dce850
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1dce85d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1dce86d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1dce855
lea eax, [rcx + 1]
jmp 0x1dce87b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1dce88e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1dce874
sub eax, 3
jb 0x1dce8ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1dce8fd
sar eax, 1
movsxd rbp, eax
jb 0x1dce8e4
jmp 0x1dce8bc
add ebx, ebx
jne 0x1dce8ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1dce8e4
inc ecx
add ebx, ebx
jne 0x1dce8ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1dce8e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1dce8dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1dce8cc
add ecx, 2
jmp 0x1dce8e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01dce812
jmp 0x1dce85d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x19b1000]
mov eax, dword [rdi]
or eax, eax
je 0x1dce959
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x19ce000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1dce909
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1dce953
mov qword [rbx], rax
add rbx, 8
jmp 0x1dce929
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1dce99d
cmp al, 0xef
ja 0x1dce985
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1dce965
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1dce974
mov eax, dword [rdi]
add rdi, 4
jmp 0x1dce974
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1dce9f1
sub rsp, 0xffffffffffffff80
jmp 0x4734e0
Function at 0x140005cc0
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov r15, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
mov rbx, rdx
lea r8d, [rax + 0x68]
repne scasw ax, word [rdi]
xor edx, edx
not rcx
lea rdi, [rcx - 1]
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_memset
mov edx, edi
mov rcx, r15
mov dword [rsp + 0x20], 0x68
call fcn.140002e70
lea rcx, [r15 + 0x10]
mov edx, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
call fcn.140002e70
lea rcx, [r15 + 0x20]
mov edx, edi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edi
call fcn.140002e70
lea rcx, [r15 + 0x28]
mov edx, edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rax
call fcn.140002e70
lea rcx, [r15 + 0x30]
mov edx, edi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rax
call fcn.140002e70
lea rcx, [r15 + 0x38]
mov edx, edi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], edi
call fcn.140002e70
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], edi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov rcx, r15
test eax, eax
setne dil
call fcn.140003110
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15]
xor ebx, ebx
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [r15]
mov word [rax + rcx*2], bx
lea rcx, [r15 + 0x10]
call fcn.140003110
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15 + 0x10]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [r15 + 0x10]
mov word [rax + rcx*2], bx
lea rcx, [r15 + 0x20]
call fcn.140003110
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15 + 0x20]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [r15 + 0x20]
mov word [rax + rcx*2], bx
lea rcx, [r15 + 0x28]
call fcn.140003110
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15 + 0x28]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [r15 + 0x28]
mov word [rax + rcx*2], bx
lea rcx, [r15 + 0x30]
call fcn.140003110
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15 + 0x30]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [r15 + 0x30]
mov word [rax + rcx*2], bx
lea rcx, [r15 + 0x38]
call fcn.140003110
mov rcx, qword [r15 + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r15 + 0x38]
lea r11, [rsp + 0x90]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov dword [rcx - 8], eax
mov rcx, qword [r15 + 0x38]
movsxd rdx, eax
mov al, dil
mov word [rcx + rdx*2], bx
mov ecx, dword [rsp + 0x34]
mov rbx, qword [r11 + 0x30]
mov dword [r15 + 8], ecx
movzx ecx, word [rsp + 0x44]
mov word [r15 + 0x18], cx
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006500
Capabilities:
Create http request

Disassembly:
push rbx
sub rsp, 0x4d0
mov rax, qword [0x14001b030]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
cmp dword [rcx + 8], 0
mov rbx, rcx
je 0x14000652b
xor eax, eax
jmp 0x1400066ab
mov dword [rcx + 8], 1
mov qword [0x14001ce50], rcx
add rcx, 0xe8
mov qword [rsp + 0x4e8], rsi
mov qword [rsp + 0x4f0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x50]
call sub.MSVCR90.dll_memset
lea rax, [0x140006040]
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 0x50
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rsi, str.BDJOBSWND
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rsp + 0x88]
xor r11d, r11d
mov r9d, 0x80880000
xor r8d, r8d
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], 0xfffffffffffffffd
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r11d
mov rdx, rsi
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.0_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x50], rax
mov dword [rsp + 0x20], 0x10000000
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, qword [rsp + 0x4e8]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x140006628
mov eax, 0x80004005
jmp 0x1400066a3
lea rdx, [0x140005ec0]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov r9d, 4
lea r8, [rsp + 0x60]
lea edx, [r9 + 0x45]
xor ecx, ecx
mov dword [rsp + 0x64], 0x400
mov qword [rbx + 0x68], rax
mov dword [rsp + 0x60], 8
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
lea r8, [rsp + 0x60]
xor ecx, ecx
lea edx, [r9 + 0x46]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea r9, [rsp + 0x64]
lea r8, [rsp + 0xc0]
mov edx, 0x4a
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
lea rcx, [rbx + 0xe8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov rdi, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14000cb70
add rsp, 0x4d0
pop rbx
ret

Function at 0x140007680
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [rdx]
lea rdx, [0x140013068]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x1400095e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r13
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r8, r9
mov r9, qword [rsp + 0x80]
mov r13, rcx
mov qword [rsp + 0x28], rax
xor esi, esi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [r13 + 0x58]
mov r11, rax
mov qword [rsp + 0x60], rax
test rdx, rdx
jne 0x14000962e
mov rcx, rsi
jmp 0x140009639
mov rcx, qword [r13 + 0x68]
sub rcx, rdx
sar rcx, 3
mov rbx, qword [r13 + 0x60]
mov rax, rbx
sub rax, rdx
sar rax, 3
cmp rax, rcx
jae 0x14000965c
lea rax, [rbx + 8]
mov qword [rbx], r11
mov qword [r13 + 0x60], rax
jmp 0x140009731
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r12
cmp rdx, rbx
jbe 0x140009671
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rcx, qword [r13 + 0x60]
mov r12, qword [r13 + 0x58]
mov rbp, qword [r13 + 0x40]
mov rax, rcx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbx
sub rax, r12
test rax, 0xfffffffffffffff8
jne 0x14000969a
mov rbx, rsi
jmp 0x1400096bd
cmp r12, rcx
jbe 0x1400096a5
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test rbp, rbp
je 0x1400096b0
cmp rbp, qword [r13 + 0x40]
je 0x1400096b6
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
sub rbx, r12
sar rbx, 3
movaps xmm0, xmmword [rsp + 0x30]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x40]
mov r8d, 1
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140008680
mov rbp, qword [r13 + 0x58]
mov r12, qword [rsp + 0x70]
cmp rbp, qword [r13 + 0x60]
jbe 0x1400096f6
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rdi, qword [r13 + 0x40]
test rdi, rdi
jne 0x14000970a
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov r11, rsi
jmp 0x14000970d
mov r11, qword [rdi]
lea rax, [rbp + rbx*8]
mov rbp, qword [rsp + 0x68]
cmp rax, qword [r11 + 0x20]
ja 0x14000972b
test rdi, rdi
je 0x140009725
mov rsi, qword [rdi]
cmp rax, qword [rsi + 0x18]
jae 0x140009731
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lock add dword [r13 + 0x74], 1
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop rdi
pop rsi
ret
Function at 0x14000af10
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14001b030]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rcx
xor edi, edi
mov dword [rcx], 0x2710
lea rbp, vtable.SpeedBit::Utils::StackBufferEx_128_.0
mov qword [rsp + 0x30], rbp
mov qword [r11 - 0x28], 0x80
lea rax, [rsp + 0x38]
mov qword [r11 - 0x30], rax
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x38]
call sub.MSVCR90.dll_memset
nop
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x10]
mov r8d, ebx
mov rdx, rax
lea rcx, str.SB_VAR_F3B44D29_36CA_4481_9EA7_B31ADA3C649E
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x14000afde
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x38]
cmp ebx, eax
jae 0x14000afde
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x10]
mov rdx, rsi
mov rcx, rax
call fcn.14000adf0
mov edi, eax
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x14000b008
test rcx, rcx
je 0x14000b004
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x14000b00a
mov eax, edi
jmp 0x14000b00a
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000cb70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000d12f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001b030]
jne 0x14000cb8a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cb86
repz ret
ror rcx, 0x10
jmp 0x14000d088
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001c700]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14001c7f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000d10d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14001c700]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000d12f
mov rax, qword [rsp + 0x88]
mov qword [0x14001c7f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001c798], rax
mov rax, qword [0x14001c7f8]
mov qword [0x14001c670], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001c780], rax
mov dword [0x14001c660], 0xc0000409
mov dword [0x14001c664], 1
mov rax, qword [0x14001b030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001b038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001c6f8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140012760]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001c6f8], 0
jne 0x14000d1b6
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000d56c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14001b030]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.MSVCR90.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14000d5ff
cmp dword [rsp + 0x24], 5
jb 0x14000d619
jmp 0x14000d615
cmp dword [rsp + 0x30], esi
jne 0x14000d619
cmp dword [rsp + 0x24], 4
ja 0x14000d615
jne 0x14000d619
cmp dword [rsp + 0x28], 0
jbe 0x14000d619
mov byte [rbx + 0x18], sil
lea rax, [0x140012780]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.14000d464
movzx ecx, byte [0x14001cd10]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x14001cd10], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000cb70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400112c6
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400172e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x140026018]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x14002c0f4]
call fcn.1400116c7
mov dword [rbp + 0x174], 0
xor edx, edx
mov ecx, 2
call fcn.140011325
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001734e
xor eax, eax
jmp 0x1400173b5
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400115a0
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x1400173a5
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x290]
call fcn.140011771
test eax, eax
jne 0x140017390
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x174], eax
jmp 0x1400173a5
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400116db
mov dword [rbp + 0x194], eax
jmp 0x140017368
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x174]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022030]
call fcn.1400115af
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.140011339
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret

Function at 0x1400113e3
Capabilities:
Terminate process

Disassembly:
jmp 0x14001a3a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret