joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bc60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x14007d420]
lea r10, [0x14006bc70]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3e28]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3e5c], edi
jne 0x14002bd05
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.140033ee0
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14002bd39
inc r8d
test ecx, ecx
je 0x14002bd22
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002bd27
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140034fc0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002d7a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14007d420]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x14002d801
cmp byte [rbx + 0x41ce], 0
jne 0x14002d801
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001eba0
test dil, 1
je 0x14002d928
jmp 0x14002d88a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140070dac]
mulss xmm1, dword [0x140070d94]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x140070ccc]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.14001eba0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002d8e0
lea r11, [0x14006bc70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14002d8c3
cmp byte [r8], r9b
jne 0x14002d8c3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14002d8b0
not ecx
call fcn.1400269a0
test rax, rax
je 0x14002d928
cmp byte [rax + 0x8e], 0
je 0x14002d928
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.14001eba0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400290a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400670e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140032c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140032cd7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140032c8a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140034cf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001f680
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007d418]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140032cdf
mov rcx, rbx
call fcn.14001f680
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005ccb0
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x14005cd2d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14005cd06
lea r11, [0x14006bc70]
cmp r9b, 0x23
jne 0x14005cce9
cmp byte [r8], r9b
jne 0x14005cce9
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14005ccd6
mov rcx, qword [0x14007d420]
not eax
cmp dword [rcx + 0x3e74], eax
jne 0x14005cd1d
mov dword [rcx + 0x3e78], eax
cmp dword [rcx + 0x3ec0], eax
jne 0x14005cd40
mov byte [rcx + 0x3ec4], 1
ret
mov rax, qword [0x14007d420]
mov rcx, qword [rax + 0x3e28]
jmp fcn.140021810
ret

Function at 0x140060da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140060de6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140060dd6
cmp byte [rax], cl
jne 0x140060de6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140060dc7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140060f4a
cmp byte [r8 + 1], dl
je 0x140060f4a
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140060e22
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140060e4a
sub dl, 0x61
cmp dl, 0x19
ja 0x140060e3c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140060e4a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140060e05
jmp 0x140060e4d
inc r9
cmp r8, r9
jae 0x140060e7f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140060e74
bt rdx, rax
jb 0x140060e7a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140060e60
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14001eba0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140060eb8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140060eb0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140060f38
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140060ed3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140060ee9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140060f26
movss xmm2, dword [0x140070d9c]
cmp al, 0x39
ja 0x140060f26
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140060f00
cmp r9b, 0x2d
jne 0x140060f45
xorps xmm1, xmmword [0x140071010]
movaps xmm0, xmm1
jmp 0x140060f4d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140060f4d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400670e0
add rsp, 0x90
pop rbx
ret
Function at 0x140060f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140060fb6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140060fa6
cmp byte [rax], cl
jne 0x140060fb6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140060f97
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140061114
cmp byte [r8 + 1], dl
je 0x140061114
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140060ff2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14006101a
sub dl, 0x61
cmp dl, 0x19
ja 0x14006100c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14006101a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140060fd5
jmp 0x14006101d
inc r9
cmp r8, r9
jae 0x14006104f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140061044
bt rdx, rax
jb 0x14006104a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140061030
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14001eba0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140061088
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140061080
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140061106
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400610a3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400610b9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400610f4
movsd xmm2, qword [0x140070d48]
cmp al, 0x39
ja 0x1400610f4
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400610d0
cmp r9b, 0x2d
jne 0x14006110f
xorps xmm1, xmmword [0x140071000]
movaps xmm0, xmm1
jmp 0x140061117
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140061117
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400670e0
add rsp, 0x90
pop rbx
ret
Function at 0x140061130
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movabs rax, 0x39261759cb1c3a3
mov rsi, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
movabs rbp, 0x67fc0822f7dfa2f7
mov qword [rsp + 0x30], rax
movabs rdi, 0xbb1f0c730ad95be4
movabs rax, 0xbb6c7f12669a2c8b
xor edx, edx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x298], rax
xorps xmm0, xmmword [rsp + 0x290]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsi + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 0x20], rax
movabs rax, 0x488695585bad4b8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xbb1f0c1672bc758c
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0x20], rdi
xor edi, edi
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov edx, dword [rsi + 0x28]
mov qword [rsp + 0x2a8], rax
lea ecx, [rdi + 0x18]
xorps xmm0, xmmword [rsp + 0x2a0]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400612e0
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400612e0
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400612db
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400612b0
jmp 0x1400612e0
mov rdi, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
mov qword [rsi + 0x30], rdi
setne al
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400670e0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400616a0
Capabilities:
Allocate or change rwx memory
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rsp + 0x80], rax
movabs rax, 0x67fc082299b6c3ba
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
movabs rdi, 0xbb1f0c730ad95be4
mov rax, qword [rsp + 0x20]
movabs rbx, 0x67fc0822f7dfa2f7
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginMutation]
movabs rax, 0x47d1284e96b6d0b6
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xbb1f0c730ad90cab
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea r9, [rsp + 0x50]
mov edx, 8
mov r8d, 0x101
lea rcx, [main]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 8
lea rcx, [main]
call qword [sym.imp.KERNEL32.dll_VirtualLock]
call fcn.140061320
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400670e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140066ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r12, [r8 - 1]
mov rbp, rcx
mov rsi, r12
mov r14, r9
sar rsi, 1
mov r13, r8
mov rdi, rdx
mov r15, rdx
mov rcx, rdx
cmp rdx, rsi
jge 0x140066f7a
nop word [rax + rax]
lea rbx, [rcx + rcx]
lea rdx, [rbx + 2]
shl rdx, 5
add rdx, rbp
lea r8, [rdx - 0x20]
call fcn.140064c50
shl rdi, 5
movzx ecx, al
xor rcx, 1
inc rcx
add rcx, rbx
mov rax, rcx
shl rax, 5
movups xmm0, xmmword [rax + rbp]
movups xmmword [rdi + rbp], xmm0
movups xmm1, xmmword [rax + rbp + 0x10]
movups xmmword [rdi + rbp + 0x10], xmm1
mov rdi, rcx
cmp rcx, rsi
jl 0x140066f30
mov rbx, rcx
cmp rcx, rsi
jne 0x140066fa8
test r13b, 1
jne 0x140066fa8
shl r13, 5
mov rbx, r12
shl rcx, 5
movups xmm0, xmmword [rbp + r13 - 0x20]
movups xmmword [rcx + rbp], xmm0
movups xmm1, xmmword [rbp + r13 - 0x10]
movups xmmword [rcx + rbp + 0x10], xmm1
cmp r15, rbx
jge 0x140066fec
nop dword [rax]
lea rdi, [rbx - 1]
mov r8, r14
sar rdi, 1
mov rsi, rdi
shl rsi, 5
add rsi, rbp
mov rdx, rsi
call fcn.140064c50
test al, al
je 0x140066fec
movups xmm0, xmmword [rsi]
shl rbx, 5
movups xmmword [rbx + rbp], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + rbp + 0x10], xmm1
mov rbx, rdi
cmp r15, rdi
jl 0x140066fb0
movups xmm0, xmmword [r14]
shl rbx, 5
movups xmmword [rbx + rbp], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + rbp + 0x10], xmm1
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140067d78
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100134000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x1400014c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rsi, rax
xor eax, eax
test rsi, rsi
je 0x140001511
cmp byte [rbx + rsi - 1], 0xa
je 0x1400014ec
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x140007104], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140001af0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x118
cmp qword [0x140007120], 0
lea r12, [0x140007120]
mov ebx, ecx
mov rdi, rdx
mov rbp, r8
je 0x140001cd0
mov rcx, rdi
call qword [0x140007120]
movzx eax, al
bt eax, ebx
jae 0x140001d30
mov esi, dword [0x140007104]
xor eax, eax
mov rdx, qword gs:[0x30]
cmp dword [rdx + 0x48], esi
je 0x140001bba
test byte [0x140003020], 8
jne 0x140001c70
lea rsi, [rsp + 0x40]
mov r13, rsi
lea rdx, str._04x:
test byte [0x140003030], 8
jne 0x140001c10
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x48]
mov rcx, r13
call dbg.sprintf
test rbp, rbp
je 0x140001b8f
cmp ebx, 3
jbe 0x140001bd0
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ucrtbase.dll_strlen]
mov r9, rbx
mov edx, 1
mov rcx, rsi
mov r8, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cdqe
add rdi, 1
mov qword [rsp + 0x28], rbp
lea r8, str._s:_s:_s
lea rcx, [r13 + rax]
mov rax, rsi
mov qword [rsp + 0x20], rdi
sub rax, rcx
lea rdx, [rax + 0xc8]
lea rax, str.fixme
mov r9, qword [rax + rbx*8]
call sym.snprintf.constprop.0
jmp 0x140001b8f
cmp qword [0x140007120], 0
je 0x140001d10
lea rcx, [0x140003030]
call qword [0x140007120]
lea rdx, str._04x:
test al, 8
je 0x140001b70
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x40]
lea rdx, str._04x:
mov rcx, r13
mov qword [rsp + 0x38], rdx
call dbg.sprintf
mov rdx, qword [rsp + 0x38]
cdqe
add r13, rax
jmp 0x140001b70
cmp qword [0x140007120], 0
je 0x140001cf0
lea rcx, [0x140003020]
call qword [0x140007120]
test al, 8
je 0x140001b54
call qword [sym.imp.kernel32.dll_GetTickCount]
lea rsi, [rsp + 0x40]
lea rdx, str._3u._03u:
mov r8d, eax
mov rcx, rsi
mov r9, r8
imul r8, r8, 0x10624dd3
shr r8, 0x26
imul eax, r8d, 0x3e8
sub r9d, eax
call dbg.sprintf
movsxd r13, eax
add r13, rsi
jmp 0x140001b5c
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r12
call sym.load_func.part.0
jmp 0x140001b1c
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r12
call sym.load_func.part.0
jmp 0x140001c7a
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r12
call sym.load_func.part.0
jmp 0x140001c1e
mov eax, 0xffffffff
jmp 0x140001bba

Function at 0x140001f70
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ecx, 1
call sym._configure_wide_argv
call sym._initialize_wide_environment
call sym.__p___argc
mov esi, dword [rax]
call sym.__p___wargv
mov rdi, qword [rax]
call sym._get_initial_wide_environment
xor ecx, ecx
mov rbx, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x3c]
cmp word [rax + rdx + 0x5c], 2
sete cl
add ecx, 1
call sym._set_app_type
mov ecx, esi
mov r8, rbx
mov rdx, rdi
call dbg.wmain
mov ecx, eax
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov dword [rax], edi
test esp, esi
dec byte [r11 + 0x50365187]
invalid