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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
lea rbp, [0x1400315a0]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualFree]
pxor xmm7, xmm7
lea rbx, [rbp - 0x28d8]
movq xmm6, rbp
mov r14, qword [rcx + 0x10]
punpcklqdq xmm6, xmm6
lea rsi, [rbx - 0x68]
lea r12, [rbx + 0x28a8]
mov rdi, rcx
nop dword [rax]
test r14, r14
je 0x140006ff2
mov r8, r14
mov rdx, qword [0x140030d60]
mov r14, qword [r14]
lea rcx, [r8 - 0x10]
mov r10, rcx
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub rdx, rax
mov qword [0x140030d60], rdx
cmp rax, 0xfc0
jle 0x140007038
cmp qword [0x1400315a0], 0
jne 0x140006fbb
movaps xmmword [0x1400315a0], xmm6
lea r8, [r10 + 0x20]
mov rdx, r12
mov rcx, rbx
mov qword [0x140031578], rbp
call sym.del__system_4207
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jg 0x1400070f8
mov rdx, r10
mov rcx, rbx
call sym.freeBigChunk__system_4544
test r14, r14
jne 0x140006f75
mov rax, qword [rdi + 0x18]
mov qword [rdi + 0x10], 0
mov rcx, rbx
lea rdx, [rax - 0x10]
call sym.rawDealloc__system_4738
mov qword [rdi + 0x18], 0
mov qword [rdi], 0
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [rcx + 8], 0
mov rdx, qword [r10 + 0x20]
mov qword [r8 - 0x10], rdx
mov rdx, qword [r10 + 0x28]
mov qword [r10 + 0x20], rcx
cmp rax, rdx
jg 0x1400070c0
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140006f70
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [rsi + rax*8 + 0x78]
je 0x1400071a0
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x1400070a0
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r10 + 8], 0x1000
mov rdx, r10
mov rcx, rbx
movaps xmmword [r10 + 0x10], xmm7
call sym.freeBigChunk__system_4544
jmp 0x140006f70
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [rsi + rdx*8 + 0x68]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x1400070e5
mov qword [rcx + 0x18], r10
mov qword [rsi + rdx*8 + 0x68], r10
add qword [r10 + 0x28], rax
jmp 0x140006f70
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [rsi + rax*8 + 0x2110]
test rax, rax
jne 0x140007120
jmp 0x14000714a
mov rax, qword [rax]
test rax, rax
je 0x14000714a
cmp rdx, qword [rax + 8]
jne 0x140007118
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [0x140030d48]
mov rdx, qword [0x140030d50]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [0x140030d48], rax
mov qword [0x140030d50], rdx
xor edx, edx
call r13
test eax, eax
jne 0x140006f70
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax]
mov qword [rsi + rcx*8 + 0x68], rdx
test rdx, rdx
je 0x1400070a0
mov qword [rdx + 0x18], 0
jmp 0x1400070a0
Function at 0x140007530
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rdx + 8]
cmp qword [rax + 0x28], 0
mov rbx, rcx
mov rsi, rdx
je 0x14000755e
add qword [0x14002ecc0], 1
lea rcx, [rdx + 0x10]
call qword [rax + 0x28]
sub qword [0x14002ecc0], 1
mov r10, rsi
mov rdx, qword [rbx + 0x2100]
lea r11, [rbx + 0x68]
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub rdx, rax
mov qword [rbx + 0x2100], rdx
cmp rax, 0xfc0
jle 0x140007678
cmp qword [rbx + 0x2940], 0
lea rax, [rbx + 0x2940]
je 0x140007738
mov qword [rbx + 0x2918], rax
lea r8, [r10 + 0x20]
lea rdx, [rbx + 0x2910]
mov rcx, r11
call sym.del__system_4207
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jle 0x140007724
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [rbx + rax*8 + 0x2110]
test rax, rax
jne 0x1400075f8
jmp 0x140007622
mov rax, qword [rax]
test rax, rax
je 0x140007622
cmp rdx, qword [rax + 8]
jne 0x1400075f0
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [rbx + 0x20e8]
mov rdx, qword [rbx + 0x20f0]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [rbx + 0x20e8], rax
mov qword [rbx + 0x20f0], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400076c2
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax + rax]
mov qword [rsi + 8], 0
mov rdx, qword [r10 + 0x20]
mov qword [rsi], rdx
mov rdx, qword [r10 + 0x28]
mov qword [r10 + 0x20], rsi
cmp rax, rdx
jle 0x1400076d0
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [rbx + rdx*8 + 0x68]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x1400076b9
mov qword [rcx + 0x18], r10
mov qword [rbx + rdx*8 + 0x68], r10
add qword [r10 + 0x28], rax
add rsp, 0x28
pop rbx
pop rsi
ret
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x1400076c2
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [rbx + rax*8 + 0x78]
je 0x140007750
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140007713
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r10 + 8], 0x1000
pxor xmm0, xmm0
movaps xmmword [r10 + 0x10], xmm0
mov rdx, r10
mov rcx, r11
add rsp, 0x28
pop rbx
pop rsi
jmp sym.freeBigChunk__system_4544
movq xmm0, rax
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x2940], xmm0
jmp 0x1400075a2
mov qword [rbx + rcx*8 + 0x68], rdx
test rdx, rdx
je 0x140007713
mov qword [rdx + 0x18], 0
jmp 0x140007713

Function at 0x140007be0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, rsi
mov r8, rdi
mov edx, 1
mov rbx, rax
mov r9, rax
call sym.fwrite
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.fflush
Function at 0x14000f520
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r12, qword [rsp + 0x70]
mov rbx, rcx
mov rsi, r8
mov rdi, r9
jne 0x14000f543
mov qword [rcx + 0x10], rdx
test rsi, rsi
je 0x14000f5c0
test rdi, rdi
je 0x14000f5c0
mov rcx, qword [rbx + 0x20]
lea rdx, [0x140031c20]
call sym.incrSeqV3
mov rbp, rax
test rax, rax
je 0x14000f56a
add qword [rax - 0x10], 8
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14000f598
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x14000f598
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
mov qword [rbx + 0x20], rbp
mov rax, qword [rbp]
lea rdx, [rax + 1]
lea rax, [rax + rax*2]
mov qword [rbp], rdx
mov rdx, qword [rbx + 0x20]
lea rax, [rdx + rax*8]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], rdi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.raiseExceptionAux__system_2868

Function at 0x14000fb90
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x140
cmp qword [0x140031858], 0
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x168], rdx
mov byte [rsp + 0x2f], 1
je 0x14000fc74
mov rax, qword [0x140031848]
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [0x140031848], rax
call sym.__intrinsic_setjmpex
cdqe
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000fc90
xor ebx, ebx
cmp qword [rsp + 0x160], 0
je 0x14000fc49
mov rcx, qword [rsp + 0x160]
mov edi, 7
call sym.strlen
lea rcx, [0x14001a020]
cmp rax, rdi
mov rsi, rax
cmovge rdi, rax
lea rdx, [rdi + 0x11]
call sym.rawNewObj__system_5697.constprop.0
mov rdx, qword [rsp + 0x160]
lea r8, [rsi + 1]
mov qword [rax + 8], rdi
lea rcx, [rax + 0x10]
mov rbx, rax
mov qword [rax], rsi
call sym.memcpy
mov rcx, rbx
call qword [0x140031858]
cmp qword [rsp + 0x38], 0
mov byte [rsp + 0x2f], 0
mov rax, qword [0x140031848]
mov rax, qword [rax]
mov qword [0x140031848], rax
jne 0x14000fd03
movzx eax, byte [rsp + 0x2f]
test al, al
jne 0x14000fd20
add rsp, 0x140
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [0x140031848]
mov rax, qword [rax]
mov qword [rsp + 0x38], 0
mov qword [0x140031848], rax
mov rax, qword [0x140031840]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x14000fccb
add qword [rbx - 0x10], 8
mov rax, qword [0x140031840]
test rax, rax
je 0x14000fcf0
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x14000fcf0
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
cmp qword [rsp + 0x38], 0
mov qword [0x140031840], rbx
je 0x14000fc74
mov rcx, qword [0x140031840]
test rcx, rcx
je 0x14000fd58
call sym.raiseExceptionAux__system_2868
jmp 0x14000fc74
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x160]
mov edx, 1
mov r8, qword [rsp + 0x168]
mov rbx, rax
mov r9, rax
call sym.fwrite
mov rcx, rbx
call sym.fflush
jmp 0x14000fc81
call sym.reraiseException.part.0
nop
nop
Function at 0x140010110
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x140031870]
mov rbx, rcx
test rax, rax
je 0x14001012f
call rax
test al, al
je 0x1400101f0
mov rax, qword [0x140031878]
test rax, rax
je 0x140010148
mov rcx, rbx
call rax
test al, al
je 0x1400101f0
cmp qword [0x140031848], 0
je 0x140010200
mov rsi, qword [0x140031840]
test rsi, rsi
je 0x140010167
add qword [rsi - 0x10], 8
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x140010195
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x140010195
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
add qword [rbx - 0x10], 8
mov rax, qword [0x140031840]
mov qword [rbx + 0x28], rsi
test rax, rax
je 0x1400101cf
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x1400101cf
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
mov rax, qword [0x140031848]
mov qword [0x140031840], rbx
mov edx, 1
lea rcx, [rax + 0x10]
call qword [sym.imp.ucrtbase.dll_longjmp]
nop
nop dword [rax]
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x140031860]
test rax, rax
je 0x140010211
mov rcx, rbx
call rax
mov rcx, rbx
call sym.reportUnhandledErrorAux__system_2754
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop

Function at 0x140010230
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x140031840]
test rbx, rbx
je 0x140010353
mov rax, qword [0x140031870]
test rax, rax
je 0x14001025f
mov rcx, rbx
call rax
test al, al
je 0x140010320
mov rax, qword [0x140031878]
test rax, rax
je 0x140010278
mov rcx, rbx
call rax
test al, al
je 0x140010320
cmp qword [0x140031848], 0
je 0x140010330
mov rsi, qword [0x140031840]
test rsi, rsi
je 0x140010297
add qword [rsi - 0x10], 8
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1400102c5
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x1400102c5
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
add qword [rbx - 0x10], 8
mov rax, qword [0x140031840]
mov qword [rbx + 0x28], rsi
test rax, rax
je 0x1400102ff
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x1400102ff
mov rdx, rcx
lea rcx, [0x14002ec78]
call sym.addZCT__system_5314
mov rax, qword [0x140031848]
mov qword [0x140031840], rbx
mov edx, 1
lea rcx, [rax + 0x10]
call qword [sym.imp.ucrtbase.dll_longjmp]
nop
nop dword [rax]
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x140031860]
test rax, rax
je 0x140010341
mov rcx, rbx
call rax
mov rcx, rbx
call sym.reportUnhandledErrorAux__system_2754
mov ecx, 1
call sym.exit
call sym.reraiseException.part.0
nop
nop dword [rax]
Function at 0x140010360
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, str.SIGINT:_Interrupted_by_Ctrl_C._n
cmp ecx, 2
je 0x1400103b0
lea rbx, str.SIGSEGV:_Illegal_storage_access.__Attempt_to_read_from_nil___n
cmp ecx, 0xb
je 0x1400103b0
lea rbx, str.SIGABRT:_Abnormal_termination._n
cmp ecx, 0x16
je 0x1400103b0
lea rbx, str.SIGFPE:_Arithmetic_error._n
cmp ecx, 8
je 0x1400103b0
cmp ecx, 4
lea rbx, str.SIGILL:_Illegal_operation._n
lea rax, str.unknown_signal_n
cmovne rbx, rax
nop word [rax + rax]
mov rcx, rbx
call sym.strlen
mov rcx, rbx
mov rdx, rax
call sym.showErrorMessage__system_2538
mov ecx, 1
call sym.exit
nop
nop

Function at 0x1400106e0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdi, [0x14001b428]
mov rbx, rcx
mov ecx, 2
call rsi
lea rdx, str.could_not_load:
mov rcx, rax
call sym.rawWrite
test rbx, rbx
je 0x140010719
cmp qword [rbx], 0
jne 0x140010758
mov ecx, 2
call rsi
mov rdx, rdi
mov rcx, rax
call sym.rawWrite
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
je 0x14001075e
mov ecx, 2
call rsi
lea rdx, [0x14001b471]
mov rcx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
lea rdi, [rbx + 0x10]
jmp 0x140010719
mov ecx, 2
call rsi
lea rdx, str._n_bad_format__library_may_be_wrong_architecture_
mov rcx, rax
call sym.rawWrite
jmp 0x140010738

Function at 0x140010780
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rsi, rcx
mov ecx, 2
call rbx
lea rdx, str.could_not_import:
mov rcx, rax
call sym.rawWrite
mov ecx, 2
call rbx
mov rdx, rsi
mov rcx, rax
call sym.rawWrite
mov ecx, 2
call rbx
lea rdx, [0x14001b471]
mov rcx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop
nop dword [rax]

Function at 0x140010910
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140031848]
test rcx, rcx
je 0x140010930
add rcx, 0x10
mov edx, 1
call qword [sym.imp.ucrtbase.dll_longjmp]
mov rax, qword [0x140031860]
mov rbx, qword [0x140031840]
test rax, rax
je 0x140010948
mov rcx, rbx
call rax
mov rcx, rbx
call sym.reportUnhandledErrorAux__system_2754
mov ecx, 1
call sym.exit
nop
nop dword [rax + rax]
Function at 0x1400118c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x170
call sym.GetLsassPid__app_39
mov qword [0x1400322a8], rax
test rax, rax
je 0x140011acb
pxor xmm0, xmm0
lea rcx, [0x14001bae0]
lea rbx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call sym.copyString
mov rcx, qword [0x1400322a8]
mov qword [rsp + 0x40], rax
call sym.dollar___systemZdollars_3
mov edx, 2
mov rcx, rbx
mov qword [rsp + 0x48], rax
call sym.echoBinSafe
xor ecx, ecx
call sym.winimConverterBooleanToBOOL__OOZOnimbleZpkgsZwinim4551O57O48ZwinimZutils_2
mov r8d, dword [0x1400322a8]
mov ecx, 0x1fffff
mov edx, eax
mov rax, qword [0x14001c230]
call qword [rax]
mov qword [0x1400322a0], rax
test rax, rax
je 0x140011ab0
mov rax, qword [0x14001c480]
lea rcx, [rsp + 0x70]
mov rdx, qword [rax]
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x60]
mov qword [rax], rdx
xor edx, edx
call sym.__intrinsic_setjmpex
cdqe
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400119b8
mov rax, qword [0x14001c480]
mov rax, qword [rax]
mov rdx, qword [rax]
mov rax, qword [0x14001c480]
mov rcx, qword [0x1400322a0]
mov qword [rax], rdx
mov rax, qword [0x14001c220]
call qword [rax]
cmp qword [rsp + 0x68], 0
jne 0x140011a90
add rsp, 0x170
pop rbx
ret
mov r8, 0xffffffffffffffff
mov edx, 1
lea rbx, [rsp + 0x50]
lea rcx, [0x14001ba60]
call sym.open__systemZio_518
mov edx, 1
lea rcx, [0x14001ba08]
mov qword [0x140032298], rax
call sym.echoBinSafe
mov rcx, qword [0x140032298]
call sym.getOsFileHandle__systemZio_251
mov r9d, 2
mov edx, dword [0x1400322a8]
mov rcx, qword [0x1400322a0]
movsxd r8, eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [0x140032288]
pxor xmm0, xmm0
lea rcx, [0x14001b9a0]
movaps xmmword [rsp + 0x50], xmm0
mov dword [0x140032290], eax
call sym.copyString
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov eax, dword [0x140032290]
test eax, eax
setne cl
call sym.nimBoolToStr
mov edx, 2
mov rcx, rbx
mov qword [rsp + 0x58], rax
call sym.echoBinSafe
mov rcx, qword [0x140032298]
call sym.close__systemZio_237
mov rax, qword [0x14001c480]
mov rax, qword [rax]
mov rdx, qword [rax]
jmp 0x140011984
call sym.nimLeaveFinally
cmp qword [rsp + 0x68], 0
je 0x1400119aa
call sym.reraiseException
nop
add rsp, 0x170
pop rbx
ret
lea rcx, [0x14001ba88]
mov edx, 1
call sym.echoBinSafe
mov ecx, 1
call sym.exit
lea rcx, [0x14001bb00]
mov edx, 1
call sym.echoBinSafe
mov ecx, 1
call sym.exit
nop
nop word [rax + rax]

Function at 0x140011e90
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 0x140012b62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140032388]
test eax, eax
je 0x140012bfa
lea rax, [0x140032360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140032390]
mov qword [rbp - 8], rax
jmp 0x140012bde
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 0x140012bd2
cmp qword [rbp - 0x10], 0
je 0x140012bd2
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 0x140012b98
lea rax, [0x140032360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140012bfb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140012d00
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 0x140012d28
mov eax, 0
jmp 0x140012d76
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 0x140012d51
mov eax, 0
jmp 0x140012d76
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 0x140012d71
mov eax, 0
jmp 0x140012d76
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140012d7c
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 0x140012dfa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140012df1
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 0x140012df1
mov rax, qword [rbp - 8]
jmp 0x140012e0f
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 0x140012dc4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400173a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140072410]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x64], 1
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0xb0], 0x65
mov dword [rsp + 0x28], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0xb0], 0x72
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0xb0], 0x72
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x4c], 0
call fcn.140013320
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xa
jae 0x140017429
jmp 0x14001742e
call fcn.140017888
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0xb0], 0
mov edx, 0x40401
lea rcx, str.MZARUH
call fcn.140015fe0
test eax, eax
jne 0x140017562
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x48], 0
mov ecx, 0x14
call fcn.1400176c0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rax
jmp 0x140017647
mov ecx, 0xffffffff
call qword [0x140073af8]
mov ecx, 0x14
call fcn.1400176c0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov ecx, 0x14
call fcn.1400176c0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x20], 0
jne 0x1400175c1
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x54], 0
jne 0x140017601
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x64]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x4c]
mov byte [rcx + rax], dl
cmp qword [rsp + 0x20], 0
je 0x14001763f
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0x61
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0x62
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x28]
jmp 0x14001766e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140017a30
add rsp, 0xd8
ret

Function at 0x14001a2fc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001a164