joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x4cd0be
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x4cd0a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x4cd2a5
mov ecx, 3
call fcn.004da5c0
cmp eax, 1
je 0x4cd25c
mov ecx, 3
call fcn.004da5c0
test eax, eax
jne 0x4cd0f5
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x4cd25c
cmp edi, 0xfc
je 0x4cd2a5
mov qword [rsp + 0x50], rbp
lea rbp, [0x0053e920]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.004da510
test eax, eax
je 0x4cd139
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.004cf0d0
lea rdx, [0x0053e939]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x0053ea3d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4cd189
lea r8, str._program_name_unknown_
lea rcx, [0x0053e939]
mov edx, 0x2fb
call fcn.004da510
test eax, eax
je 0x4cd189
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.004cf0d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x0053e939]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x4cd1d8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x0053ec34]
lea r9d, [rax + 3]
lea r8, [0x004f3c74]
sub rdx, rcx
call fcn.004da3f0
test eax, eax
je 0x4cd1d8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.004cf0d0
lea r8, [0x004f3c70]
mov edx, 0x314
mov rcx, rbp
call fcn.004da330
test eax, eax
je 0x4cd204
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.004cf0d0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.004da330
test eax, eax
je 0x4cd234
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.004cf0d0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.004da0d0
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x4cd2a5
cmp rax, 0xffffffffffffffff
je 0x4cd2a5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x4cd2c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.004da5c0
cmp eax, 1
je 0x4cd2f2
mov ecx, 3
call fcn.004da5c0
test eax, eax
jne 0x4cd3a6
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x4cd3a6
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x4cd31e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x4cd308
jmp 0x4cd392
cmp edi, 0x17
jae 0x4cd392
mov ecx, 3
call fcn.004da5c0
cmp eax, 1
je 0x4cd349
mov ecx, 3
call fcn.004da5c0
test eax, eax
jne 0x4cd392
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x4cd392
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x4cd392
cmp rax, 0xffffffffffffffff
je 0x4cd392
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.004cd080
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x4cdbc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x0053ee4c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x4cdc1c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x4cdbfc
mov dword [0x0053ee4c], 1
jmp 0x4cdc2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4cdc16
mov dword [0x0053ee4c], 2
jmp 0x4cdc99
mov eax, dword [0x0053ee4c]
cmp eax, 1
jne 0x4cdc90
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x4cdc6a
cmp word [rdi], bp
mov rax, rdi
je 0x4cdc49
add rax, 2
cmp word [rax], bp
jne 0x4cdc37
add rax, 2
cmp word [rax], bp
jne 0x4cdc37
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.004d1240
test rax, rax
mov rbx, rax
jne 0x4cdc71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4cdd8b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.004cace0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x4cdd8b
cmp eax, 2
je 0x4cdc99
test eax, eax
jne 0x4cdc6a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x4cdc6a
cmp byte [rax], bpl
mov rbx, rax
je 0x4cdce8
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4cdc6a
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x4cdcb0
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.004d12b0
test rax, rax
mov r12, rax
jne 0x4cdd0d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x4cdd8b
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x4cdd75
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4cdd9e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x4cdd20
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.004c90e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x4cdd86
Function at 0x4cecc7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00535d58]
jne 0x4c7bda
rol rcx, 0x10
test cx, 0xffff
jne 0x4c7bd6
repz ret
ror rcx, 0x10
jmp 0x4cec20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0053ef00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0053eff8]
mov qword [rsp + 0x58], rax
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 0x4ceca5
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, [0x0053ef00]
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 0x4cecc7
mov rax, qword [rsp + 0x88]
mov qword [0x0053eff8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0053ef98], rax
mov rax, qword [0x0053eff8]
mov qword [0x0053ee70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0053ef80], rax
mov dword [0x0053ee60], 0xc0000409
mov dword [0x0053ee64], 1
mov rax, qword [0x00535d58]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00535d60]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0053eef8], eax
mov ecx, 1
call fcn.004da620
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004f3cd8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0053eef8], 0
jne 0x4ced4e
mov ecx, 1
call fcn.004da620
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 0x4cf170
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x0053f3f0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.004ce450
test rax, rax
je 0x4cf1c4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x4cf259
mov ecx, 2
call fcn.004da620
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.004cb030
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4cf245
test ebx, ebx
jne 0x4cf245
lea ecx, [rax + 2]
call fcn.004da620
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x4d5780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
cmp byte [0x0053f498], 0
jne 0x4d5794
xor eax, eax
add rsp, 0x58
ret
mov rcx, qword [0x0053f490]
mov qword [rsp + 0x60], rbx
call fcn.004ce450
test rax, rax
mov rbx, rax
jne 0x4d57b7
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
call fcn.004ce360
cmp qword [0x0053f480], rax
jne 0x4d57fc
call fcn.004ce360
cmp qword [0x0053f478], rax
jne 0x4d57fc
call fcn.004ce360
cmp qword [0x0053f488], rax
jne 0x4d57fc
call fcn.004ce360
cmp qword [0x0053f470], rax
jne 0x4d57fc
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
mov qword [rsp + 0x78], rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4d58f1
cmp dword [rsp + 0x48], 0x1000000
jne 0x4d58f1
mov rdi, qword [rsp + 0x28]
cmp word [rdi], 0x5a4d
jne 0x4d58f1
movsxd rax, dword [rdi + 0x3c]
test eax, eax
jle 0x4d58f1
mov rcx, rax
mov rax, qword [rsp + 0x38]
add rax, 0xfffffffffffffef8
cmp rcx, rax
ja 0x4d58f1
cmp dword [rcx + rdi], 0x4550
jne 0x4d58f1
mov qword [rsp + 0x68], rbp
mov rbp, qword [rcx + rdi + 8]
mov qword [rsp + 0x70], rsi
mov rsi, qword [rcx + rdi + 0x58]
mov qword [rsp + 0x50], r12
mov r12, qword [rcx + rdi + 0x50]
mov rcx, qword [0x0053f480]
call fcn.004ce450
cmp rdi, rax
jne 0x4d58ce
mov rcx, qword [0x0053f478]
call fcn.004ce450
cmp r12, rax
jne 0x4d58ce
mov rcx, qword [0x0053f488]
call fcn.004ce450
cmp rbp, rax
jne 0x4d58ce
mov rcx, qword [0x0053f470]
call fcn.004ce450
cmp rsi, rax
je 0x4d58d0
xor ebx, ebx
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x58
ret
Function at 0x4da0d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.004ce360
xor ebx, ebx
cmp qword [0x0053f7d0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x4da1fc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x4da30f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4da30f
mov rcx, rax
call fcn.004ce290
lea rdx, [0x004f3ee8]
mov rcx, rsi
mov qword [0x0053f7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004ce290
lea rdx, [0x004f3ed0]
mov rcx, rsi
mov qword [0x0053f7d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004ce290
lea rcx, [rsp + 0x98]
mov qword [0x0053f7e0], rax
call fcn.004cbc80
test eax, eax
je 0x4da1af
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004cf0d0
cmp dword [rsp + 0x98], 2
jne 0x4da1fc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004ce290
test rax, rax
mov qword [0x0053f7f0], rax
je 0x4da1fc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004ce290
mov qword [0x0053f7e8], rax
mov rcx, qword [0x0053f7e8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x4da2a8
cmp qword [0x0053f7f0], rbp
je 0x4da2a8
call fcn.004ce450
mov rcx, qword [0x0053f7f0]
mov rsi, rax
call fcn.004ce450
test rsi, rsi
mov r12, rax
je 0x4da2a8
test rax, rax
je 0x4da2a8
call rsi
test rax, rax
je 0x4da273
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x4da273
test byte [rsp + 0x40], 1
jne 0x4da2a8
lea rcx, [rsp + 0x30]
call fcn.004cbcd0
test eax, eax
je 0x4da295
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004cf0d0
cmp dword [rsp + 0x30], 4
jb 0x4da2a2
bts edi, 0x15
jmp 0x4da2e6
bts edi, 0x12
jmp 0x4da2e6
mov rcx, qword [0x0053f7d8]
cmp rcx, rbp
je 0x4da2e6
call fcn.004ce450
test rax, rax
je 0x4da2e6
call rax
test rax, rax
mov rbx, rax
je 0x4da2e6
mov rcx, qword [0x0053f7e0]
cmp rcx, rbp
je 0x4da2e6
call fcn.004ce450
test rax, rax
je 0x4da2e6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0053f7d0]
call fcn.004ce450
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x4da30f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x4da311
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x4dc360
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x00535d58]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4dc3a7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.004c7bc0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.004ddd50
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.004c7bc0
add rsp, 0x38
ret
Function at 0x4e3f1c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x00535d58]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.004cb030
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x00400000]
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 fcn.004cb030
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 0x4e3faf
cmp dword [rsp + 0x24], 5
jb 0x4e3fc9
jmp 0x4e3fc5
cmp dword [rsp + 0x30], esi
jne 0x4e3fc9
cmp dword [rsp + 0x24], 4
ja 0x4e3fc5
jne 0x4e3fc9
cmp dword [rsp + 0x28], 0
jbe 0x4e3fc9
mov byte [rbx + 0x18], sil
lea rax, [0x004f5a68]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.004e3ddc
movzx ecx, byte [0x0053fc18]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x0053fc18], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.004c7bc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800553f0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180055421
lea rcx, [0x1800db7a8]
call qword [0x1800b4428]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1800fe518]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800fe528]
lea rdx, [rdi + rdi]
call fcn.180054480
mov rax, qword [0x1800fe518]
lea r9, [rdi - 1]
mov qword [0x1800fe540], r9
mov qword [0x1800fe548], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180055594
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1800fe528]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800554e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180055555
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18005551d
mov r10, qword [rdx]
cmp r10, rax
je 0x180055517
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180055555
cmp r9, rdx
je 0x180055531
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180055569
cmp r9, rdx
jne 0x180055522
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18005558f
mov r9, qword [0x1800fe540]
jmp 0x180055491
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180055555
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18008b8a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x1800b9750]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret

Function at 0x18008cbb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18008cc0d
lea rbx, [0x1800b9750]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18008cbf4
cmp r10, 2
jb 0x18008cbf4
cmp byte [r9], r8b
jne 0x18008cbf4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18008cbd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18008cc4f
lea rbx, [0x1800b9750]
cmp r8b, 0x23
jne 0x18008cc33
cmp byte [r9], r8b
jne 0x18008cc33
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18008cc20
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140002180
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14008f200]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400021f3
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140002227
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400021d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14008f358], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140055030
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x14008f358], eax
jmp 0x140002206