joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a410
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x830
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x800
call fcn.1400a5270
movzx eax, word [str.edgeupdate_client]
lea r15, str.edgeupdate_client
mov qword [rsp + 0x850], rbp
mov rbx, r15
mov qword [rsp + 0x858], rsi
xor edi, edi
mov qword [rsp + 0x860], r14
nop dword [rax + rax]
movzx ecx, ax
call fcn.1400b4a1c
test eax, eax
je 0x14000a64a
cmp word [rbx], 0x3d
je 0x14000a64a
inc rdi
movzx eax, word [r15 + rdi*2]
lea rbx, [r15 + rdi*2]
test ax, ax
jne 0x14000a470
movzx eax, byte [0x140151678]
test al, al
jne 0x14000a4de
movzx eax, byte [0x140151678]
test al, al
jne 0x14000a4de
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [0x140151840]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [0x140151848], rax
test rax, rax
je 0x14000a64a
mov byte [0x140151678], 1
mov ebp, 1
cmp dword [0x140151840], ebp
jle 0x14000a64a
mov r14d, 8
nop word [rax + rax]
mov rax, qword [0x140151848]
xor edi, edi
mov rsi, qword [r14 + rax]
cmp word [rsi], di
je 0x14000a538
movzx ebx, word [rsi + rdi*2]
test bx, bx
je 0x14000a538
movzx ecx, bx
call fcn.1400b4a10
test eax, eax
jne 0x14000a533
movzx ecx, bx
call fcn.1400b4a28
test eax, eax
je 0x14000a538
inc rdi
jmp 0x14000a512
movzx ecx, word [rsi + rdi*2]
cmp cx, 0x2f
jne 0x14000a5f5
lea rbx, [rdi + 1]
movzx eax, word [rsi + rbx*2]
lea rbx, [rsi + rbx*2]
test ax, ax
jne 0x14000a573
cmp cx, 0x2d
jne 0x14000a638
cmp ax, cx
je 0x14000a638
test ax, ax
je 0x14000a638
test rbx, rbx
je 0x14000a638
movzx ecx, word [rbx]
call fcn.1400b4a1c
test eax, eax
je 0x14000a638
cmp word [rbx], 0x3d
je 0x14000a638
mov edx, 0x3d
mov rcx, rbx
call fcn.1400a4858
mov rdi, rax
test rax, rax
je 0x14000a629
cmp word [rax], 0
je 0x14000a629
mov rdx, rax
sub rdx, rbx
and rdx, 0xfffffffffffffffe
cmp rdx, 0x22
jne 0x14000a638
lea r8d, [rdx - 0x11]
mov rcx, rbx
mov rdx, r15
call fcn.1400b4a80
test eax, eax
jne 0x14000a638
add rdi, 2
je 0x14000a5f1
mov r9d, 0x3ff
lea rcx, [rsp + 0x20]
mov r8, rdi
lea edx, [r9 + 1]
call fcn.1400b4c1c
mov al, 1
jmp 0x14000a654
cmp cx, 0x2d
jne 0x14000a638
lea rbx, [rdi + 1]
movzx eax, word [rsi + rbx*2]
lea rbx, [rsi + rbx*2]
cmp ax, cx
jne 0x14000a557
cmp word [rsi + rdi*2 + 4], 0
lea rdx, [rsi + rdi*2]
je 0x14000a557
lea rbx, [rdx + 4]
jmp 0x14000a573
mov rdx, r15
mov rcx, rbx
call fcn.1400a9534
test eax, eax
je 0x14000a5f1
inc ebp
add r14, 8
cmp ebp, dword [0x140151840]
jl 0x14000a500
mov rax, qword [0x140148f30]
movzx eax, byte [rax]
mov r14, qword [rsp + 0x860]
mov rsi, qword [rsp + 0x858]
mov rbp, qword [rsp + 0x850]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400a24f0
add rsp, 0x830
pop r15
pop rdi
pop rbx
ret
Function at 0x14000bc50
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, str.The_user_clicked_in_this_toast
mov rbx, rcx
mov rcx, qword [0x1401515f8]
lea r9, str.SetupToast::toastActivated
mov qword [rsp + 0x28], rax
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov edx, 4
mov dword [rsp + 0x20], 0x62
call fcn.140080e40
call fcn.14000c740
mov dl, 1
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000bed0

Function at 0x14000bca0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], edx
lea rax, str.The_user_clicked_on_action__d
mov ebx, edx
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0x69
mov rcx, qword [0x1401515f8]
lea r9, str.SetupToast::toastActivated
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov edx, 4
call fcn.140080e40
test ebx, ebx
jne 0x14000bcef
call fcn.14000c740
mov dl, 1
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.14000bed0

Function at 0x14000bd10
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], edx
lea rax, str.toastDismissed__d
mov ebx, edx
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0x75
mov rcx, qword [0x1401515f8]
lea r9, str.SetupToast::toastDismissed
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov edx, 4
call fcn.140080e40
mov rcx, qword [0x1401515f8]
lea r9, str.SetupToast::toastDismissed
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov edx, 4
test ebx, ebx
je 0x14000be05
sub ebx, 1
je 0x14000bde0
cmp ebx, 1
je 0x14000bdbb
lea rax, str.Toast_not_activated
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x89
call fcn.140080e40
mov dl, 1
mov rcx, rdi
call fcn.14000bed0
jmp 0x14000be5d
lea rax, str.The_toast_has_timed_out
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7f
call fcn.140080e40
mov dl, 1
mov rcx, rdi
call fcn.14000bed0
jmp 0x14000be5d
lea rax, str.The_application_hid_the_toast_using_ToastNotifier.hide__
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x84
call fcn.140080e40
mov dl, 1
mov rcx, rdi
call fcn.14000bed0
jmp 0x14000be5d
lea rax, str.The_user_dismissed_this_toast
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7a
call fcn.140080e40
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400a5270
call fcn.1400861a0
lea rcx, [rdi + 0x28]
lea rdx, [rsp + 0x40]
call fcn.140085a00
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000be5d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a24f0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x14000be80
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, str.Error_showing_current_toast
mov rbx, rcx
mov rcx, qword [0x1401515f8]
lea r9, str.SetupToast::toastFailed
mov qword [rsp + 0x28], rax
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov edx, 4
mov dword [rsp + 0x20], 0x91
call fcn.140080e40
mov dl, 1
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000bed0

