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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 8]
test rax, rax
mov rbx, rcx
je 0x1400155fe
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x140015668
sub rdx, 0x10
jo 0x1400156a1
mov r8, qword [rax]
mov qword [rax - 0x10], rdx
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3453
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001562c
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x140015648
sub rdx, 0x10
jo 0x14001569a
mov r8, qword [rax]
mov qword [rax - 0x10], rdx
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3453
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14001563b
test byte [rcx + 7], 0x40
je 0x140015690
add rsp, 0x20
pop rbx
ret
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, qword [rbx + 0x18]
call sym.nimDestroyAndDispose
jmp 0x14001562c
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, qword [rbx + 8]
call sym.nimDestroyAndDispose
jmp 0x1400155fe
add rsp, 0x20
pop rbx
jmp sym.deallocShared
call sym.raiseOverflow
jmp 0x14001562c
call sym.raiseOverflow
jmp 0x1400155fe

Function at 0x1400156b0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x58]
test rax, rax
mov rbx, rcx
je 0x140015738
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400156f0
sub rdx, 0x10
jo 0x14001573e
mov qword [rax - 0x10], rdx
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov rdx, rcx
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp sym.rememberCycle__system_u3453
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, qword [rbx + 0x58]
call sym.eqdestroy___pureZtimes_u1439
mov rcx, qword [0x14002f050]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140015738
mov rcx, qword [rbx + 0x58]
mov edx, 8
add rsp, 0x20
pop rbx
jmp sym.nimRawDispose
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp sym.raiseOverflow

Function at 0x140015750
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x58]
test rax, rax
mov rbx, rcx
je 0x1400157d8
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x140015790
sub rdx, 0x10
jo 0x1400157de
mov qword [rax - 0x10], rdx
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov rdx, rcx
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp sym.rememberCycle__system_u3453
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, qword [rbx + 0x58]
call sym.eqdestroy___pureZtimes_u1439
mov rcx, qword [0x14002f050]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x1400157d8
mov rcx, qword [rbx + 0x58]
mov edx, 8
add rsp, 0x20
pop rbx
jmp sym.nimRawDispose
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp sym.raiseOverflow
Function at 0x140016530
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_u5369
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x50], rdx
lea rdx, [r8 + 8]
mov r12, rcx
mov rbp, r8
lea r14, [rsp + 0x60]
mov rdi, rdx
mov ecx, 0xc
rep stosq qword [rdi], rax
mov qword [r8], r15
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov rcx, r14
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x20], rax
call sym.initDuration__pureZtimes_u501
mov rcx, qword [0x14002f050]
mov rdi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rsi, rax
jne 0x140016750
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
sub rdx, rdi
jo 0x14001677c
sub r8, r13
jo 0x14001677c
mov rcx, r14
call sym.normalize__pureZtimes_u1216
mov rbx, qword [rsp + 0x60]
cmp byte [rsi], 0
jne 0x140016750
mov rcx, rbx
mov edx, 0x15180
call sym.floorDiv__pureZtimes_u317
cmp byte [rsi], 0
mov rcx, rax
jne 0x140016750
imul rax, rax, 0x15180
jo 0x140016764
sub rbx, rax
jo 0x140016764
movabs rax, 0x48d159e26af37c05
imul rbx
mov rax, rbx
sar rax, 0x3f
sar rdx, 0xa
mov rdi, rdx
sub rdi, rax
imul rax, rdi, 0xe10
sub rbx, rax
jo 0x140016764
movabs rax, 0x8888888888888889
imul rbx
mov rax, rbx
sar rax, 0x3f
lea r13, [rdx + rbx]
sar r13, 5
sub r13, rax
imul rax, r13, 0x3c
sub rbx, rax
jo 0x140016764
lea rax, [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call sym.fromEpochDay__pureZtimes_u203
cmp byte [rsi], 0
jne 0x140016750
movzx eax, byte [rsp + 0x78]
cmp rdi, 0x17
mov qword [rbp], r15
mov r14, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
movq xmm1, rax
mov rdx, rax
movq xmm0, r14
punpcklqdq xmm0, xmm1
mov qword [rbp + 0x38], r8
movups xmmword [rbp + 0x28], xmm0
ja 0x140016790
cmp r13, 0x3b
mov qword [rbp + 0x20], rdi
ja 0x1400167c8
cmp rbx, 0x3c
mov qword [rbp + 0x18], r13
ja 0x1400167b8
mov qword [rbp + 0x10], rbx
mov rax, qword [r12 + 8]
movzx ebx, dl
mov rcx, r14
mov edx, ebx
mov qword [rsp + 0x58], r8
mov qword [rbp + 8], rax
call sym.getDayOfWeek__pureZtimes_u311
cmp byte [rsi], 0
jne 0x140016750
mov r8, qword [rsp + 0x58]
mov byte [rbp + 0x40], al
mov edx, ebx
mov rcx, r14
call sym.getDayOfYear__pureZtimes_u266
cmp byte [rsi], 0
jne 0x140016750
mov qword [rbp + 0x48], rax
movzx eax, byte [r12 + 0x18]
mov byte [rbp + 0x50], al
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x58], rax
mov rax, qword [r12 + 0x10]
mov qword [rbp + 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
jmp 0x1400165f6
mov r8d, 0x17
xor edx, edx
mov rcx, rdi
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, rbx
jmp 0x14001679b
mov r8d, 0x3b
xor edx, edx
mov rcx, r13
jmp 0x14001679b
Function at 0x1400168b0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
test rbx, rbx
mov qword [rcx], rdx
je 0x140016930
mov rax, qword [rbx - 0x10]
lea rdx, [rbx - 0x10]
cmp rax, 0xf
jbe 0x1400168f0
sub rax, 0x10
jo 0x140016936
lea r8, sym.rttiDestroy__pureZtimes_u5371
xor ecx, ecx
mov qword [rbx - 0x10], rax
add rsp, 0x20
pop rbx
jmp sym.rememberCycle__system_u3453
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, rbx
call sym.eqdestroy___pureZtimes_u1439
mov rcx, qword [0x14002f050]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140016930
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 0x140016e30
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
test rdx, rdx
je 0x140016e4b
mov rax, qword [rdx - 0x10]
add rax, 0x10
jo 0x140016ec6
mov qword [rdx - 0x10], rax
test rbx, rbx
mov qword [rcx], rdx
je 0x140016ec0
mov rax, qword [rbx - 0x10]
lea rdx, [rbx - 0x10]
cmp rax, 0xf
jbe 0x140016e80
sub rax, 0x10
jo 0x140016ee4
lea r8, sym.rttiDestroy__pureZtimes_u5371
xor ecx, ecx
mov qword [rbx - 0x10], rax
add rsp, 0x30
pop rbx
jmp sym.rememberCycle__system_u3453
lea r8, sym.rttiDestroy__pureZtimes_u5371
mov ecx, 1
call sym.rememberCycle__system_u3453
mov rcx, rbx
call sym.eqdestroy___pureZtimes_u1439
mov rcx, qword [0x14002f050]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x140016ec0
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 0x140016e4b
add rsp, 0x30
pop rbx
jmp sym.raiseOverflow
Function at 0x1400199a0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r10, qword [rcx]
test r10, r10
mov rbx, rcx
je 0x140019a91
jle 0x140019ab7
lea rdi, [r10 - 1]
mov r11, qword [rcx + 8]
mov r8, r10
lea r9, [r10 - 2]
mov rcx, rdi
jmp 0x140019a0f
cmp r8, 1
jle 0x140019ade
cmp r10, r9
jle 0x140019aaf
movzx eax, byte [r11 + rcx + 7]
cmp al, 0x5c
je 0x1400199f5
cmp al, 0x2f
jne 0x140019ae8
test rcx, rcx
je 0x140019a50
sub rcx, 1
sub r9, 1
sub r8, 1
cmp r10, rcx
jle 0x140019aa0
movzx eax, byte [r11 + rcx + 8]
cmp al, 0x5c
je 0x1400199f5
cmp al, 0x2f
je 0x1400199f5
cmp al, 0x2e
mov rsi, r8
je 0x1400199d0
test dl, dl
je 0x140019b05
test r8, r8
jns 0x140019b0c
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 0x140019ac2
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 0x140019b14
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 0x140019aa3
test dl, dl
mov rsi, r10
jne 0x140019a35
movdqa xmm0, xmmword [0x14002db40]
lea rdx, [rsp + 0x20]
mov rcx, rbx
movaps xmmword [rsp + 0x20], xmm0
call sym.eqsink___stdZassertions_u36
jmp 0x140019a91
mov esi, 1
nop dword [rax + rax]
test dl, dl
mov rcx, rsi
jne 0x140019a54
mov rdx, rsi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.setLengthStrV2
test r8, r8
jg 0x140019af3
jmp 0x140019ac2
mov rcx, r8
jmp 0x140019a54
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.raiseOverflow
Function at 0x140019f70
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 0x14001a028
mov rdi, qword [0x14002f050]
movzx r14d, byte [r13 + r12 + 7]
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x14001a090
cmp r14b, 0x5c
sete sil
cmp r14b, 0x2f
sete al
or esi, eax
xor edx, edx
mov rcx, rbx
call sym.normalizePathEnd__stdZprivateZospaths50_u19
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rdi, rax
jne 0x14001a090
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 0x14001a090
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__stdZprivateZospaths50_u19
jne 0x14001a0a0
mov rdx, qword [rcx]
test rdx, rdx
jle 0x14001a0a0
mov rax, qword [rcx + 8]
test rax, rax
je 0x14001a0b0
test byte [rax + 7], 0x40
je 0x14001a0b0
call sym.nimPrepareStrMutationImpl__system_u2414
mov rdx, qword [rbx]
mov rcx, rdx
sub rcx, 1
jo 0x14001a0cb
test rcx, rcx
js 0x14001a0c0
cmp rdx, rcx
jle 0x14001a0c0
mov rax, qword [rbx + 8]
lea rsi, [rax + rcx + 8]
mov rdi, qword [0x14002f050]
mov rcx, rdi
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x14001a090
movzx eax, byte [rsi]
cmp al, 0x5c
sete sil
cmp al, 0x2f
sete al
or esi, eax
jmp 0x140019fc3
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [0x14002f050]
xor esi, esi
jmp 0x140019fc3
lea rcx, [rdx - 1]
jmp 0x14001a052
sub rdx, 1
call sym.raiseIndexError2
jmp 0x14001a065
call sym.raiseOverflow
jmp 0x14001a065

Function at 0x14001b4c0
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 [0x14002f050]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x14001b51d
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 0x14001b528
test byte [rbx + 7], 0x40
je 0x14001b530
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 0x14001b540
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 [0x14002f050]
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x14001b623
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 0x14001b5e2
mov rax, rbx
add rax, 1
jo 0x14001b690
test r13, r13
js 0x14001b670
lea rdx, [r12 + 8]
mov r8, r13
mov rcx, r14
call sym.memcpy
add rbx, rsi
jo 0x14001b690
lea r14, [rbx + rdi + 8]
mov rsi, rbx
mov rbx, rsi
mov eax, 0xa
add rbx, 1
mov word [r14], ax
jo 0x14001b6a0
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 0x14001b623
test byte [rdi + 7], 0x40
je 0x14001b640
test r12, r12
je 0x14001b630
test byte [r12 + 7], 0x40
je 0x14001b650
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 0x14001b623
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 0x14001b5e2
call sym.raiseOverflow
jmp 0x14001b5e2
call sym.raiseOverflow
mov rbx, rsi
jmp 0x14001b5f8
Function at 0x14001ce70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatsstdatsexitprocsdotnim_Init000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatsstdatssynciodotnim_Init000
nop
add rsp, 0x28
jmp sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatswindowsatswinleandotnim_Init000

Function at 0x14001ce90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatsstdatssynciodotnim_DatInit000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatssystemdotnim_Init000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatswindowsatswinleandotnim_DatInit000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatsstdatsexitprocsdotnim_Init000
call sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatsstdatssynciodotnim_Init000
nop
add rsp, 0x28
jmp sym.atmCatcatsUsersatsrunneradminatsdotchoosenimatstoolchainsatsnimminus2dot0dot8atslibatswindowsatswinleandotnim_Init000
Function at 0x14001cec0
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 rbp, [rsp + 0x30]
movdqa xmm2, xmmword [0x14002e5f0]
mov qword [rax + 8], 0x47
lea rdi, [rsp + 0x40]
mov r12, rax
mov rdx, rbp
lea rax, [0x14002e5a0]
mov rcx, rdi
mov qword [r12 + 0x10], rax
movaps xmmword [rsp + 0x40], xmm2
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], r12
call sym.askConsent__nimaliciousZconsent_u18
mov rcx, qword [0x14002f050]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14001d09f
mov rcx, rdi
call sym.nosgetAppFilename
cmp byte [rbx], 0
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
jne 0x14001d093
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
call sym.readFile__stdZsyncio_u677
cmp byte [rbx], 0
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
jne 0x14001d093
mov qword [0x1400341d0], rdx
mov r8d, 8
mov edx, 0x10
mov ecx, 1
mov qword [0x1400341d8], rax
lea rsi, [0x14002e580]
call sym.newSeqPayload
mov rdx, rbp
mov rcx, rdi
mov qword [rax + 8], 3
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 1
call sym.findExes__nimaliciousZfiles_u48
mov rax, qword [rsp + 0x48]
cmp byte [rbx], 0
mov r13, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jne 0x14001d061
test r13, r13
jle 0x14001d061
lea r14, [rax + 8]
xor esi, esi
jmp 0x14001d00d
add rsi, 1
add r14, 0x10
cmp rsi, r13
je 0x14001d061
movdqu xmm0, xmmword [r14]
mov rdx, rbp
mov rcx, rdi
mov qword [0x1400341c8], r14
movdqa xmm1, xmmword [0x1400341d0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm1
call sym.writeFile__stdZsyncio_u682
cmp byte [rbx], 0
je 0x14001d000
mov rcx, qword [0x14002f040]
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_u169
cmp byte [rbx], 0
je 0x14001d000
mov rax, qword [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rax
call sym.eqdestroy___system_u3791
mov rax, qword [rsp + 0x28]
mov rcx, rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rax
call sym.eqdestroy___system_u3791
test r15, r15
je 0x14001d09f
test byte [r15 + 7], 0x40
je 0x14001d0e8
mov rcx, rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], 1
call sym.eqdestroy___system_u3791
cmp byte [rbx], 0
jne 0x14001d0cc
mov rcx, qword [0x1400341d8]
test rcx, rcx
je 0x14001d0cc
test byte [rcx + 7], 0x40
je 0x14001d0f8
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.nimTestErrorFlag
mov rcx, r15
call sym.deallocShared
jmp 0x14001d09f
call sym.deallocShared
jmp 0x14001d0cc
Function at 0x14001d400
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 0x14001d470
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140034244]
test esi, esi
mov rbx, rcx
jle 0x14001d5a0
mov rax, qword [0x140034248]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001d4bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001d545
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001d4a0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x14001d5c2
mov rax, qword [0x140034248]
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 [0x140034248]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001d5a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001d53e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001d550
add dword [0x140034244], 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 [0x140034248]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001d53e
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 0x14001d4c8
mov rax, qword [0x140034248]
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 0x14001db30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400342a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140034280]
test rbx, rbx
je 0x14001db8c
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 0x14001db83
test rsi, rsi
je 0x14001db83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001db68
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 0x14001dda0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14001ddb8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14001ddc0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14001ddd0
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 0x14001de1d
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 0x14001de14
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14001de1f
add rax, 0x28
cmp rax, r9
jne 0x14001de00
xor eax, eax
ret

Function at 0x14001de20
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14001deb0
mov rdx, qword [0x14002f000]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14001de9e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14001de9e
cmp word [rax + 0x18], 0x20b
jne 0x14001de9e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14001deb0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14001de89
add rbx, 0x28
cmp rbx, rdi
je 0x14001deb0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14001de80
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 0x14001dec0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14001df40
Capabilities:
Parse pe header

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