joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009aca0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14009ace2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0x10]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009ace2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [rbx + 0x20], 0xffffffff
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
add rsp, 0x20
pop rbx
ret

Function at 0x14009b6b0
Capabilities:
Modify service

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov qword [rsp + 0x70], rbx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14009b6fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
call fcn.140013260
jmp 0x14009b7c5
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14009b73a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140013260
jmp 0x14009b7b7
xor eax, eax
mov dword [rsp + 0x4c], 0x1388
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov edx, 2
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 1
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14009b796
lea rdx, str.Error:_Unable_to_update_service_failure_actions._n
lea ecx, [rax + 3]
call fcn.140013260
lea r8, [0x1401d7730]
mov ecx, 3
lea rdx, str._S_service_failure_actions_successfully_updated._n
call fcn.140013260
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
lea rcx, str.esifsvc
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x14009b7f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_start_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140013260
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x68
ret
Function at 0x14009beb0
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14009beeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
add rsp, 0x20
pop rbx
jmp fcn.140013260
mov r8d, 0xf01ff
mov qword [rsp + 0x30], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14009bf28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140013260
jmp 0x14009bf84
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14009bf63
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x14009bf63
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_start_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140013260
jmp 0x14009bf7b
lea r8, [0x1401d7730]
mov ecx, 3
lea rdx, str._S_started._n
call fcn.140013260
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]

Function at 0x14009bfa0
Capabilities:
Stop service

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14009bff8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
call fcn.140013260
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x50
pop rbx
ret
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14009c035
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140013260
jmp 0x14009c094
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14009c073
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x14009c073
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_stop_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140013260
lea r8, [0x1401d7730]
mov ecx, 3
lea rdx, str._S_stopped_n
call fcn.140013260
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x50
pop rbx
ret
Function at 0x1400ed098
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400ece87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ece87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ece87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ece87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ece87
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ece87
cmp dword [rcx + 0xf8], 0
je 0x1400ece87
mov ecx, ebx
call fcn.1400ecfb8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400ecc14
cmp dword [rbp + 0x20], 0
je 0x1400eced4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ecedc
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400ece20

Function at 0x1400f6234
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f6254
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b56c4
or eax, 0xffffffff
jmp 0x1400f6256
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400fa1d8
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400fa1f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b56c4
or eax, 0xffffffff
jmp 0x1400fa1fa
xor eax, eax
add rsp, 0x28
ret
Function at 0x140008730
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x140008758
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140008781
mov dword [rax], 4
cmp edx, 0x22
jne 0x14000878c
mov dword [rax], 0x4a
ret
cmp edx, 1
jne 0x140008762
mov dword [rcx + 4], edx
jmp 0x14000873d
cmp edx, 2
jne 0x14000873d
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x140008924
mov dword [rax], 0x38
ret
cmp edx, 4
jne 0x140008798
mov dword [rax], 5
cmp edx, 0x23
jne 0x1400087a3
mov dword [rax], 0x4b
ret
cmp edx, 5
jne 0x1400087af
mov dword [rax], 6
cmp edx, 0x24
jne 0x1400087ba
mov dword [rax], 0x4c
ret
cmp edx, 6
jne 0x1400087c6
mov dword [rax], 8
cmp edx, 0x25
jne 0x1400087d1
mov dword [rax], 0x4d
ret
cmp edx, 7
jne 0x1400087dd
mov dword [rax], 9
cmp edx, 0x26
jne 0x1400087e8
mov dword [rax], 0x4e
ret
cmp edx, 8
jne 0x1400087f4
mov dword [rax], 0xc
cmp edx, 0x27
jne 0x1400087ff
mov dword [rax], 0x4f
ret
cmp edx, 9
jne 0x14000880b
mov dword [rax], 0xd
cmp edx, 0x28
jne 0x140008816
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x140008822
mov dword [rax], 0x10
cmp edx, 0x29
jne 0x14000882d
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x140008839
mov dword [rax], 0x11
cmp edx, 0x2a
jne 0x140008844
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x140008850
mov dword [rax], 0x12
cmp edx, 0x2b
jne 0x14000885b
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x140008867
mov dword [rax], 0x13
cmp edx, 0x2c
jne 0x140008872
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x14000887e
mov dword [rax], 0x14
cmp edx, 0x2d
jne 0x140008889
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140008895
mov dword [rax], 0x30
cmp edx, 0x2e
jne 0x1400088a0
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x1400088ac
mov dword [rax], 0x31
cmp edx, 0x2f
jne 0x1400088b7
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x1400088c3
mov dword [rax], 0x32
cmp edx, 0x30
jne 0x1400088ce
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x1400088da
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x1400088e5
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x1400088f1
mov dword [rax], 0x34
cmp edx, 0x32
jne 0x1400088fc
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x140008908
mov dword [rax], 0x35
cmp edx, 0x33
jne 0x140008907
mov dword [rax], 0x18
ret
cmp edx, 0x15
jne 0x140008914
mov dword [rax], 0x36
ret
cmp edx, 0x16
jne 0x140008771
mov dword [rax], 0x37
ret
cmp edx, 0x18
jne 0x140008930
mov dword [rax], 0x39
ret
cmp edx, 0x19
jne 0x14000893c
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x140008948
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x140008954
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x140008960
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x14000896c
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x140008978
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140008984
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140008990
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x14000874c
mov dword [rax], 0x49
ret
Function at 0x14000aa80
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14000aab5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000a680
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14000abf4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14000ab6d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14000abe3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14000abaa
mov r10, qword [rdx]
cmp r10, rax
je 0x14000aba4
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 0x14000abe3
cmp r9, rdx
je 0x14000abbf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14000ac05
cmp r9, rdx
jne 0x14000abb0
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
jne 0x14000ab20
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x14000abe3
Function at 0x14000c780
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 0x14000c7dd
lea rbx, [0x140044df0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000c7c4
cmp r10, 2
jb 0x14000c7c4
cmp byte [r9], r8b
jne 0x14000c7c4
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 0x14000c7a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000c81f
lea rbx, [0x140044df0]
cmp r8b, 0x23
jne 0x14000c803
cmp byte [r9], r8b
jne 0x14000c803
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 0x14000c7f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000c960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000c97a
mov qword [r8], 0
lea rdx, [0x14004498c]
call fcn.14000c830
mov rbx, rax
test rax, rax
jne 0x14000c99a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000ca73
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000ca73
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000ca73
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000ca73
cmp rdi, 0xffffffffffffffff
je 0x14000ca73
mov rax, qword [0x14013ae50]
test rax, rax
je 0x14000ca10
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000ca73
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000ca60
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14013ae50]
test rax, rax
je 0x14000ca55
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000ca7c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000ca6e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000ca7e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000fba0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x140044df0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14013ae50]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14000fc35
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400220b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14001bae0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013ae50]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14001bb41
cmp byte [rbx + 0x4a2e], 0
jne 0x14001bb41
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000c640
test dil, 1
je 0x14001bc68
jmp 0x14001bbcc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140049b54]
mov edx, 0x10
mulss xmm1, dword [0x140049b34]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140049a48]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.14000c640
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001bc20
lea r11, [0x140044df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001bc03
cmp byte [r8], r9b
jne 0x14001bc03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001bbf0
not ecx
call fcn.1400137b0
test rax, rax
je 0x14001bc68
cmp byte [rax + 0xae], 0
je 0x14001bc68
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.14000c640
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140015ef0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400411b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140020950
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400209f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400209aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140022d10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000cdc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013ae60]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400209ff
mov rcx, rbx
call fcn.14000cdc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020f70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14013ae50]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020fd3
mov qword [rsp], rbx
lea rbx, [0x140044df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020fb3
cmp byte [r8], r9b
jne 0x140020fb3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140020fa0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140021007
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002100e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140020ff4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140040c20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14003c700]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x14003c2a0]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x140049464]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140049c60]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14003c310
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.1400407f0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400411b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140041f54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041f9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041f9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041f9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041f9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140041f9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041fa0
xor al, al
add rsp, 0x28
ret