joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14007c6e4], 0
lea rdi, [0x14007c6e0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14001d708
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x14001d660
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14001d73e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x14001d720
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14001d77f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14001d763
cmp byte [r8], r9b
jne 0x14001d763
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x14001d750
not eax
pop rdi
ret
Function at 0x14001e620
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x14001e75c
mov qword [rsp + 0x10], rdi
xor edx, edx
cmp ebx, 7
jbe 0x14001e6c2
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, ebx
jb 0x14001e663
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x14001e724
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x14001e711
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rdi, 1
jne 0x14001e6f0
cmp edx, ebx
jae 0x14001e71d
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x14001e658
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret
Function at 0x14002ebf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14002eda7
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14002ec86
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140022ee0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14002d3f0
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14002ec77
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140002710
mov dword [rbx + 0x80], 0
jmp 0x14002ed93
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.1400236b0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1806ea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1806ea1df
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 0x1806ea089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806ea06f
add dl, dl
jne 0x1806ea096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806ea0f6
xor eax, eax
add dl, dl
jne 0x1806ea0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806ea1ad
add dl, dl
jne 0x1806ea0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806ea0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806ea0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806ea0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806ea0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1806ea07e
mov eax, 1
add dl, dl
jne 0x1806ea106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806ea113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806ea0fb
sub eax, ebx
mov ebx, 1
jne 0x1806ea14c
mov ecx, 1
add dl, dl
jne 0x1806ea12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1806ea13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806ea123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806ea07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1806ea168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1806ea175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806ea15d
cmp eax, 0x7d00
jae 0x1806ea19b
cmp eax, 0x500
jb 0x1806ea196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806ea07e
cmp eax, 0x7f
ja 0x1806ea19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806ea07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806ea1d2
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 0x1806ea07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140006ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006aad
mov qword [rsi], rdi
call fcn.140006670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.plugin_container.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cli
out dx, ax
adc dh, cl
sbb al, 0x73
in eax, dx
out dx, eax
jg 0x140078c61
pop rsp
mov ebx, 0x22bc9950
pop rsp
mov edi, 0x7b88fade
std
cmp dl, bh
test byte [rdx], ch
invalid
invalid
sal dword [rbp - 0x2469e57], 1
neg dword [rcx - 0x610ca9b0]
movabs r15, 0x7abf6c9e7bed8b6c
in eax, dx
jnp 0x140078c57
insb byte [rdi], dx
mov edi, 0xb1282b7a
mov esi, 0x81f301ff
loop 0x140078d22
test bh, al
in eax, dx
jnp 0x140078c57
insb byte [rdi], dx
mov edi, 0xb1282b7a
mov esi, 0x81f301ff
loop 0x140078d22
test bh, al
jo 0x140078c86
mov cl, 0xbb
cmp edx, edx
invalid
invalid
mov bh, 0
invalid

Function at 0x140006b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006b98
add rdi, rbx
sub rsi, rbx
je 0x140006bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140004dd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140044010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004dfd
xor eax, eax
jmp 0x140004f43
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004e37
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004e37
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004f43
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004f36
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004e7a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004e89
movsx ecx, dil
jmp 0x140004edd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140004f36
cmp eax, 1
jle 0x140004ef7
cmp eax, 3
jne 0x140004f36
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14000fb78
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004f3b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004f24
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140010ba0
cmp rsi, rax
jne 0x140004f36
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140004f3b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006780
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1400066a0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140044010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140009ba0
mov eax, 1
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], eax
xor r9d, r9d
mov word [rsp + 0xb0], ax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
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], 0x10
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140006745
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140006747
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140006780
add rsp, 0xf0
pop rbx
ret

Function at 0x14000fb54
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f980
Function at 0x140002490
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rdi, r8
mov rsi, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000252d
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140002550
lea rdx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14000250a
mov r8, rsi
lea rdx, [rdi + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.Cannot_allocate_memory_for_copying_text
lea rcx, [rsp + 0x40]
call fcn.1400023e0
lea rdx, [0x140015b48]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Cannot_open_clipboard
lea rcx, [rsp + 0x20]
call fcn.1400023e0
lea rdx, [0x140015b48]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Cannot_empty_clipboard_
lea rcx, [rsp + 0x40]
call fcn.1400023e0
lea rdx, [0x140015b48]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140002580
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400025e8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400025c7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400025b0
mov rdx, rax
mov rcx, rbx
call fcn.140005dc0
jmp 0x1400025dc
mov qword [rbx + 0x10], 0
cmp qword [rbx + 0x18], 0x10
jb 0x1400025d9
mov rbx, qword [rbx]
mov byte [rbx], 0
add rsp, 0x50
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.Cannot_open_clipboard
lea rcx, [rsp + 0x20]
call fcn.1400023e0
lea rdx, [0x140015b48]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140005830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140005864
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140005850
ret
Function at 0x140010114
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001015e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001015e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001015e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001015e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001015e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140010160
xor al, al
add rsp, 0x28
ret
Function at 0x1400030e8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140016388]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, r8
xor r15d, r15d
mov qword [r8], r15
mov r9d, 0x104
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140003162
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140003162
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140003140
lea rax, [rdx - 2]
test r9, r9
cmovne rax, rdx
mov word [rax], r15w
lea r8, [0x140010208]
lea rcx, [rsp + 0x40]
call fcn.1400016e4
lea r8, [rsp + 0x40]
xor edx, edx
mov edi, 0x1f0003
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400031d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400032a7
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140002e2c
mov ebx, eax
jmp 0x1400032aa
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x24]
mov rcx, rsi
call fcn.140002f70
mov ebx, eax
test eax, eax
jns 0x14000320c
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140002df0
jmp 0x1400032aa
lea r8, [0x140010210]
lea rcx, [rsp + 0x40]
call fcn.1400016e4
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140003254
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140002e2c
mov ebx, eax
jmp 0x14000327c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140002f70
mov ebx, eax
test eax, eax
jns 0x14000328b
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140002df0
nop
test rdi, rdi
je 0x1400032aa
mov rcx, rdi
call fcn.140002ee4
jmp 0x1400032aa
mov rcx, rdi
call fcn.140002ee4
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
or rax, rcx
mov qword [r14], rax
mov ebx, r15d
test rsi, rsi
je 0x1400032b7
mov rcx, rsi
call fcn.140002ee4
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000c590
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000c2f0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016cf0], rbx
je 0x14000c357
cmp rax, rbx
jne 0x14000c34a
mov ebx, 1
mov esi, ebx
jmp 0x14000c35c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c32f
mov ebx, 1
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c374
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c3e0
mov eax, dword [0x140016cf8]
test eax, eax
jne 0x14000c3d5
mov dword [0x140016cf8], ebx
lea r15, [0x14000f0a8]
lea rdi, [0x14000f090]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c3c7
test eax, eax
jne 0x14000c3cb
cmp qword [rdi], r14
je 0x14000c3bc
mov rax, qword [rdi]
mov rcx, qword [0x14000f008]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c39e
test eax, eax
je 0x14000c3db
mov eax, 0xff
jmp 0x14000c536
mov dword [0x140016400], ebx
mov edi, 0x1f
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c407
lea rdx, [0x14000f088]
lea rcx, [0x14000f010]
call sub.msvcrt.dll__initterm
mov dword [0x140016cf8], 2
test esi, esi
jne 0x14000c415
mov rax, r14
xchg qword [0x140016cf0], rax
cmp qword [0x140016d10], r14
je 0x14000c448
lea rcx, [0x140016d10]
call fcn.14000ca80
test eax, eax
je 0x14000c448
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016d10]
mov r9, qword [0x14000f008]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c461
mov eax, 0xff
jmp 0x14000c536
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c4e7
test ax, ax
je 0x14000c47c
test edx, edx
jne 0x14000c4e7
sub ax, bx
cmp ax, di
ja 0x14000c492
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c47c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400044cc
mov dword [0x1400163fc], eax
cmp dword [0x140016420], r14d
jne 0x14000c4d0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016400], r14d
jne 0x14000c4e5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163fc]
jmp 0x14000c536
cmp ax, 0x22
jne 0x14000c4fb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c46a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400a8000
add rsp, 0x28
jmp 0x14000c2f0
Function at 0x14000c96c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9b0
cmp dword [rcx + 0x3c], edx
jl 0x14000c9b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180001497
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x18000113a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001136
repz ret
ror rcx, 0x10
jmp 0x1800013f0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180009fa0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000a098]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180001475
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180009fa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180001497
mov rax, qword [rsp + 0x88]
mov qword [0x18000a098], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000a038], rax
mov rax, qword [0x18000a098]
mov qword [0x180009f10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000a020], rax
mov dword [0x180009f00], 0xc0000409
mov dword [0x180009f04], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180009008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180009f98], eax
mov ecx, 1
call fcn.180002bf0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180006278]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180009f98], 0
jne 0x18000151e
mov ecx, 1
call fcn.180002bf0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret