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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea r15, sym.rttiDestroy__pureZtimes_u5468
xor eax, eax
xor r9d, r9d
mov r13, rdx
mov rbp, rcx
mov ecx, 0xc
lea rdx, [r8 + 8]
mov rsi, r8
lea r14, [rsp + 0x60]
mov rdi, rdx
xor edx, edx
rep stosq qword [rdi], rax
mov qword [r8], r15
mov rcx, r14
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
call sym.initDuration__pureZtimes_u501
mov rcx, qword [0x14002cb80]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x140014c89
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
sub rdx, rdi
jo 0x140014cb5
sub r8, r12
jo 0x140014cb5
mov rcx, r14
call sym.normalize__pureZtimes_u1325
mov rdi, qword [rsp + 0x60]
cmp byte [rbx], 0
jne 0x140014c89
mov edx, 0x15180
mov rcx, rdi
call sym.floorDiv__pureZtimes_u317
cmp byte [rbx], 0
mov r8, rax
jne 0x140014c89
imul rax, rax, 0x15180
jo 0x140014c9d
sub rdi, rax
jo 0x140014c9d
movabs rax, 0x48d159e26af37c05
imul rdi
mov rax, rdi
sar rax, 0x3f
sar rdx, 0xa
sub rdx, rax
imul rax, rdx, 0xe10
mov r14, rdx
sub rdi, rax
mov rcx, rdi
jo 0x140014c9d
movabs rax, 0x8888888888888889
imul rdi
mov rax, rcx
sar rax, 0x3f
lea rdi, [rdx + rdi]
sar rdi, 5
sub rdi, rax
imul rax, rdi, 0x3c
sub rcx, rax
mov r12, rcx
jo 0x140014c9d
lea rcx, [rsp + 0x70]
mov rdx, r8
call sym.fromEpochDay__pureZtimes_u203
cmp byte [rbx], 0
jne 0x140014c89
movzx eax, byte [rsp + 0x78]
cmp r14, 0x17
mov qword [rsi], r15
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
movq xmm1, rax
mov rdx, rax
movq xmm0, rcx
punpcklqdq xmm0, xmm1
mov qword [rsi + 0x38], r8
movups xmmword [rsi + 0x28], xmm0
ja 0x140014cc8
cmp rdi, 0x3b
mov qword [rsi + 0x20], r14
ja 0x140014d00
cmp r12, 0x3c
mov qword [rsi + 0x18], rdi
ja 0x140014cf0
mov qword [rsi + 0x10], r12
mov rax, qword [rbp + 8]
movzx edi, dl
mov edx, edi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rcx
mov qword [rsi + 8], rax
call sym.getDayOfWeek__pureZtimes_u311
cmp byte [rbx], 0
jne 0x140014c89
mov r8, qword [rsp + 0x58]
mov byte [rsi + 0x40], al
mov edx, edi
mov rcx, qword [rsp + 0x50]
call sym.getDayOfYear__pureZtimes_u266
cmp byte [rbx], 0
jne 0x140014c89
mov qword [rsi + 0x48], rax
movzx eax, byte [rbp + 0x18]
mov qword [rsi + 0x58], r13
mov byte [rsi + 0x50], al
mov rax, qword [rbp + 0x10]
mov qword [rsi + 0x60], rax
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.raiseOverflow
call sym.raiseOverflow
xor edi, edi
jmp 0x140014b32
mov r8d, 0x17
xor edx, edx
mov rcx, r14
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.raiseRangeErrorI
mov r8d, 0x3c
xor edx, edx
mov rcx, r12
jmp 0x140014cd3
mov r8d, 0x3b
xor edx, edx
mov rcx, rdi
jmp 0x140014cd3
Function at 0x140014e20
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
test rbx, rbx
mov qword [rcx], rdx
je 0x140014e90
mov rax, qword [rbx - 0x10]
lea rdx, [rbx - 0x10]
cmp rax, 0xf
jbe 0x140014e60
sub rax, 0x10
jo 0x140014e96
lea r8, sym.rttiDestroy__pureZtimes_u5470
xor ecx, ecx
mov qword [rbx - 0x10], rax
add rsp, 0x20
pop rbx
jmp sym.rememberCycle__system_u3465
lea r8, sym.rttiDestroy__pureZtimes_u5470
mov ecx, 1
call sym.rememberCycle__system_u3465
mov rcx, rbx
call sym.eqdestroy___pureZtimes_u1560
mov edx, 8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.nimRawDispose
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp sym.raiseOverflow

Function at 0x140015390
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
je 0x140015400
mov rax, qword [rcx - 0x10]
lea rdx, [rcx - 0x10]
cmp rax, 0xf
jbe 0x1400153d0
sub rax, 0x10
jo 0x140015406
mov qword [rcx - 0x10], rax
lea r8, sym.rttiDestroy__pureZtimes_u5470
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp sym.rememberCycle__system_u3465
lea r8, sym.rttiDestroy__pureZtimes_u5470
mov ecx, 1
call sym.rememberCycle__system_u3465
mov rcx, rbx
call sym.eqdestroy___pureZtimes_u1560
mov edx, 8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.nimRawDispose
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp sym.raiseOverflow

Function at 0x140015410
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
test rdx, rdx
je 0x14001542b
mov rax, qword [rdx - 0x10]
add rax, 0x10
jo 0x140015496
mov qword [rdx - 0x10], rax
test rbx, rbx
mov qword [rcx], rdx
je 0x140015490
mov rax, qword [rbx - 0x10]
lea rdx, [rbx - 0x10]
cmp rax, 0xf
jbe 0x140015460
sub rax, 0x10
jo 0x1400154b4
lea r8, sym.rttiDestroy__pureZtimes_u5470
xor ecx, ecx
mov qword [rbx - 0x10], rax
add rsp, 0x30
pop rbx
jmp sym.rememberCycle__system_u3465
lea r8, sym.rttiDestroy__pureZtimes_u5470
mov ecx, 1
call sym.rememberCycle__system_u3465
mov rcx, rbx
call sym.eqdestroy___pureZtimes_u1560
mov edx, 8
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp sym.nimRawDispose
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
call sym.raiseOverflow
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
jmp 0x14001542b
add rsp, 0x30
pop rbx
jmp sym.raiseOverflow
Function at 0x140015690
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
xor eax, eax
movdqu xmm6, xmmword [rcx]
mov ecx, 0xc
mov rbx, rdx
lea rdx, [rdx + 8]
mov rdi, rdx
rep stosq qword [rdi], rax
lea rax, sym.rttiDestroy__pureZtimes_u5468
mov qword [rbx], rax
call sym.local__pureZtimes_u2084
mov rcx, qword [0x14002cb80]
mov rsi, rax
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140015700
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm6
call sym.inZone__pureZtimes_u1848
nop
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
test rsi, rsi
je 0x1400156ed
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
cmp rax, 0xf
jbe 0x140015740
sub rax, 0x10
jo 0x140015773
mov qword [rsi - 0x10], rax
movaps xmm6, xmmword [rsp + 0x30]
lea r8, sym.rttiDestroy__pureZtimes_u5470
xor ecx, ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
jmp sym.rememberCycle__system_u3465
lea r8, sym.rttiDestroy__pureZtimes_u5470
mov ecx, 1
call sym.rememberCycle__system_u3465
mov rcx, rsi
call sym.eqdestroy___pureZtimes_u1560
nop
movaps xmm6, xmmword [rsp + 0x30]
mov edx, 8
mov rcx, rsi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
jmp sym.nimRawDispose
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
jmp sym.raiseOverflow
Function at 0x1400158c0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
lea r13, sym.rttiDestroy__pureZtimes_u5468
xor r12d, r12d
mov rax, r12
lea rbp, [rcx + 8]
mov rbx, rcx
mov ecx, 0xc
mov rdi, rbp
rep stosq qword [rdi], rax
mov rax, qword [0x14002ca40]
lea rcx, [rsp + 0x38]
mov qword [rbx], r13
call qword [rax]
mov rcx, qword [rsp + 0x38]
call sym.rdFileTime__windowsZwinlean_u282
mov rcx, qword [0x14002cb80]
mov rdi, rax
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rsi, rax
jne 0x140015971
lea r14, [rsp + 0x20]
mov rdx, rdi
mov rcx, r14
call sym.fromWinTime__pureZtimes_u1245
cmp byte [rsi], 0
movdqu xmm6, xmmword [rsp + 0x20]
jne 0x140015971
mov rax, r12
mov ecx, 0xc
mov rdi, rbp
rep stosq qword [rdi], rax
mov qword [rbx], r13
call sym.local__pureZtimes_u2084
cmp byte [rsi], 0
mov rdi, rax
jne 0x140015988
mov r8, rbx
mov rdx, rax
mov rcx, r14
movaps xmmword [rsp + 0x20], xmm6
call sym.inZone__pureZtimes_u1848
nop
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test rax, rax
je 0x140015971
lea rdx, [rax - 0x10]
mov rax, qword [rax - 0x10]
cmp rax, 0xf
jbe 0x1400159d0
sub rax, 0x10
jo 0x140015a0a
mov qword [rdi - 0x10], rax
movaps xmm6, xmmword [rsp + 0x40]
lea r8, sym.rttiDestroy__pureZtimes_u5470
xor ecx, ecx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.rememberCycle__system_u3465
lea r8, sym.rttiDestroy__pureZtimes_u5470
mov ecx, 1
call sym.rememberCycle__system_u3465
mov rcx, rdi
call sym.eqdestroy___pureZtimes_u1560
nop
movaps xmm6, xmmword [rsp + 0x40]
mov edx, 8
mov rcx, rdi
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.nimRawDispose
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.raiseOverflow
Function at 0x140018220
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r10, qword [rcx]
test r10, r10
mov rbx, rcx
je 0x140018311
jle 0x140018337
lea rdi, [r10 - 1]
mov r11, qword [rcx + 8]
mov r8, r10
lea r9, [r10 - 2]
mov rcx, rdi
jmp 0x14001828f
cmp r8, 1
jle 0x14001835e
cmp r10, r9
jle 0x14001832f
movzx eax, byte [r11 + rcx + 7]
cmp al, 0x5c
je 0x140018275
cmp al, 0x2f
jne 0x140018368
test rcx, rcx
je 0x1400182d0
sub rcx, 1
sub r9, 1
sub r8, 1
cmp r10, rcx
jle 0x140018320
movzx eax, byte [r11 + rcx + 8]
cmp al, 0x5c
je 0x140018275
cmp al, 0x2f
je 0x140018275
cmp al, 0x2e
mov rsi, r8
je 0x140018250
test dl, dl
je 0x140018385
test r8, r8
jns 0x14001838c
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.raiseRangeErrorI
test dl, dl
je 0x140018342
mov rdx, rcx
mov rcx, rbx
call sym.setLengthStrV2
mov edx, 1
mov rcx, rbx
call sym.prepareAdd
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov byte [rdx + rax + 8], 0x5c
mov rax, qword [rbx]
add rax, 1
jo 0x140018394
mov rdx, qword [rbx + 8]
mov qword [rbx], rax
mov byte [rdx + rax + 8], 0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rdx, rdi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.raiseIndexError2
mov rdx, rdi
mov rcx, r9
jmp 0x140018323
test dl, dl
mov rsi, r10
jne 0x1400182b5
movdqa xmm0, xmmword [0x14002b5e0]
lea rdx, [rsp + 0x20]
mov rcx, rbx
movaps xmmword [rsp + 0x20], xmm0
call sym.eqsink___system_u2635
jmp 0x140018311
mov esi, 1
nop dword [rax + rax]
test dl, dl
mov rcx, rsi
jne 0x1400182d4
mov rdx, rsi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.setLengthStrV2
test r8, r8
jg 0x140018373
jmp 0x140018342
mov rcx, r8
jmp 0x1400182d4
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.raiseOverflow
Function at 0x140018800
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12, qword [r8]
mov r13, qword [r8 + 8]
test r12, r12
mov rbx, rcx
mov rbp, rdx
jle 0x1400188b8
mov rdi, qword [0x14002cb80]
movzx r14d, byte [r13 + r12 + 7]
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140018920
cmp r14b, 0x5c
sete sil
cmp r14b, 0x2f
sete al
or esi, eax
xor edx, edx
mov rcx, rbx
call sym.normalizePathEnd__stdZprivateZospaths2_u19
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rdi, rax
jne 0x140018920
lea rcx, [rsp + 0x20]
mov r8, rbp
mov rdx, rbx
mov qword [rsp + 0x20], r12
mov r9d, 0x5c
mov qword [rsp + 0x28], r13
call sym.addNormalizePath__pureZpathnorm_u87
cmp byte [rdi], 0
jne 0x140018920
movzx edx, sil
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.normalizePathEnd__stdZprivateZospaths2_u19
jne 0x140018930
mov rdx, qword [rcx]
test rdx, rdx
jle 0x140018930
mov rax, qword [rcx + 8]
test rax, rax
je 0x140018940
test byte [rax + 7], 0x40
je 0x140018940
call sym.nimPrepareStrMutationImpl__system_u2380
mov rdx, qword [rbx]
mov rcx, rdx
sub rcx, 1
jo 0x14001895b
test rcx, rcx
js 0x140018950
cmp rdx, rcx
jle 0x140018950
mov rax, qword [rbx + 8]
lea rsi, [rax + rcx + 8]
mov rdi, qword [0x14002cb80]
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140018920
movzx eax, byte [rsi]
cmp al, 0x5c
sete sil
cmp al, 0x2f
sete al
or esi, eax
jmp 0x140018853
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [0x14002cb80]
xor esi, esi
jmp 0x140018853
lea rcx, [rdx - 1]
jmp 0x1400188e2
sub rdx, 1
call sym.raiseIndexError2
jmp 0x1400188f5
call sym.raiseOverflow
jmp 0x1400188f5

Function at 0x140019b90
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
movdqu xmm0, xmmword [rcx]
lea rsi, [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.prettyPrint__nimaliciousZcommon_u27
mov rcx, qword [0x14002cb80]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140019bed
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rsi
mov qword [rsp + 0x30], rdi
mov rcx, rax
mov qword [rsp + 0x38], rbx
call sym.write__stdZsyncio_u271
test rbx, rbx
je 0x140019bf8
test byte [rbx + 7], 0x40
je 0x140019c00
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
jmp sym.deallocShared
Function at 0x140019c10
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
movdqu xmm0, xmmword [rcx]
lea rbp, [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call sym.prettyList__nimaliciousZcommon_u2
mov rcx, qword [0x14002cb80]
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140019cf3
lea r13, [rbx + 1]
mov rcx, rbp
mov rdx, r13
call sym.rawNewString
mov rdi, qword [rsp + 0x38]
test rbx, rbx
mov rsi, qword [rsp + 0x30]
lea r14, [rsi + rdi + 8]
jle 0x140019cb2
mov rax, rbx
add rax, 1
jo 0x140019d60
test r13, r13
js 0x140019d40
lea rdx, [r12 + 8]
mov r8, r13
mov rcx, r14
call sym.memcpy
add rbx, rsi
jo 0x140019d60
lea r14, [rbx + rdi + 8]
mov rsi, rbx
mov rbx, rsi
mov eax, 0xa
add rbx, 1
mov word [r14], ax
jo 0x140019d70
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rbp
mov qword [rsp + 0x30], rbx
mov rcx, rax
mov qword [rsp + 0x38], rdi
call sym.write__stdZsyncio_u271
test rdi, rdi
je 0x140019cf3
test byte [rdi + 7], 0x40
je 0x140019d10
test r12, r12
je 0x140019d00
test byte [r12 + 7], 0x40
je 0x140019d20
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rdi
call sym.deallocShared
jmp 0x140019cf3
mov rcx, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.deallocShared
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call sym.raiseRangeErrorI
jmp 0x140019cb2
call sym.raiseOverflow
jmp 0x140019cb2
call sym.raiseOverflow
mov rbx, rsi
jmp 0x140019cc8
Function at 0x14001b140
Capabilities:
Terminate process

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
je 0x14001b158
test byte [rax + 7], 0x40
je 0x14001b158
jmp sym.nimPrepareStrMutationImpl__system_u2380
ret
Function at 0x14001bfe0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot2dot0atslibatsstdatsexitprocsdotnim_Init000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot2dot0atslibatsstdatssynciodotnim_Init000
nop
add rsp, 0x28
jmp sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot2dot0atslibatswindowsatswinleandotnim_Init000

Function at 0x14001c030
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r8d, 8
mov edx, 0x10
mov ecx, 1
call sym.newSeqPayload
lea r14, [rsp + 0x30]
movdqa xmm1, xmmword [0x14002c130]
mov qword [rax + 8], 0x3b
lea rbp, [rsp + 0x40]
mov r13, rax
mov rdx, r14
lea rax, [0x14002c0e0]
mov rcx, rbp
mov qword [r13 + 0x10], rax
movaps xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], r13
call sym.askConsent__nimaliciousZconsent_u18
mov rcx, qword [0x14002cb80]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14001c1a1
mov rcx, rbp
call sym.findFiles__nimaliciousZfiles_u41
mov rax, qword [rsp + 0x48]
cmp byte [rbx], 0
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jne 0x14001c18a
lea rsi, [rax + 8]
xor edi, edi
test r12, r12
jg 0x14001c0fe
jmp 0x14001c18a
cmp byte [rbx], 0
jne 0x14001c160
add rdi, 1
add rsi, 0x10
cmp rdi, r12
je 0x14001c18a
mov edx, 0x800
mov rcx, rbp
mov qword [0x1400311c8], rsi
call sym.genKey__nimaliciousZcrypto_u4
cmp byte [rbx], 0
mov rdx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
jne 0x14001c160
mov rcx, qword [0x1400311c8]
movdqu xmm0, xmmword [rcx]
mov qword [rsp + 0x30], rdx
mov rcx, rbp
mov rdx, r14
mov qword [rsp + 0x38], r15
movaps xmmword [rsp + 0x40], xmm0
call sym.writeFile__stdZsyncio_u663
test r15, r15
je 0x14001c0e8
test byte [r15 + 7], 0x40
jne 0x14001c0e8
mov rcx, r15
call sym.deallocShared
jmp 0x14001c0e8
mov rcx, qword [0x14002cb70]
mov byte [rbx], 0
call dbg.__emutls_get_address
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
call sym.eqcopy___stdZtypedthreads_u187
cmp byte [rbx], 0
je 0x14001c0ed
mov rax, qword [rsp + 0x28]
mov rcx, rbp
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rax
call sym.eqdestroy___system_u3788
mov rcx, rbp
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], 1
call sym.eqdestroy___system_u3788
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.nimTestErrorFlag

Function at 0x14001c4e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x14001c550
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140031234]
test esi, esi
mov rbx, rcx
jle 0x14001c680
mov rax, qword [0x140031238]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001c59b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001c625
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001c580
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x14001c6a2
mov rax, qword [0x140031238]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140031238]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001c687
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001c61e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001c630
add dword [0x140031234], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140031238]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001c61e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14001c5a8
mov rax, qword [0x140031238]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14001cc10
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400312a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140031280]
test rbx, rbx
je 0x14001cc6c
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 eax, eax
jne 0x14001cc63
test rsi, rsi
je 0x14001cc63
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001cc48
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 0x14001ce80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14001ce98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14001cea0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x14001ceb0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14001cefd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x14001cef4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14001ceff
add rax, 0x28
cmp rax, r9
jne 0x14001cee0
xor eax, eax
ret

Function at 0x14001cf00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14001cf90
mov rdx, qword [0x14002cb30]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14001cf7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14001cf7e
cmp word [rax + 0x18], 0x20b
jne 0x14001cf7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14001cf90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14001cf69
add rbx, 0x28
cmp rbx, rdi
je 0x14001cf90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14001cf60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14001cfa0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002cb30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14001cfc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14001cfc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001cfc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001d01d
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]
cmp rcx, r8
mov rdx, r8
jb 0x14001d014
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14001cfc0
add rax, 0x28
cmp rax, r9
jne 0x14001d000
xor eax, eax
ret

Function at 0x14001d020
Capabilities:
Parse pe header

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

Function at 0x14001d060
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14002cb30]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14001d080
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14001d088
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14001d080
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x14001d0d0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14001d0c7
test rcx, rcx
je 0x14001d080
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14001d0b8
xor eax, eax
ret