joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001c80
Capabilities:
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x18005f7d8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x180060234]
test rax, rax
je 0x180001cd9
mov esi, ecx
mov r14d, 0x20
mov rcx, qword [0x180060228]
xor r15d, r15d
nop dword [rax]
mov edx, dword [rcx + r14]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180001ce0
add r14, 0x38
inc r15
cmp eax, r15d
jne 0x180001cc0
xor edi, edi
jmp 0x180001e80
xor r8d, r8d
test esi, esi
setne r8b
lea rcx, [rsp + 0x20]
mov edx, 0xffffffff
call fcn.180002110
mov edi, eax
test eax, eax
jne 0x180001e80
mov eax, dword [0x180060234]
cmp r15d, eax
jae 0x180001e03
mov r12d, esi
and r12b, 1
lea ecx, [r12 + r12]
shl r12b, 2
or r12b, cl
mov rbp, qword [0x180060228]
mov r13, qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x180001d8b
movzx edx, byte [rax + 4]
mov byte [rdi + 4], dl
mov eax, dword [rax]
mov dword [rdi], eax
nop
and cl, 1
movzx eax, cl
lea rbx, [rax + rax]
add rbx, 5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call r13
movzx eax, byte [rbp + r14]
and al, 0xf9
or al, r12b
mov byte [rbp + r14], al
mov rbp, qword [0x180060228]
mov eax, dword [0x180060234]
inc r15
mov ecx, eax
add r14, 0x38
cmp r15, rcx
jae 0x180001e03
mov ecx, dword [rbp + r14]
mov edx, ecx
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180001d7d
xor eax, eax
test cl, 1
sete al
mov rdx, qword [rbp + r14 - 0x20]
lea rax, [rax + rax*4]
lea rdi, [rdx + rax]
add rdi, 0xfffffffffffffffb
test esi, esi
je 0x180001de3
mov byte [rdi], 0xe9
mov eax, dword [rbp + r14 - 0x18]
sub eax, edi
add eax, 0xfffffffb
mov dword [rdi + 1], eax
test byte [rbp + r14], 1
je 0x180001d40
mov rax, qword [rbp + r14 - 0x20]
mov word [rax], 0xf9eb
jmp 0x180001d40
lea rax, [r14 + rbp]
add rax, 0xfffffffffffffff8
test cl, 1
je 0x180001d33
mov edx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rdi + 3], eax
mov dword [rdi], edx
jmp 0x180001d40
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x180001cd9
mov ebx, dword [rsp + 0x2c]
test rbx, rbx
je 0x180001e6c
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_OpenThread]
mov r12, qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r13, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180001e48
inc r14
cmp rbx, r14
je 0x180001e6c
mov r8d, dword [rsi + r14*4]
mov ecx, 0x5a
xor edx, edx
call r15
test rax, rax
je 0x180001e40
mov rdi, rax
mov rcx, rax
call r12
mov rcx, rdi
call r13
jmp 0x180001e40
mov rcx, qword [0x180060220]
xor edi, edi
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003c3c0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180037890
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rcx + r8*2], 0
lea r8, [r8 + 1]
jne 0x1800378a0
mov eax, 0xffffffff
cmp r8d, 1
je 0x18003792b
lea rdx, [r8 - 1]
cmp r8d, 2
je 0x180037911
mov r8d, edx
and r8d, 0xfffffffe
nop dword [rax + rax]
mov r9d, eax
shl r9d, 8
shr eax, 0x18
movzx r10d, word [rcx]
xor r10d, eax
imul eax, r10d, 0x71159069
xor eax, r9d
mov r9d, eax
shl r9d, 8
shr eax, 0x18
movzx r10d, word [rcx + 2]
add rcx, 4
xor r10d, eax
imul eax, r10d, 0x71159069
xor eax, r9d
add r8d, 0xfffffffe
jne 0x1800378d0
test dl, 1
je 0x18003792b
mov edx, eax
shl edx, 8
shr eax, 0x18
movzx ecx, word [rcx]
xor ecx, eax
imul eax, ecx, 0x71159069
xor eax, edx
ret
Function at 0x180037930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
cmp edx, 0xa
mov eax, 0xa
cmovl eax, edx
xorps xmm1, xmm1
ucomiss xmm1, xmm0
jbe 0x18003796f
xorps xmm0, xmmword [0x18004d310]
mov word [0x180070270], 0x2d
lea rcx, [0x180070272]
test eax, eax
js 0x18003797a
jne 0x1800379ea
xor eax, eax
mov r8b, 1
jmp 0x1800379fc
lea rcx, [0x180070270]
test eax, eax
jns 0x18003795f
mov eax, 6
movss xmm1, dword [0x18004cedc]
ucomiss xmm1, xmm0
ja 0x1800379ea
mov eax, 5
movss xmm1, dword [0x18004cf90]
ucomiss xmm1, xmm0
ja 0x1800379ea
mov eax, 4
movss xmm1, dword [0x18004d210]
ucomiss xmm1, xmm0
ja 0x1800379ea
mov eax, 3
movss xmm1, dword [0x18004f3fc]
ucomiss xmm1, xmm0
ja 0x1800379ea
mov eax, 2
movss xmm1, dword [0x18004f400]
ucomiss xmm1, xmm0
ja 0x1800379ea
mov eax, 1
movss xmm1, dword [0x18004f404]
ucomiss xmm1, xmm0
jbe 0x180037965
mov edx, eax
lea r8, [0x18004f3d0]
addss xmm0, dword [r8 + rdx*4]
xor r8d, r8d
cvttss2si r9d, xmm0
test r9d, r9d
je 0x180037a8e
mov rdx, rcx
nop dword [rax]
movsxd r10, r9d
imul r11, r10, 0x66666667
mov rsi, r11
shr rsi, 0x3f
sar r11, 0x22
add r11d, esi
lea esi, [r11 + r11]
lea esi, [rsi + rsi*4]
neg esi
add r9d, esi
add r9d, 0x30
mov word [rdx], r9w
add rdx, 2
add r10d, 9
mov r9d, r11d
cmp r10d, 0x13
jae 0x180037a10
cmp rdx, rcx
jbe 0x180037a84
add rcx, 2
mov r9, rdx
nop dword [rax]
movzx r10d, word [r9 - 2]
movzx r11d, word [rcx - 2]
mov word [r9 - 2], r11w
add r9, 0xfffffffffffffffe
mov word [rcx - 2], r10w
lea r10, [rcx + 2]
cmp r9, rcx
mov rcx, r10
ja 0x180037a60
test r8b, r8b
je 0x180037aa3
jmp 0x180037b57
mov word [rcx], 0x30
add rcx, 2
mov rdx, rcx
test r8b, r8b
jne 0x180037b57
mov word [rdx], 0x2e
lea r8, [rdx + 2]
test eax, eax
je 0x180037b54
cvttps2dq xmm1, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
test al, 1
jne 0x180037acf
mov ecx, eax
cmp eax, 1
jne 0x180037b04
jmp 0x180037b57
mulss xmm0, dword [0x18004cf90]
lea ecx, [rax - 1]
cvttss2si r8d, xmm0
lea r9d, [r8 + 0x30]
movzx r8d, r8w
xorps xmm1, xmm1
cvtsi2ss xmm1, r8d
mov word [rdx + 2], r9w
subss xmm0, xmm1
add rdx, 4
mov r8, rdx
cmp eax, 1
je 0x180037b57
movss xmm1, dword [0x18004cf90]
nop dword [rax]
mulss xmm0, xmm1
cvttss2si eax, xmm0
lea edx, [rax + 0x30]
mov word [r8], dx
movzx eax, ax
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
subss xmm0, xmm2
mulss xmm0, xmm1
cvttss2si eax, xmm0
lea edx, [rax + 0x30]
movzx eax, ax
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov word [r8 + 2], dx
add r8, 4
subss xmm0, xmm2
add ecx, 0xfffffffe
jne 0x180037b10
mov rdx, r8
mov word [rdx], 0
lea rax, [0x180070270]
pop rsi
ret

Function at 0x1800406c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800406e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800406e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180045bd8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180045c08
xor eax, eax
jmp 0x180045ccb
mov rbp, rbx
cmp word [rax], si
je 0x180045c2d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180045c14
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180045c10
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180045af8
movsxd r14, eax
test eax, eax
jne 0x180045c6b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180045c01
mov rcx, r14
call fcn.180046c58
mov rdi, rax
test rax, rax
jne 0x180045c84
xor ecx, ecx
call fcn.180043cbc
jmp 0x180045c60
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180045af8
test eax, eax
jne 0x180045cb5
mov rcx, rdi
call fcn.180043cbc
jmp 0x180045cbf
xor ecx, ecx
call fcn.180043cbc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1406bdc08
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406bdd8f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406bdc39
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bdc1f
add dl, dl
jne 0x1406bdc46
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bdca6
xor eax, eax
add dl, dl
jne 0x1406bdc55
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bdd5d
add dl, dl
jne 0x1406bdc66
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bdc73
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bdc80
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bdc8d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406bdc9a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406bdc2e
mov eax, 1
add dl, dl
jne 0x1406bdcb6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bdcc3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bdcab
sub eax, ebx
mov ebx, 1
jne 0x1406bdcfc
mov ecx, 1
add dl, dl
jne 0x1406bdcde
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406bdceb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bdcd3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bdc2e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406bdd18
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406bdd25
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bdd0d
cmp eax, 0x7d00
jae 0x1406bdd4b
cmp eax, 0x500
jb 0x1406bdd46
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bdc2e
cmp eax, 0x7f
ja 0x1406bdd4e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bdc2e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406bdd82
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406bdc2e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001b350
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov qword [rsp + 0x30], rbx
nop
movzx eax, byte [rdi + 0x10]
test al, al
jne 0x14001b3d3
mov edx, 0x3e8
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14001b389
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001b3b3
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64]
lea rcx, [rdi + 0x30]
mov r8d, 0x7d0
lea rdx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QWaitCondition::wait_class_QMutex____ptr64__unsigned_long_int____ptr64]
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64]
jmp 0x14001b360
lea rcx, [rdi + 0x18]
call fcn.140012080
xor r9d, r9d
lea rdx, [0x1401cd0a8]
mov rcx, rax
lea r8d, [r9 + 4]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400730b0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14007310c
lea r8, [rsp + 0x38]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140073148
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.shutdown__r__f__t_00
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const____ptr64_]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e8850
add rsp, 0x68
ret
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140073106
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e8850
add rsp, 0x68
ret
Function at 0x140078db0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 8]
xor r14d, r14d
mov esi, r14d
mov ebp, r14d
mov rdi, rcx
nop word [rax + rax]
lea ecx, [rax + 0xff]
shl esi, cl
add esi, esi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140078e54
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140078e10
mov ecx, dword [r10]
jmp 0x140078f37
cmp ecx, 0x4e0
jb 0x140078f37
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140078e70
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140078ec0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x140078df0
mov rax, qword [rdi + 8]
or esi, ecx
add rbp, rax
cmp rbp, 0x20
jb 0x140078de0
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x140078fb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x1400791ba
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140079074
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140079030
mov ecx, dword [r10]
jmp 0x140079157
cmp ecx, 0x4e0
jb 0x140079157
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140079090
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400790e0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x140079010
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x140079000
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x1400791da
cmp r8d, r14d
jne 0x140078fe0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x1400e7040
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x1400e707d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.1400e9b20
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400e717c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400e9b20
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x1400e70f0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140015250
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x1400e71bb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400e71bb
call fcn.1400e9a98
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x1400e71a2
mov rcx, r14
call fcn.1400e9a98
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
xor r10d, r10d
mov r14, r8
mov r15, rdx
mov r11, rcx
mov r9d, dword [rax + rcx + 0x88]
add r9, rcx
mov edi, dword [r9 + 0x1c]
mov esi, dword [r9 + 0x20]
add rdi, rcx
mov ebp, dword [r9 + 0x24]
add rsi, rcx
mov ebx, dword [r9 + 0x18]
add rbp, rcx
test ebx, ebx
je 0x1400010bf
movzx ecx, r10w
mov r9, r14
movzx eax, word [rbp + rcx*2]
mov edx, dword [rdi + rax*4]
mov eax, dword [rsi + rcx*4]
add rdx, r11
add rax, r11
sub r9, rax
nop dword [rax + rax]
movzx r8d, byte [rax]
movzx ecx, byte [rax + r9]
sub r8d, ecx
jne 0x140001085
inc rax
test ecx, ecx
jne 0x140001070
test r8d, r8d
jne 0x1400010eb
movzx eax, byte [rdx]
cmp al, 0x4c
jne 0x1400010dd
cmp byte [rdx + 1], 0x8b
jne 0x1400010e5
cmp byte [rdx + 2], 0xd1
jne 0x1400010e5
cmp byte [rdx + 3], 0xb8
jne 0x1400010e5
cmp byte [rdx + 6], r8b
jne 0x1400010eb
cmp byte [rdx + 7], r8b
jne 0x1400010eb
movzx ecx, byte [rdx + 5]
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r15], ecx
mov eax, 1
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
cmp al, 0xe9
je 0x1400011af
cmp byte [rdx + 3], 0xe9
je 0x1400010fd
inc r10w
movzx eax, r10w
cmp eax, ebx
jb 0x140001050
jmp 0x1400010bf
mov r10d, 1
mov r11d, 0x1f4
movzx ecx, r10w
nop dword [rax]
movzx r9d, cx
mov r8d, r9d
shl r8d, 5
add r8, rdx
cmp byte [r8], 0x4c
jne 0x140001147
cmp byte [r8 + 1], 0x8b
jne 0x140001147
cmp byte [r8 + 2], 0xd1
jne 0x140001147
cmp byte [r8 + 3], 0xb8
jne 0x140001147
cmp byte [r8 + 6], 0
jne 0x140001147
cmp byte [r8 + 7], 0
je 0x140001192
mov eax, r9d
neg eax
shl eax, 5
movsxd r8, eax
add r8, rdx
cmp byte [r8], 0x4c
jne 0x140001182
cmp byte [r8 + 1], 0x8b
jne 0x140001182
cmp byte [r8 + 2], 0xd1
jne 0x140001182
cmp byte [r8 + 3], 0xb8
jne 0x140001182
cmp byte [r8 + 6], 0
jne 0x140001182
cmp byte [r8 + 7], 0
je 0x14000125b
inc cx
cmp cx, r11w
jbe 0x140001110
xor eax, eax
jmp 0x1400010c4
movzx ecx, byte [r8 + 5]
movzx eax, byte [r8 + 4]
sub eax, r9d
shl ecx, 8
or ecx, eax
mov eax, r10d
mov dword [r15], ecx
jmp 0x1400010c4
mov r10d, 1
mov r11d, 0x1f4
movzx ecx, r10w
nop
movzx r9d, cx
mov r8d, r9d
shl r8d, 5
add r8, rdx
cmp byte [r8], 0x4c
jne 0x1400011f7
cmp byte [r8 + 1], 0x8b
jne 0x1400011f7
cmp byte [r8 + 2], 0xd1
jne 0x1400011f7
cmp byte [r8 + 3], 0xb8
jne 0x1400011f7
cmp byte [r8 + 6], 0
jne 0x1400011f7
cmp byte [r8 + 7], 0
je 0x14000123e
mov eax, r9d
neg eax
shl eax, 5
movsxd r8, eax
add r8, rdx
cmp byte [r8], 0x4c
jne 0x14000122e
cmp byte [r8 + 1], 0x8b
jne 0x14000122e
cmp byte [r8 + 2], 0xd1
jne 0x14000122e
cmp byte [r8 + 3], 0xb8
jne 0x14000122e
cmp byte [r8 + 6], 0
jne 0x14000122e
cmp byte [r8 + 7], 0
je 0x14000125b
inc cx
cmp cx, r11w
jbe 0x1400011c0
xor eax, eax
jmp 0x1400010c4
movzx ecx, byte [r8 + 4]
sub ecx, r9d
movzx eax, byte [r8 + 5]
shl eax, 8
or ecx, eax
mov eax, r10d
mov dword [r15], ecx
jmp 0x1400010c4
movzx ecx, byte [r8 + 4]
add ecx, r9d
jmp 0x140001246