Function at 0x14000bed0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rsp + 0x230], rax
movzx edi, dl
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400a5270
call fcn.1400861a0
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x20]
call fcn.140085a00
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000bf34
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbx + 0x108], 0
je 0x14000bf4e
test dil, dil
je 0x14000bf4e
lea rcx, [rbx + 0xc0]
call fcn.1400a1728
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a24f0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x14000c740
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x328
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rcx, qword [0x1401515f8]
lea rax, str.startInstall
mov qword [rsp + 0x28], rax
lea r9, str.SetupToast::startInstall
lea r8, str.D:_a1_sinstaller_cppPCManagerInstallerSetupSetupToast.cpp
mov dword [rsp + 0x20], 0xc6
mov edx, 4
call fcn.140080e40
xor edx, edx
lea rcx, [rsp + 0x100]
mov r8d, 0x208
call fcn.1400a5270
mov r8, qword [0x140148f30]
add r8, 0x48
cmp qword [r8 + 0x18], 8
jb 0x14000c7b6
mov r8, qword [r8]
mov edx, 0x104
lea rcx, [rsp + 0x100]
call fcn.1400a96b0
lea r8, [0x140112cac]
mov edx, 0x104
lea rcx, [rsp + 0x100]
call fcn.1400a9718
lea r9, str.edgeupdate_toast_notif
lea r8, str.options
lea rdx, str.___s_s
lea rcx, [rsp + 0x50]
call fcn.1400838d0
cmp qword [rax + 0x18], 8
jb 0x14000c80a
mov rax, qword [rax]
mov r8, rax
lea rcx, [rsp + 0x100]
mov edx, 0x104
call fcn.1400a9718
lea rcx, [rsp + 0x50]
call fcn.1400053f0
mov rcx, qword [0x140148f30]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x90], 0x68
add rcx, 0x48
mov dword [rsp + 0xf4], eax
movups xmmword [rsp + 0x94], xmm0
mov qword [rsp + 0x80], rax
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0x70], xmm0
cmp qword [rcx + 0x18], 8
jb 0x14000c892
mov rcx, qword [rcx]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x100]
lea rax, [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c8eb
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400a24f0
add rsp, 0x328
ret
Function at 0x1400163a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, qword [rdi + 0xc8]
cmp rax, rcx
je 0x1400163ef
cmp rbx, qword [rdi + 0x168]
je 0x1400163ef
call qword [sym.imp.USER32.dll_SetFocus]
mov rax, qword [rdi + 0x168]
cmp rbx, rax
je 0x1400165f8
xor esi, esi
test rax, rax
je 0x1400164cd
mov qword [rsp + 0x20], 0x17
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x44], rsi
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
mov rcx, qword [rdi + 0x168]
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x280]
mov rax, qword [rdi + 0x168]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rcx
mov word [rsp + 0x58], si
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x20], si
mov qword [rbp + 0x60], rax
lea r8d, [rsi - 1]
lea rdx, str.killfocus
lea rcx, [rsp + 0x50]
call fcn.14000cdd0
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140016cc0
nop
lea rax, [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
cmp rcx, rax
je 0x1400164b2
call fcn.1400a9798
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400164c6
call fcn.1400a9798
mov qword [rdi + 0x168], rsi
test rbx, rbx
je 0x1400165f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp rax, rdi
jne 0x1400165f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x200]
test al, al
je 0x1400165f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400165f8
mov qword [rdi + 0x168], rbx
mov qword [rsp + 0x20], 0x18
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x44], rsi
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
mov rcx, qword [rdi + 0x168]
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x280]
mov rax, qword [rdi + 0x168]
lea rcx, [rbp + 0x98]
mov qword [rbp + 0x90], rcx
mov word [rbp + 0x98], si
lea rcx, [rbp + 0x120]
mov qword [rbp + 0x118], rcx
mov word [rbp + 0x120], si
mov qword [rbp + 0x1a0], rax
mov r8d, 0xffffffff
lea rdx, str.setfocus
lea rcx, [rbp + 0x90]
call fcn.14000cdd0
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c0], rsi
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.140016cc0
nop
lea rax, [rbp + 0x120]
mov rcx, qword [rbp + 0x118]
cmp rcx, rax
je 0x1400165e0
call fcn.1400a9798
lea rax, [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
cmp rcx, rax
je 0x1400165f8
call fcn.1400a9798
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a24f0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b450
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rdi, rcx
mov edx, 0xfffffff0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rsi, [rdi + 0x58]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
mov r8, rax
mov rdx, qword [rdi + 8]
mov rcx, rsi
call fcn.140011870
lea rdx, [rdi + 0x40]
xor r14d, r14d
test rdi, rdi
cmove rdx, r14
lea rcx, [rdi + 0x598]
call fcn.14000cb20
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], r14d
mov byte [rbp + 0x104], 1
mov qword [rbp + 0x108], r14
movdqa xmmword [rbp + 0x110], xmm0
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x50]
nop
mov rax, qword [rdi]
mov r8, qword [rax + 0x58]
mov rax, qword [rsp + 0x30]
mov rcx, rdi
cmp word [rax], r14w
je 0x14001b579
lea rdx, [rbp + 0x120]
call r8
mov rcx, qword [rax]
call fcn.1400af058
movzx ebx, ax
lea rax, [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
cmp rcx, rax
je 0x14001b555
call fcn.1400a9798
lea r9, [rdi + 0x48]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov r8, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400489b0
mov rbx, rax
jmp 0x14001b5c6
lea rbx, [rdi + 0x48]
test rdi, rdi
cmove rbx, r14
lea rdx, [rbp + 0x1b0]
call r8
nop
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov r9, rbx
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rbp - 0x40]
call fcn.1400489b0
mov rbx, rax
lea rax, [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1b0]
cmp rcx, rax
je 0x14001b5c6
call fcn.1400a9798
test rbx, rbx
jne 0x14001b63a
lea r8d, [rbx - 1]
lea rdx, [0x140113cf0]
lea rcx, [rbp + 0x240]
call fcn.14000cc90
nop
mov rax, qword [rdi]
lea rdx, [rbp + 0x2d0]
mov rcx, rdi
call qword [rax + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.14000cef0
lea rcx, [rbp + 0x2d0]
call fcn.14000ccc0
lea rcx, [rbp + 0x240]
call fcn.14000cce0
mov rdx, rax
lea r9d, [rbx + 0x10]
lea r8, str.Duilib
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, rbx
mov rcx, rsi
call fcn.140015610
lea rdx, [rdi + 0x38]
test rdi, rdi
cmove rdx, r14
lea rcx, [rdi + 0x568]
call fcn.14000cb20
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + gethostname]
nop
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x14001b67b
call fcn.1400a9798
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001b689
call fcn.1400a9798
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001b697
call fcn.1400a9798
xor eax, eax
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400a24f0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002a3c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov edi, edx
and edi, 7
je 0x14002a41d
cmp edx, edi
jge 0x14002a413
mov r9, qword [rcx + 8]
mov r10d, dword [rcx + 0x14]
mov rax, qword [rbx]
cmp rax, r9
jb 0x14002a3ef
xor cl, cl
jmp 0x14002a3f8
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, r10d
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], eax
mov r10d, eax
cmp edx, 0x18
jle 0x14002a3e3
mov ecx, edi
shr dword [rbx + 0x14], cl
sub edx, edi
mov dword [rbx + 0x10], edx
xor r9d, r9d
mov ecx, edx
test edx, edx
jle 0x14002a45e
mov eax, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, al
nop dword [rax]
nop word [rax + rax]
shr eax, 8
inc r9d
mov byte [rdx], r10b
lea rdx, [rdx + 1]
sub ecx, 8
mov dword [rbx + 0x14], eax
movzx r10d, al
test ecx, ecx
jg 0x14002a440
mov dword [rbx + 0x10], ecx
movsxd rcx, r9d
cmp rcx, 4
jge 0x14002a492
mov r8, qword [rbx + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14002a47c
xor dl, dl
jmp 0x14002a485
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14002a470
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
je 0x14002a4e8
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14002a520
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14002a53a
mov rcx, rbx
call fcn.140029ae0
test eax, eax
je 0x14002a4db
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1400a4bc0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ece0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14003eceb
xor eax, eax
ret
lea r11, [0x14010ea50]
not ecx
cmp r8d, 8
jb 0x14003edc1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14003ed10
test r8d, r8d
je 0x14003eded
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14003edd0
not ecx
mov eax, ecx
ret

Function at 0x14003f720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x14003f77a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003f766
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.1400a4bc0
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003f7c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x58], rbp
mov rbx, rcx
mov qword [rsp + 0x68], rsi
mov esi, 1
je 0x14003f814
lea rdi, [rcx + 0x10]
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
mov r8d, esi
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003f80e
mov byte [rdi], sil
mov ebp, dword [rsp + 0x60]
jmp 0x14003f845
mov edi, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rdi + 1]
cmp eax, ecx
jbe 0x14003f825
mov esi, ecx
sub esi, edi
mov rdx, rdi
mov r8d, esi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x50]
mov ebp, esi
call fcn.1400a4bc0
lea eax, [rdi + rsi]
mov dword [rbx + 0x2c], eax
lea rdi, [rbx + 0x10]
mov rsi, qword [rsp + 0x68]
cmp ebp, 1
mov rbp, qword [rsp + 0x58]
jne 0x14003f867
movzx eax, byte [rsp + 0x50]
mov dword [r14], eax
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
cmp byte [rbx], 0
je 0x14003f85c
cmp byte [rdi], 0
je 0x14003f85c
mov eax, 0xffffffff
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
Function at 0x1400407b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400409b6
cmp dword [rcx + 0x1c], 0
je 0x1400409b6
cmp qword [rcx + 0x80], 0
je 0x1400407df
call fcn.140040d50
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.140040500
test eax, eax
je 0x140040806
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call fcn.1400a9790
mov rbx, rax
test rax, rax
jne 0x14004082c
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call fcn.1400a9790
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x140040872
mov rcx, rbx
call fcn.1400a9798
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x64], ebp
mov dword [rbx + 0x74], ebp
mov dword [rbx + 0x90], ecx
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x1400408c1
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.14003f070
test eax, eax
jne 0x1400408c1
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
movzx ecx, byte [rdi + 0x34]
mov dword [rbx + 0x7c], eax
and cl, 1
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x34]
shr eax, 3
mov byte [rbx + 0x98], cl
test al, 1
je 0x1400408ed
movzx eax, byte [rdi + 0x3d]
jmp 0x1400408f1
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x14004098a
lea r8, [0x14010ea50]
nop
movzx eax, byte [rsi]
test al, al
je 0x14004098a
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
xor edx, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
movzx eax, dl
add eax, dword [rbx + 0xa0]
mov dword [rbx + 0x9c], edx
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
xor ecx, dword [r8 + rax*4]
mov dword [rbx + 0xa4], ecx
add rsi, 1
jne 0x140040930
mov eax, dword [rsp + 0x58]
mov ecx, dword [rdi + 0x7c]
add eax, 0x1e
add ecx, eax
mov dword [rbx + 0x10], ebp
mov rbp, qword [rsp + 0x20]
xor eax, eax
mov dword [rbx + 0x60], ecx
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret