joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140046d10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140046e0b
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400091e0
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1400091e0
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.140079ccc
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140046da9
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400091e0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.1400091e0
mov eax, dword [rsp + 0xa0]
mov dword [rbx + 0x40], eax
jmp 0x140046dab
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140042130]
xor edx, edx
xor ecx, ecx
call fcn.140089b1c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046e4e
lea rcx, [rsp + 0x60]
call fcn.140043440
cmp dword [rsp + 0x38], 0
je 0x140046e61
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140078ec8
test eax, eax
jne 0x140046e61
jmp 0x140046e2d
cmp qword [rdx + 0x18], 0x10
jb 0x140046e15
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x140046e1f
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14007a190
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400782a4
nop
mov ecx, 1
call fcn.1400782a4
int3
Function at 0x140046e70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140046f78
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400093e0
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1400093e0
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.140079ccc
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140046f09
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400093e0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.1400093e0
mov eax, dword [rsp + 0xa0]
mov dword [rbx + 0x40], eax
jmp 0x140046f0b
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140042190]
xor edx, edx
xor ecx, ecx
call fcn.140089b1c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046fbb
lea rcx, [rsp + 0x80]
call fcn.14002a170
lea rcx, [rsp + 0x60]
call fcn.14002a170
cmp dword [rsp + 0x38], 0
je 0x140046fce
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140078ec8
test eax, eax
jne 0x140046fce
jmp 0x140046f9a
cmp qword [rdx + 0x18], 8
jb 0x140046f82
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140046f8c
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14007a190
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400782a4
nop
mov ecx, 1
call fcn.1400782a4
int3

Function at 0x14004b6e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14004b6ee
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x140051710
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.14007c6b0
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400517fa
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.14008a0e4
int3
Function at 0x1400564b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov byte [rcx + 0x80], 0
mov ecx, 0x10
call fcn.140079ccc
test rax, rax
je 0x1400564dd
mov qword [rax], rbx
lea rcx, [0x140056460]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140054610]
xor edx, edx
xor ecx, ecx
call fcn.140089b1c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140056542
cmp dword [rsp + 0x38], 0
je 0x140056537
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140078ec8
test eax, eax
jne 0x140056537
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.1400782a4
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400782a4
int3

Function at 0x140058050
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400e7cb8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x1400581d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140056750
nop
lea r8, [0x1400e7fa0]
cmp qword [0x1400e7fb8], 8
cmovae r8, qword [0x1400e7fa0]
mov r9, qword [0x1400e7fb0]
xor edx, edx
mov rcx, rax
call fcn.140058710
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400e7d80]
lea rcx, [rsp + 0x48]
call fcn.140046e70
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140058179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005820c
call fcn.140079d08
movdqa xmm0, xmmword [0x1400a6d10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1400581cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400581c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058206
call fcn.140079d08
xor al, al
jmp 0x1400581e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007a190
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14008066c
nop
call fcn.14008066c
nop
int3
Function at 0x140058220
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400e7cb8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x1400583a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140056750
nop
lea r8, [0x1400e7fa0]
cmp qword [0x1400e7fb8], 8
cmovae r8, qword [0x1400e7fa0]
mov r9, qword [0x1400e7fb0]
xor edx, edx
mov rcx, rax
call fcn.140058710
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400e7d80]
lea rcx, [rsp + 0x48]
call fcn.140046e70
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140058349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400583ea
call fcn.140079d08
movdqa xmm0, xmmword [0x1400a6d10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14005839d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058398
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400583e4
call fcn.140079d08
xor al, al
jmp 0x1400583c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007a190
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14008066c
nop
call fcn.14008066c
nop
Function at 0x1400596e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x10
call fcn.140079ccc
test rax, rax
je 0x140059706
mov qword [rax], rbx
lea rcx, [0x140059680]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140054610]
xor edx, edx
xor ecx, ecx
call fcn.140089b1c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005976b
cmp dword [rsp + 0x38], 0
je 0x140059760
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140078ec8
test eax, eax
jne 0x140059760
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.1400782a4
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400782a4
int3
Function at 0x140064930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x140064994
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x140064988
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140064970
test rdi, rdi
jne 0x1400649c2
xor eax, eax
jmp 0x140064a47
mov rdx, r8
test rdi, rdi
je 0x14006498d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1400649bc
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x1400649a0
jmp 0x140064988
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140064a3f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140064a2e
cmp dword [rbx + 0x14], ebp
jne 0x140064a2e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x140064a1f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.14007bf10
test eax, eax
je 0x140064a36
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140064a06
test rbx, rbx
je 0x140064a3f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140066c00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400e5ba8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x140066cf4
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x140066c88
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140066c60
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140066470
mov dword [rsi], eax
test eax, eax
jne 0x140066cb1
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.14006f9e0
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x140066d1c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140066940
test eax, eax
je 0x140066cf4
mov ecx, dword [r14]
test eax, ecx
jne 0x140066d15
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14006ff70
cmp al, 2
jne 0x140066cf4
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140066c40
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007a190
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x140066cf9
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.14006ff70
cmp al, 2
jne 0x140066d93
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140066d93
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x140066d7a
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140066d50
lea rcx, [rsp + 0x20]
call fcn.140066940
cmp eax, 0x10
jne 0x140066d93
or dword [r14], eax
xor eax, eax
jmp 0x140066cf9
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x140066cf9
Function at 0x14007ab00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007ab4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007ab4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007ab4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007ab4a
cmp dword [rcx + 0x84], 0xe
jbe 0x14007ab4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007ab4c
xor al, al
add rsp, 0x28
ret

Function at 0x14008a0e4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140089f77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140089f77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140089f77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140089f77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140089f77
cmp dword [rcx + 0x84], 0xe
jbe 0x140089f77
cmp dword [rcx + 0xf8], 0
je 0x140089f77
mov ecx, ebx
call fcn.14008a018
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140089e08
cmp dword [rbp + 0x20], 0
je 0x140089fc4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140089fcc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140089f10
Function at 0x14009d860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009d888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009d888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0xb9bb50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb9bb5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb9bb6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb9bb55
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0xb9bb85
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb9bb72
sub eax, 3
jb 0xb9bb9f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb9bbd6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0xb9bbc6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb9bbc4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb9bbb3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00b9bb12
jmp 0xb9bb5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x37d600
mov dl, 0x35
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb9bc22
cmp rsi, rcx
jae 0xb9bc2a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb9bc09
cmp al, 0x8f
ja 0xb9bc09
cmp byte [rsi - 2], 0xf
je 0xb9bc0f
sub al, 0xe8
cmp al, 1
ja 0xb9bbf3
cmp rsi, rcx
jae 0xb9bc2a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb9bbf9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb9bc2a
lodsb al, byte [rsi]
jmp 0xb9bc09
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x781000]
mov eax, dword [rdi]
or eax, eax
je 0xb9bc87
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7a89f4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb9bc37
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb9bc81
mov qword [rbx], rax
add rbx, 8
jmp 0xb9bc57
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xb9bcc1
cmp al, 0xef
ja 0xb9bcb3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xb9bc93
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xb9bca2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb9bd15
sub rsp, 0xffffffffffffff80
jmp 0x7677c0
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400f9490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400f94a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400dbbd0
jmp 0x14000123c
mov rax, qword [0x1400f94a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400f94a0]
mov dword [rax], 1
mov rax, qword [0x1400f94e0]
mov rdx, rax
mov rax, qword [0x1400f94d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400fd024], 1
mov rax, qword [0x1400f94a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400f94c0]
mov rdx, rax
mov rax, qword [0x1400f94b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400f94a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400f9490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400f93e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400f93e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400dae58
mov rax, qword [0x1400f9520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400f9480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400da650
mov eax, dword [0x1400fd004]
lea rdx, [0x1400fd008]
mov ecx, eax
call fcn.14000147c
call fcn.1400da3e7
mov rax, qword [0x1400f9410]
mov rax, qword [rax]
mov rdx, qword [0x1400fd010]
mov qword [rax], rdx
mov rcx, qword [0x1400fd010]
mov rdx, qword [0x1400fd008]
mov eax, dword [0x1400fd004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400fd01c], eax
mov eax, dword [0x1400fd020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400fd01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400fd024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400fd01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400f9440]
mov dword [rax], 1
mov rax, qword [0x1400f9450]
mov dword [rax], 1
mov rax, qword [0x1400f9460]
mov dword [rax], 1
mov rax, qword [0x1400f9400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret