joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094f40
Capabilities:
Set socket configuration

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, 0x40
mov rsi, rcx
mov r13d, 2
lea rcx, [rsp + 0x20]
mov word [rdx], r13w
mov ebp, r9d
mov r15, r8
mov r14, rdx
call fcn.140007b80
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140095340
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov r12d, eax
call fcn.1400079ac
cmp r12d, 0xffffffff
jne 0x140094fdc
mov rdi, qword [r15 + 8]
lea rbx, str.255.255.255.255
mov rcx, rbx
call fcn.1400272dc
cmp rdi, rax
jne 0x140094ffc
test rdi, rdi
je 0x140094fdc
mov rcx, qword [r15]
sub rcx, rbx
movzx eax, word [rbx]
cmp word [rcx + rbx], ax
jne 0x140094ffc
add rbx, r13
sub rdi, 1
jne 0x140094fca
lea eax, [rbp - 1]
mov dword [r14 + 4], r12d
cmp eax, 0xfffe
ja 0x140095028
movzx ecx, bp
call qword [sym.imp.WSOCK32.dll_htons]
mov word [r14 + 2], ax
mov al, 1
jmp 0x140095059
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
cmp byte [rcx + rsi + 0x19], 0
mov rax, qword [rcx + rsi + 0x10]
je 0x140095013
mov rax, qword [rax + 0x48]
mov dword [rax + 0x1c], 1
cmp byte [rcx + rsi + 0x19], 0
mov rax, qword [rcx + rsi + 0x10]
je 0x140095053
jmp 0x14009504f
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
cmp byte [rcx + rsi + 0x19], 0
mov rax, qword [rcx + rsi + 0x10]
je 0x14009503f
mov rax, qword [rax + 0x48]
mov dword [rax + 0x1c], r13d
cmp byte [rcx + rsi + 0x19], 0
mov rax, qword [rcx + rsi + 0x10]
je 0x140095053
mov rax, qword [rax + 0x48]
mov byte [rax + 0x20], 0
xor al, al
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009507c
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
and dword [r8], 0
mov r14, rdx
mov qword [r8 + 8], rdx
mov eax, 0x10624dd3
inc dword [r8]
mov rbx, rcx
imul r9d
xor ecx, ecx
mov rsi, r8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x50], edx
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x54], eax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
cmp byte [rsp + 0x60], cl
je 0x1400950e6
xor edx, edx
jmp 0x1400950ec
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_select]
mov edi, eax
test eax, eax
jne 0x14009512c
cmp byte [rsp + 0x60], al
je 0x140095191
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx + 0x10]
cmp byte [rcx + rbx + 0x19], dil
je 0x140095119
mov rax, qword [rax + 0x48]
mov dword [rax + 0x1c], 0x274c
mov rax, qword [rcx + rbx + 0x10]
cmp byte [rcx + rbx + 0x19], 0
jmp 0x140095187
jle 0x14009515d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x140095191
lea edi, [rax - 2]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
cmp byte [rcx + rbx + 0x19], 0
mov rax, qword [rcx + rbx + 0x10]
je 0x140095158
mov rax, qword [rax + 0x48]
mov dword [rax + 0x1c], edi
jmp 0x140095120
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
cmp byte [rdx + rbx + 0x19], 0
mov rcx, qword [rdx + rbx + 0x10]
je 0x14009517a
mov rcx, qword [rcx + 0x48]
mov dword [rcx + 0x1c], eax
mov rax, qword [rdx + rbx + 0x10]
cmp byte [rdx + rbx + 0x19], 0
je 0x14009518d
mov rax, qword [rax + 0x48]
mov byte [rax + 0x20], 0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x14009a354
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f88]
mov eax, 0x2060
call fcn.1400474f0
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x20]
call fcn.140008ce8
xor r12d, r12d
mov rcx, r15
mov esi, r12d
call fcn.14000bfa8
mov rax, qword [r15 + 8]
mov r14b, r12b
mov rdi, qword [rax]
movzx eax, word [rdi]
test ax, ax
je 0x14009a4e7
mov ebx, r12d
lea r13d, [r12 + 0x25]
inc esi
inc rbx
cmp ax, r13w
jne 0x14009a48c
cmp word [rdi + rbx*2], r13w
jne 0x14009a3e1
mov edx, r13d
lea rcx, [rsp + 0x20]
call fcn.140009010
jmp 0x14009a482
lea rdx, [0x1400b52d0]
lea rcx, [rsp + 0x40]
call fcn.1400094fc
jmp 0x14009a40b
test ax, ax
je 0x14009a415
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.140009010
inc esi
inc rbx
movzx eax, word [rdi + rbx*2]
cmp ax, r13w
jne 0x14009a3f4
cmp word [rdi + rbx*2], r12w
je 0x14009a4a8
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
mov word [rsp + 0x60], r12w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14009a447
lea rdx, [rsp + 0x60]
jmp 0x14009a46e
lea rdx, [0x1400dccd4]
lea rcx, [rsp + 0x20]
call fcn.1400093ec
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400091f4
lea rdx, [0x1400dccd4]
lea rcx, [rsp + 0x20]
call fcn.1400093ec
lea rcx, [rsp + 0x40]
call fcn.1400079ac
inc esi
mov r14b, 1
inc rbx
jmp 0x14009a499
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140009010
movzx eax, word [rdi + rbx*2]
test ax, ax
jne 0x14009a3b9
jmp 0x14009a4d5
lea rdx, [0x1400dccd4]
mov r14b, 1
lea rcx, [rsp + 0x20]
call fcn.1400093ec
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400091f4
lea rcx, [rsp + 0x40]
call fcn.1400079ac
test r14b, r14b
je 0x14009a4e7
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.14000c280
lea rcx, [rsp + 0x20]
call fcn.1400079ac
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400a07a8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
lea rax, [rsp + 0x40]
mov dword [rbp + 0x180], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x180]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov r14d, edx
and qword [rsp + 0x20], 0
xor edx, edx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400a090b
mov edi, r14d
or edi, 0x20019
lea rax, [rbp + 0x188]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a0933
mov rcx, qword [rbp + 0x188]
mov edx, r14d
call fcn.1400a07a8
mov rcx, qword [rbp + 0x188]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1400a0933
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400a08a3
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a08a3
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov r8d, r14d
mov rcx, rsi
call rax
jmp 0x1400a08b1
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400a0925
test rbx, rbx
je 0x1400a08c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x180], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x180]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400a0819
mov al, 1
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rbx, rbx
je 0x1400a0933
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x1400a090d
Function at 0x1400af184
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
lea rbp, [0x1400f2060]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x68]
call fcn.140026550
xor edx, edx
lea rdi, [0x1400f20c8]
mov rcx, rdi
lea r8d, [rdx + 0x18]
call fcn.140026550
mov qword [rsp + 0x48], rdi
mov eax, 1
mov qword [rsp + 0x40], rbp
xor edi, edi
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [0x1400f2060], 0x68
mov dword [0x1400f209c], eax
mov word [0x1400f20a0], ax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400af220
mov rcx, qword [0x1400f20c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400af6b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov r14, r9
mov rax, r8
mov rsi, rdx
cmp word [r8], r12w
je 0x1400af83d
mov qword [r11 - 0x68], r12
xor r9d, r9d
mov dword [r11 - 0x70], r12d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400af718
xor eax, eax
jmp 0x1400af878
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov ecx, 2
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x1400af745
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400af711
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400af711
lea r8, [rbp - 0x28]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
lea r9, [0x1400b8940]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x30], r12
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400af711
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [r14]
mov rcx, qword [rbp + 0x50]
test r8d, r8d
jne 0x1400af812
mov r8d, r12d
cmp dword [rcx], r12d
jne 0x1400af812
mov eax, dword [rbp - 0x1c]
mov dword [r14], eax
mov eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov r8d, dword [r14]
mov r9d, dword [rcx]
xor edx, edx
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp + 0x40]
jmp 0x1400af844
mov r9, r12
mov qword [rbp + 0x40], r12
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400af85a
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov rcx, rbx
mov qword [rsi + 0xc0], r9
mov edx, 0x172
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400b0390
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
lea rcx, [0x1400efcc0]
mov r14d, r9d
mov rsi, r8
mov rdi, rdx
call fcn.140003a60
movsxd rcx, eax
mov rax, qword [0x1400efd60]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp rsi, rdi
jne 0x1400b0414
cmp qword [rbx + 0x2d0], 0
je 0x1400b0482
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
and qword [rsp + 0x28], 0
mov rcx, qword [rbx + 0x2d0]
mov qword [rsp + 0x20], rdi
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov r9d, dword [rsp + 0x54]
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x1400b04a4
mov rdx, rsi
lea rcx, [0x1400efcc0]
call fcn.140003a0c
cmp eax, 0xffffffff
je 0x1400b0482
movsxd rbp, eax
mov rax, qword [0x1400efd88]
mov rcx, qword [rax + rbp*8]
mov rdx, qword [rcx]
mov cl, byte [rdx + 0xfc]
lea eax, [rcx - 0xe]
cmp al, 2
jbe 0x1400b0482
cmp cl, 0x13
je 0x1400b0482
cmp qword [rdx + 0x18], 0
je 0x1400b0482
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [0x1400efd88]
and qword [rsp + 0x28], 0
mov rcx, qword [rax + rbp*8]
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
jmp 0x1400b03fd
movzx r9d, word [rsp + 0x70]
mov r8, rsi
shl r9, 0x10
mov edx, 0x7b
movzx eax, r14w
mov rcx, rdi
or r9, rax
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140001000
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000106c
lea rdx, str.Error_creating_process_snapshot:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001400
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400015e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400010df
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400010a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Error_getting_first_process:
jmp 0x140001038
lea rdx, str.StreetFighter6.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x1400010d5
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400010a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400010df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001630
add rsp, 0x160
pop rbx
ret
Function at 0x14001122b
Capabilities:
Terminate process

Disassembly:
jmp 0x1400148d0
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]
nop
add rsp, 0x28
ret

Function at 0x1400112a3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x140012390
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140027167]
call fcn.1400113e3
nop
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x30]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400112c6
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015c20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015c40
xor al, al
jmp 0x140015cc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015c53
xor al, al
jmp 0x140015cc1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015c7d
xor al, al
jmp 0x140015cc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015c91
xor al, al
jmp 0x140015cc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015ca3
xor al, al
jmp 0x140015cc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015cbf
xor al, al
jmp 0x140015cc1
mov al, 1
add rsp, 0x38
ret
Function at 0x140013b10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001140b
movzx eax, al
test eax, eax
jne 0x140013b30
mov ecx, 7
call fcn.140011370
nop
mov byte [rsp + 0x20], 0
call fcn.140011389
mov byte [rsp + 0x21], al
cmp dword [0x14001f878], 1
jne 0x140013b54
mov ecx, 7
call fcn.140011370
nop
jmp 0x140013bac
cmp dword [0x14001f878], 0
jne 0x140013ba7
mov dword [0x14001f878], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111d1
test eax, eax
je 0x140013b88
mov eax, 0xff
jmp 0x140013cb1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.14001137a
mov dword [0x14001f878], 2
jmp 0x140013bac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001135c
call fcn.1400112f3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013c09
mov rcx, qword [rsp + 0x30]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x140013c09
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140028020]
nop
call fcn.140011325
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140013c3d
mov rcx, qword [rsp + 0x38]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x140013c3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113c5
nop
call fcn.140013d60
mov dword [rsp + 0x28], eax
call fcn.1400112c6
movzx eax, al
test eax, eax
jne 0x140013c5c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140013c6b
call fcn.1400113cf
nop
xor edx, edx
mov cl, 1
call fcn.140011168
mov eax, dword [rsp + 0x28]
jmp 0x140013cb1
add rsp, 0x68
ret
Function at 0x1400093e0
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 0x14000943d
lea rbx, [0x1400545e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009424
cmp r10, 2
jb 0x140009424
cmp byte [r9], r8b
jne 0x140009424
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 0x140009400
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000947f
lea rbx, [0x1400545e0]
cmp r8b, 0x23
jne 0x140009463
cmp byte [r9], r8b
jne 0x140009463
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 0x140009450
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000965e
mov qword [r8], r14
lea rdx, [0x1400540d0]
call fcn.140009490
mov rbx, rax
test rax, rax
jne 0x140009683
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400097ad
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400097ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400097ad
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400097ad
cmp rdi, 0xffffffffffffffff
je 0x1400097ad
mov rcx, rdi
call fcn.14000ddd0
mov rbp, rax
test rax, rax
je 0x1400097ad
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 0x14000979a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400629e0]
test r8, r8
je 0x14000978f
movsx rdx, word [r8 + 0x6160]
lea rcx, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009784
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6160], cx
movsx rax, cx
lea rcx, [r8 + 0x6164]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x615c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400097b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400097a8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400097b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret