joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014cb
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140001564
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea ecx, [rax + 1]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x20]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x14000168d
Capabilities:
Persist via run registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, str.SoftwareClassesms_settingsShellOpencommand
mov qword [rbp - 8], rax
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rbp - 0x10], rax
lea rax, str.DelegateExecute
mov qword [rbp - 0x18], rax
lea rax, str.C:UsersMALDEV01Desktop_boredprivileges_check.src
mov qword [rbp - 0x20], rax
lea rax, str.explorer.exe_C:WindowsSystem32_fodhelper.exe
mov qword [rbp - 0x28], rax
mov ecx, 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov ecx, eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_srand
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14000156b
mov rax, qword [rbp - 8]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.140001450
mov rax, qword [rbp - 8]
mov rdx, rax
lea rax, str.___Added_Registry_Key:__s_n
mov rcx, rax
call fcn.140003040
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
lea r9, [0x1400050f3]
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014cb
mov rax, qword [rbp - 0x18]
mov rdx, rax
lea rax, str.___Set_Registry_Key:__s_n
mov rcx, rax
call fcn.140003040
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r9, rdx
lea r8, [0x1400050f3]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014cb
mov rax, qword [rbp - 0x28]
mov rdx, rax
lea rax, str.___Set_Registry_Key:__s_n
mov rcx, rax
call fcn.140003040
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014cb
mov rax, qword [rbp - 0x28]
mov rdx, rax
lea rax, str.___Set_Registry_data:__s_n
mov rcx, rax
call fcn.140003040
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x140001850
Capabilities:
Get memory capacity

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x50], 0x40
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x48]
shr rax, 0x14
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rdx, rax
lea rax, str._llu_MB_n
mov rcx, rax
call fcn.140003040
mov rax, qword [rbp - 0x48]
mov edx, 0xffffffff
cmp rdx, rax
jb 0x1400018bf
lea rax, str.Low_RAM_detected._Potential_sandbox.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov eax, dword [0x140009030]
add eax, 1
mov dword [0x140009030], eax
jmp 0x1400018ce
lea rax, str.Sufficient_RAM_available.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
nop
add rsp, 0x70
pop rbp
ret

Function at 0x1400018d5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 4], eax
mov ecx, 0x4e20
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
sub eax, dword [rbp - 4]
cmp eax, 0x4e1f
ja 0x140001930
lea rax, str.Sleep_was_skipped_or_shortened._Potential_sandbox.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov eax, dword [0x140009030]
add eax, 1
mov dword [0x140009030], eax
jmp 0x14000193f
lea rax, str.Sleep_timing_is_normal.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001a59
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0xc], 0
mov dword [rbp - 0xc], 8
lea rax, [rbp - 0xc]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetLastInputInfo]
call rax
test eax, eax
je 0x140001aca
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov edx, eax
mov eax, dword [rbp - 8]
sub edx, eax
mov dword [rbp - 4], edx
cmp dword [rbp - 4], 0x7530
jbe 0x140001ab9
lea rax, str.No_user_interaction_detected._Potential_sandbox.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov ecx, 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
lea rax, str.User_activity_detected.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
jmp 0x140001ad9
lea rax, str.Failed_to_get_last_input_info.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001b94
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, dword [0x140009030]
cmp eax, 3
jle 0x140001bc0
lea rax, str.More_than_3_detections_triggered._Exiting_program.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
add rsp, 0x20
pop rbp
ret
Function at 0x140001bc7
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push rbp
push rdi
mov eax, 0x1258
call fcn.140002fe0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x11f0], rcx
mov dword [rbp + 0x11f8], edx
lea rdx, [rbp + 0x1ac]
lea rax, [rbp + 0x1b0]
mov r8, rdx
mov edx, 0x1000
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x140001c21
lea rax, str.Failed_to_enumerate_processes.
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
jmp 0x140001d83
mov eax, dword [rbp + 0x1ac]
shr eax, 2
mov dword [rbp + 0x11c4], eax
mov dword [rbp + 0x11cc], 0
jmp 0x140001d71
mov eax, dword [rbp + 0x11cc]
cdqe
mov eax, dword [rbp + rax*4 + 0x1b0]
mov dword [rbp + 0x11c0], eax
cmp dword [rbp + 0x11c0], 0
je 0x140001d69
mov eax, dword [rbp + 0x11c0]
mov r8d, eax
mov edx, 0
mov ecx, 0x410
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x11b8], rax
cmp qword [rbp + 0x11b8], 0
je 0x140001d6a
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x41
mov rdi, rdx
rep stosq qword [rdi], rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x11b8]
mov r9d, 0x104
mov r8, rdx
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x140001d54
mov dword [rbp + 0x11c8], 0
jmp 0x140001d46
mov eax, dword [rbp + 0x11c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x11f0]
add rax, rdx
mov rdx, qword [rax]
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x140001d3f
mov edx, dword [rbp + 0x11c0]
lea rax, [rbp - 0x60]
mov r8d, edx
mov rdx, rax
lea rax, str.Process_found:__ls__PID:__lu__n
mov rcx, rax
call fcn.140003040
mov ecx, 0x1388
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov ecx, 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
add dword [rbp + 0x11c8], 1
mov eax, dword [rbp + 0x11c8]
cmp eax, dword [rbp + 0x11f8]
jl 0x140001cdb
mov rax, qword [rbp + 0x11b8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x140001d6a
nop
add dword [rbp + 0x11cc], 1
mov eax, dword [rbp + 0x11cc]
cmp eax, dword [rbp + 0x11c4]
jl 0x140001c3f
add rsp, 0x1258
pop rdi
pop rbp
ret

Function at 0x140001de9
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, dword [0x140009030]
cmp eax, 3
jne 0x140001e15
lea rax, str.Sandbox_detected__exisiting....
mov rcx, rax
call fcn.140003040
mov ecx, 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002210
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140003020
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x140002280
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x1400023b0
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400022cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002355
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400022b0
mov rcx, rbx
call fcn.140002d00
mov rdi, rax
test rax, rax
je 0x1400023d2
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002e40
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400023b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000234e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002360
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000234e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002210
nop dword [rax]
xor esi, esi
jmp 0x1400022d8
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002210
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002210
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002970
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400029cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400029c3
test eax, eax
jne 0x1400029c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400029a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002d00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400063c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002d20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002d28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002d20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002d7d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002d74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002d20
add rax, 0x28
cmp rax, r9
jne 0x140002d60
xor eax, eax
ret

Function at 0x140002d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400063c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002d9f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002da8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002d9f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002e40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400063c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002e5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002e68
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400054d0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x140005520]
mov rdx, rax
mov rax, qword [0x140005510]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x1400054e0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140005500]
mov rdx, rax
mov rax, qword [0x1400054f0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x1400054e0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400054d0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140005430]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140005430]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400054c0]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140005450]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call dbg.main
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sym.exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005480]
mov dword [rax], 1
mov rax, qword [0x140005490]
mov dword [rax], 1
mov rax, qword [0x1400054a0]
mov dword [rax], 1
mov rax, qword [0x140005400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001a80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002752
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x1400027ea
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x1400027ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400027c2
cmp qword [rbp - 0x10], 0
je 0x1400027c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002788
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400027eb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1401e6660
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401e666d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401e667d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401e6665
lea eax, [rcx + 1]
jmp 0x1401e668b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401e669e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401e6684
sub eax, 3
jb 0x1401e66be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401e670d
sar eax, 1
movsxd rbp, eax
jb 0x1401e66f4
jmp 0x1401e66cc
add ebx, ebx
jne 0x1401e66ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e66f4
inc ecx
add ebx, ebx
jne 0x1401e66da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e66f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401e66ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401e66dc
add ecx, 2
jmp 0x1401e66f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401e6622
jmp 0x1401e666d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd0a00
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401e675d
cmp rsi, rcx
jae 0x1401e6765
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401e6744
cmp al, 0x8f
ja 0x1401e6744
cmp byte [rsi - 2], 0xf
je 0x1401e674a
sub al, 0xe8
cmp al, 1
ja 0x1401e672e
cmp rsi, rcx
jae 0x1401e6765
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401e6734
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401e6765
lodsb al, byte [rsi]
jmp 0x1401e6744
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1e2000]
mov eax, dword [rdi]
or eax, eax
je 0x1401e67c2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e6168]
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 0x1401e6772
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 0x1401e67bc
mov qword [rbx], rax
add rbx, 8
jmp 0x1401e6792
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 0x1401e67fc
cmp al, 0xef
ja 0x1401e67ee
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401e67ce
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401e67dd
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
mov byte [fcn.1401e687b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401e687b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401e686b
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x140007370
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400eb830]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x1400073c9
cmp byte [rbx + 0x4236], 0
jne 0x1400073c9
movsx r9d, word [rbx + 0x531a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000d140
test sil, 1
je 0x1400074fa
jmp 0x140007462
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400b3b14]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400b3b00]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
or dword [rbx + 0x3f88], 1
mov qword [rbx + 0x3fa0], rax
movss dword [rbx + 0x3f98], xmm0
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mov rax, qword [0x1400eb830]
mulss xmm0, dword [0x1400b3ab8]
or dword [rax + 0x3f88], 0x40
movss dword [rax + 0x3fe8], xmm0
movsx r9d, word [rbx + 0x531a]
call fcn.14000d140
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400074b2
lea r11, [0x1400adc90]
cmp r9b, 0x23
jne 0x140007495
cmp byte [r8], r9b
jne 0x140007495
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 0x140007482
not ecx
call fcn.14000bbb0
test rax, rax
je 0x1400074fa
cmp byte [rax + 0x96], 0
je 0x1400074fa
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x531a]
call fcn.14000d140
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140004450
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret