joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x180002365
mov eax, 0x80070057
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp qword [rcx + 0x20], 0
jne 0x18000237c
mov eax, 0x80004005
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareSample_Text_Service
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800023f5
mov rdx, qword [rsi + 0x20]
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], 0x24
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x40]
jne 0x1800023f5
cmp dword [rsp + 0x48], 0x24
je 0x18000240d
mov rax, qword [rsi + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [rax + 0x20]
mov dword [rdi + 0x20], eax
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x180002420
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x20], 0
mov rdi, rdx
mov rbx, rcx
je 0x1800024c3
xor ecx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea r9, [0x1800235c0]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareSample_Text_Service
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1800024c3
mov rdx, qword [rbx + 0x20]
lea r9d, [rax + 3]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], 0x24
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg ebx
sbb eax, eax
and eax, 0x80004005
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
mov eax, 0x80004005
add rsp, 0x50
pop rdi
ret
Function at 0x180004290
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x180028008]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], 0x100
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1800042d0
xor eax, eax
jmp 0x1800043a8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x2a0], rbx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x270], rbp
xor edx, edx
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov ebx, ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180004379
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov word [rsp + 0x25e], bp
call fcn.180004290
mov ebx, eax
test eax, eax
jne 0x180004379
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180004320
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x270]
test ebx, ebx
jne 0x18000439e
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180005950
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x180005880
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret
Function at 0x416027
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00429048]
jne 0x41538a
rol rcx, 0x10
test cx, 0xffff
jne 0x415386
repz ret
ror rcx, 0x10
jmp 0x415f80
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0042a320]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0042a418]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x416005
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0042a320]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x416027
mov rax, qword [rsp + 0x88]
mov qword [0x0042a418], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0042a3b8], rax
mov rax, qword [0x0042a418]
mov qword [0x0042a290], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0042a3a0], rax
mov dword [0x0042a280], 0xc0000409
mov dword [0x0042a284], 1
mov rax, qword [0x00429048]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00429050]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0042a318], eax
mov ecx, 1
call fcn.00418930
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00420378]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0042a318], 0
jne 0x4160ae
mov ecx, 1
call fcn.00418930
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x419560
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.004182a0
xor ebx, ebx
cmp qword [0x0042b0d0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x419691
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x4195c3
xor eax, eax
jmp 0x419771
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4195bc
mov rcx, rax
call fcn.00418230
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0042b0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00418230
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0042b0d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00418230
lea rcx, [rsp + 0x30]
mov qword [0x0042b0e0], rax
call fcn.00416a20
test eax, eax
je 0x419647
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004160e0
cmp dword [rsp + 0x30], 2
jne 0x419691
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00418230
test rax, rax
mov qword [0x0042b0f0], rax
je 0x419691
lea rdx, [0x00421358]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00418230
mov qword [0x0042b0e8], rax
mov rcx, qword [0x0042b0e8]
cmp rcx, rsi
je 0x419723
cmp qword [0x0042b0f0], rsi
je 0x419723
call fcn.00418300
call rax
test rax, rax
mov rbp, rax
je 0x4196ee
mov rcx, qword [0x0042b0f0]
call fcn.00418300
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x4196ee
test byte [rsp + 0x48], 1
jne 0x419723
lea rcx, [rsp + 0x34]
call fcn.00416a70
test eax, eax
je 0x419710
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004160e0
cmp dword [rsp + 0x34], 4
jb 0x41971d
bts edi, 0x15
jmp 0x419757
bts edi, 0x12
jmp 0x419757
mov rcx, qword [0x0042b0d8]
cmp rcx, rsi
je 0x419757
call fcn.00418300
call rax
test rax, rax
mov rbx, rax
je 0x419757
mov rcx, qword [0x0042b0e0]
cmp rcx, rsi
je 0x419757
call fcn.00418300
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0042b0d0]
call fcn.00418300
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004e070]
mov dword [rax], 1
mov rax, qword [0x14004e080]
mov dword [rax], 1
mov rax, qword [0x14004e090]
mov dword [rax], 1
mov rax, qword [0x14004e020]
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 0x14002a900
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.1400314d0
sub rsp, rax
xor eax, eax
xor edx, edx
lea rbx, [rsp + 0x20]
lea rsi, [rsp + 0x70]
mov word [rsp + 0x70], ax
mov rcx, rbx
mov word [rsp + 0x20], dx
call fcn.14002a840
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14002a956
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x1400301b0
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 fcn.140041930
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140041930
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140030e82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400562a8]
test eax, eax
je 0x140030f1a
lea rax, [0x140056280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400562b0]
mov qword [rbp - 8], rax
jmp 0x140030efe
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 0x140030ef2
cmp qword [rbp - 0x10], 0
je 0x140030ef2
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 0x140030eb8
lea rax, [0x140056280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140030f1b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140031020
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140031048
mov eax, 0
jmp 0x140031096
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 0x140031071
mov eax, 0
jmp 0x140031096
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140031091
mov eax, 0
jmp 0x140031096
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14003109c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14003111a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140031111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140031111
mov rax, qword [rbp - 8]
jmp 0x14003112f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400310e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140037ea0]
xor edi, edi
mov rax, qword gs:[0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140037eb0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x14003e008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140037dd0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.1400230d0
mov rcx, qword [0x140037f40]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140037e90]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140022ee0
mov ebx, dword [0x14003e028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test ebx, ebx
mov rbp, qword [0x14003e020]
mov r12, rax
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [rbp + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [r12 + rbx], rax
mov rdx, qword [rbp + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, r12
mov qword [rdi], 0
mov qword [0x14003e020], r12
call fcn.140022ce0
mov rax, qword [0x140037e20]
mov r8, qword [0x14003e018]
mov ecx, dword [0x14003e028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x14003e020]
call fcn.14002eb30
mov ecx, dword [0x14003e00c]
mov dword [0x14003e010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x14003e008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140037eb0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.140028f90
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140037ee0]
mov rcx, qword [0x140037ed0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
test edi, edi
mov dword [rsi], 2
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14003e010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140037f00]
mov dword [rsi], 1
mov rcx, qword [0x140037ef0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b6
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x140037e40]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x140001910
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebx, 0x17
mov r9d, 0x64
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
lea r10, [rsp + 0x27]
mov rbp, rcx
mov rax, rdx
cmp rax, 0x63
ja 0x140001943
cmp rax, 9
jbe 0x14000198b
jmp 0x140001980
xor edx, edx
div r9
add edx, edx
cmp rbx, 0xffffffffffffffff
jne 0x14000195e
mov edx, 0x17
or rcx, 0xffffffffffffffff
jmp 0x140001a14
lea ecx, [rdx + 1]
movzx edx, dx
and ecx, 0x1ff
mov dl, byte [r8 + rdx]
mov cl, byte [r8 + rcx]
mov byte [rsp + rbx + 0x28], cl
mov byte [r10 + rbx], dl
sub rbx, 2
jmp 0x140001935
add rax, rax
cmp rbx, 0x17
jbe 0x140001996
jmp 0x140001950
add eax, 0x30
cmp rbx, 0x17
jbe 0x1400019b1
jmp 0x140001950
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
mov cl, byte [rdx + rax + 1]
mov byte [rsp + rbx + 0x28], cl
dec rbx
cmp rbx, 0x17
ja 0x140001950
mov al, byte [rdx + rax]
mov byte [rsp + rbx + 0x28], al
mov rsi, qword [rbp]
mov edi, 0x18
sub rdi, rbx
mov rcx, rdi
add rcx, rsi
jo 0x1400019e7
test rcx, rcx
jns 0x1400019f4
movabs r8, 0x7fffffffffffffff
xor edx, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400050a1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400049fd
mov rdx, rcx
mov rcx, rbp
call fcn.140005a05
test rsi, rsi
js 0x140001a0a
cmp rsi, qword [rbp]
jl 0x140001a21
mov rdx, qword [rbp]
mov rcx, rsi
dec rdx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140005f3a
mov rax, qword [rbp + 8]
mov ecx, edi
lea rax, [rax + rsi + 8]
lea rsi, [rsp + rbx + 0x28]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
push rsi
push rbx
sub rsp, 0x28
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
jns 0x140001a94
mov eax, 1
shl rax, 0x3f
cmp rdx, rax
je 0x140001a66
neg rsi
mov edx, 1
mov rcx, rbx
call fcn.1400058fd
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov byte [rdx + rax + 8], 0x2d
add rax, 1
jo 0x140001a8f
mov byte [rdx + rax + 8], 0
mov qword [rbx], rax
jmp 0x140001a94
call fcn.1400049fd
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140001910
Function at 0x140001a44
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebx, 0x17
mov r9d, 0x64
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
lea r10, [rsp + 0x27]
mov rbp, rcx
mov rax, rdx
cmp rax, 0x63
ja 0x140001943
cmp rax, 9
jbe 0x14000198b
jmp 0x140001980
xor edx, edx
div r9
add edx, edx
cmp rbx, 0xffffffffffffffff
jne 0x14000195e
mov edx, 0x17
or rcx, 0xffffffffffffffff
jmp 0x140001a14
lea ecx, [rdx + 1]
movzx edx, dx
and ecx, 0x1ff
mov dl, byte [r8 + rdx]
mov cl, byte [r8 + rcx]
mov byte [rsp + rbx + 0x28], cl
mov byte [r10 + rbx], dl
sub rbx, 2
jmp 0x140001935
add rax, rax
cmp rbx, 0x17
jbe 0x140001996
jmp 0x140001950
add eax, 0x30
cmp rbx, 0x17
jbe 0x1400019b1
jmp 0x140001950
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
mov cl, byte [rdx + rax + 1]
mov byte [rsp + rbx + 0x28], cl
dec rbx
cmp rbx, 0x17
ja 0x140001950
mov al, byte [rdx + rax]
mov byte [rsp + rbx + 0x28], al
mov rsi, qword [rbp]
mov edi, 0x18
sub rdi, rbx
mov rcx, rdi
add rcx, rsi
jo 0x1400019e7
test rcx, rcx
jns 0x1400019f4
movabs r8, 0x7fffffffffffffff
xor edx, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400050a1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400049fd
mov rdx, rcx
mov rcx, rbp
call fcn.140005a05
test rsi, rsi
js 0x140001a0a
cmp rsi, qword [rbp]
jl 0x140001a21
mov rdx, qword [rbp]
mov rcx, rsi
dec rdx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140005f3a
mov rax, qword [rbp + 8]
mov ecx, edi
lea rax, [rax + rsi + 8]
lea rsi, [rsp + rbx + 0x28]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
push rsi
push rbx
sub rsp, 0x28
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
jns 0x140001a94
mov eax, 1
shl rax, 0x3f
cmp rdx, rax
je 0x140001a66
neg rsi
mov edx, 1
mov rcx, rbx
call fcn.1400058fd
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov byte [rdx + rax + 8], 0x2d
add rax, 1
jo 0x140001a8f
mov byte [rdx + rax + 8], 0
mov qword [rbx], rax
jmp 0x140001a94
call fcn.1400049fd
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140001910

Function at 0x140001b80
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
mov rax, qword [rdx]
mov rsi, qword [rdx + 8]
test rax, rax
mov r8, rcx
jle 0x140001bd6
mov rcx, rax
add rcx, 1
jo 0x140001bb2
test rcx, rcx
jns 0x140001bb9
movabs r8, 0x7fffffffffffffff
xor edx, edx
pop rsi
pop rdi
jmp fcn.1400050a1
pop rsi
pop rdi
jmp fcn.1400049fd
mov rdx, qword [r8]
add rsi, 8
mov r9, qword [r8 + 8]
lea rdx, [r9 + rdx + 8]
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
add rax, qword [r8]
jo 0x140001bb2
mov qword [r8], rax
pop rsi
pop rdi
ret