joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1412e636f
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
push r12
push r13
push r14
push r15
push rbx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov r12, 3
mov r13, 1
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1412e64e1
add rsp, 0x20
rol eax, 8
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x18]
call fcn.1412e6505
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x20]
mov r8, r13
call fcn.1412e64b6
add rsp, 0x20
inc r13
mov rbx, rax
mov r14, r12
sub r14, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r14
call fcn.1412e64e1
add rsp, 0x20
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.1412e648a
add rsp, 0x20
mov r15, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1412e64e1
add rsp, 0x20
mov rbx, rax
mov r14, r12
sub r14, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r14
call fcn.1412e64e1
add rsp, 0x20
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.1412e648a
add rsp, 0x20
dec r15
jne 0x1412e6421
cmp r12, 0x2b
jne 0x1412e639a
pop rbx
pop r15
pop r14
pop r13
pop r12
leave
ret

Function at 0x1412e6704
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
push r12
push rbx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rdx, qword [rbp + 0x10]
mov r12, 4
mov eax, dword [rdx]
bswap eax
mov rbx, qword [rbp + 0x18]
xlatb
mov cl, al
shr eax, 8
mov rbx, qword [rbp + 0x28]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x20]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x30]
xlatb
xor cl, al
mov dword [rbp - 0x10], ecx
mov eax, dword [rdx]
bswap eax
mov rbx, qword [rbp + 0x28]
xlatb
mov cl, al
shr eax, 8
mov rbx, qword [rbp + 0x20]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x30]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x18]
xlatb
xor cl, al
mov eax, dword [rbp - 0x10]
shl eax, 8
mov al, cl
mov dword [rbp - 0x10], eax
mov eax, dword [rdx]
bswap eax
mov rbx, qword [rbp + 0x20]
xlatb
mov cl, al
shr eax, 8
mov rbx, qword [rbp + 0x30]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x18]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x28]
xlatb
xor cl, al
mov eax, dword [rbp - 0x10]
shl eax, 8
mov al, cl
mov dword [rbp - 0x10], eax
mov eax, dword [rdx]
bswap eax
mov rbx, qword [rbp + 0x30]
xlatb
mov cl, al
shr eax, 8
mov rbx, qword [rbp + 0x18]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x28]
xlatb
xor cl, al
shr eax, 8
mov rbx, qword [rbp + 0x20]
xlatb
xor cl, al
mov eax, dword [rbp - 0x10]
shl eax, 8
mov al, cl
bswap eax
mov dword [rdx], eax
add rdx, 4
dec r12
jne 0x1412e672a
pop rbx
pop r12
leave
ret
Function at 0x1412e7451
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x110
push rbx
push r12
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rdx, qword [rbp + 0x10]
mov ebx, dword [rdx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x1412e7490
mov rax, 0x40
mov qword [rbp - 0x110], rax
jmp 0x1412e7501
mov ebx, dword [rdx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x1412e74b1
mov rax, 0x20
mov qword [rbp - 0x110], rax
jmp 0x1412e7501
mov ebx, dword [rdx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x1412e74d2
mov rax, 4
mov qword [rbp - 0x110], rax
jmp 0x1412e7501
mov ebx, dword [rdx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x1412e74f3
mov rax, 2
mov qword [rbp - 0x110], rax
jmp 0x1412e7501
mov rax, 1
mov qword [rbp - 0x110], rax
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x18]
mov ebx, dword [rdx + 8]
lea r12, [rbp - 0x108]
sub rsp, 0x20
mov rcx, rax
mov rdx, rbx
mov r8, qword [rbp - 0x110]
mov r9, r12
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
add rsp, 0x20
test rax, rax
je 0x1412e7549
mov rdx, qword [rbp + 0x10]
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x18]
mov rax, 1
jmp 0x1412e754c
sub rax, rax
pop r12
pop rbx
leave
ret

Function at 0x1412e7551
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
mov ax, word [rcx]
cmp ax, 0x5a4d
jne 0x1412e757e
mov eax, dword [rcx + 0x3c]
add rcx, rax
mov eax, dword [rcx]
cmp eax, 0x4550
jne 0x1412e757e
add rcx, 4
mov rax, rcx
leave
ret
sub rax, rax
leave
ret

Function at 0x1412e75c6
Capabilities:
Terminate process

Disassembly:
sub rsp, 8
sub rsp, 0x20
call fcn.1412e75f7
add rsp, 0x20
test rax, rax
je 0x1412e75e2
add rsp, 8
jmp rax
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x1414c8108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414c828f
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 0x1414c8139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c811f
add dl, dl
jne 0x1414c8146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c81a6
xor eax, eax
add dl, dl
jne 0x1414c8155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c825d
add dl, dl
jne 0x1414c8166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c8173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c8180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c818d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414c819a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414c812e
mov eax, 1
add dl, dl
jne 0x1414c81b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c81c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c81ab
sub eax, ebx
mov ebx, 1
jne 0x1414c81fc
mov ecx, 1
add dl, dl
jne 0x1414c81de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414c81eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c81d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c812e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414c8218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414c8225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c820d
cmp eax, 0x7d00
jae 0x1414c824b
cmp eax, 0x500
jb 0x1414c8246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c812e
cmp eax, 0x7f
ja 0x1414c824e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c812e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414c8282
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 0x1414c812e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400390c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movsxd r11, dword [rsp + 0x28]
mov r10, rdx
test r11, r11
jle 0x14003912f
sub r10, rcx
lea rax, [rcx + 2]
sub r8, rcx
sub r9, rcx
nop word [rax + rax]
movzx ecx, byte [r10 + rax]
movzx edx, byte [r10 + rax - 2]
lea rax, [rax + 1]
sub edx, ecx
movzx ecx, byte [r8 + rax - 1]
add edx, edx
sub edx, ecx
movzx ecx, byte [r8 + rax - 3]
add edx, ecx
movzx ecx, byte [rax - 3]
add edx, ecx
movzx ecx, byte [rax - 1]
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
add edx, ecx
xor edx, ecx
mov ecx, 0xff
sub ecx, edx
sar ecx, 0x1f
or cl, dl
mov byte [r9 + rax - 3], cl
sub r11, 1
jne 0x1400390e0
ret

Function at 0x140039190
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
movsxd r11, r9d
mov r10, rcx
test r9d, r9d
jle 0x140039204
sub r10, rdx
mov qword [rsp], rbx
sub r8, rdx
lea rax, [rdx + 1]
lea rbx, [r8 - 1]
movzx ecx, byte [rax]
movzx edx, byte [r10 + rax]
lea rax, [rax + 1]
sub edx, ecx
movzx ecx, byte [r10 + rax - 2]
lea r8d, [rcx + rdx*2]
movzx ecx, byte [r10 + rax]
add r8d, ecx
movzx ecx, byte [rax - 2]
sub r8d, ecx
movzx ecx, byte [rax]
sub r8d, ecx
mov ecx, r8d
sar ecx, 0x1f
lea edx, [rcx + r8]
xor edx, ecx
mov ecx, 0xff
sub ecx, edx
sar ecx, 0x1f
or cl, dl
mov byte [rbx + rax - 1], cl
sub r11, 1
jne 0x1400391b1
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x140002254
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000229e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000229e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000229e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000229e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000229e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400022a0
xor al, al
add rsp, 0x28
ret
Function at 0x140004440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400044d0
cmp r11, r10
ja 0x140004546
cmp r10, rdx
ja 0x14000455a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400044d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400044b0
jmp 0x140004534
ja 0x1400044da
mov r11, r10
cmp rax, r8
jne 0x140004474
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004510
mov rdi, r8
sub ecx, edx
jns 0x14000452b
jmp 0x140004536
cmp r8, rsi
je 0x14000456b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004536
xor al, 1
cmp rdi, rsi
jne 0x1400044f0
jmp 0x140004536
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140017c50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140017a20
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140017a90
ud2

Function at 0x140008cf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140001c70
cmp rax, rcx
je 0x140008d15
cmp rdx, 4
jae 0x140008d18
xor eax, eax
xor r8d, r8d
jmp 0x140008db0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140019310]
movdqa xmm3, xmmword [0x140019320]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140008d40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140008dc7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140008db0
ret
Function at 0x14000a090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000a0eb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000a0eb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000a106
cmp eax, 0x42
jne 0x14000a0eb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000a1b6
cmp byte [r9 + r11], 0x5f
jne 0x14000a1b6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000a21e
mov rcx, rsi
xor edx, edx
call fcn.140005760
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140005760
test al, al
jne 0x14000a2b1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a142
lea rdx, [0x14001aaf4]
mov r8d, 1
call fcn.140002200
test al, al
jne 0x14000a2b1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000a0fa
xor r14d, r14d
lea rbx, [0x14001aea8]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000a174
cmp byte [rax + rcx], 0x45
je 0x14000a2d3
sub r14, 1
jb 0x14000a199
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a199
mov r8d, 2
mov rdx, rbx
call fcn.140002200
test al, al
jne 0x14000a2b1
mov rcx, rsi
call fcn.140006f70
test al, al
jne 0x14000a2b1
mov rax, qword [rsi]
test rax, rax
jne 0x14000a160
jmp 0x14000a0fa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000a278
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000a212
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000a1fc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000a1eb
add dl, 0xa9
jmp 0x14000a1fa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000a278
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000a278
movzx edx, bl
add rax, rdx
jae 0x14000a1c0
jmp 0x14000a278
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000a278
cmp rax, rcx
jae 0x14000a275
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000a2cb
cmp qword [rsi + 0x20], 0
je 0x14000a2c4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000a090
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000a0fc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a2b9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14001ae68]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140002200
test al, al
je 0x14000a2b9
mov dil, 2
jmp 0x14000a0fa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000a0fa
mov dil, 1
xor r8d, r8d
jmp 0x14000a27a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000a0fa
Function at 0x140010ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r11d, byte [rdx + 0x38]
cmp r11b, 1
ja 0x140011057
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x1400111a8
cmp r9b, 5
jb 0x1400111a8
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x140011047
cmp r9b, 6
je 0x140011047
mov esi, 2
cmp rdx, 2
jb 0x140011250
cmp rsi, rdx
jne case.0x1400100f9.31
xor edx, edx
jmp 0x1400111a8
xor edx, edx
xor r8d, r8d
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
inc edi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
adc al, 0x32
test dl, 1
jne 0x14001119d
cmp r10b, 0x2e
jne 0x14001119d
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x1400111a8
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x1400111d0
invalid
cmp r9b, 6
je case.default.0x1400111d0
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14001d848]
add byte [rdi + 0x63], cl
or al, 0x8a
mov r10, qword [rax + 0x20]
add r10, 4
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 6
jmp case.default.0x1400111d0
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x1400111d0
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.140017940
ud2
clc
add ecx, dword [rdi]
xchg edi, esi
add byte [rax], al
add byte [rax - 0x73], cl
or eax, 0x8a2c

Function at 0x14001613c
Capabilities:
Parse pe header

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

Function at 0x140016990
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400169f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400169f2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400169f2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400169f2
cmp dword [rdx + 0x84], 0xe
jbe 0x1400169f2
cmp dword [rdx + 0xf8], 0
je 0x1400169f2
mov ecx, ebx
call fcn.140016850
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140021298]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400166d0
cmp dword [rsp + 0x60], 0
jne 0x140016a35
mov ecx, ebx
call fcn.140016800
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140016a80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016adc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016adc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016adc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016adc
cmp dword [rcx + 0x84], 0xe
jbe 0x140016adc
cmp dword [rcx + 0xf8], 0
je 0x140016adc
mov ecx, ebx
call fcn.140016850
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140021298]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400166d0
cmp dword [rsp + 0x60], 0
jne 0x140016b1f
mov ecx, ebx
call fcn.140016800
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140017260
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140021088]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14001729c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140015fe0
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140017358
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400173be
test ebx, ebx
jne 0x1400173be
lea ecx, [rax + 2]
call fcn.140015fe0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140017860
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140048330
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rax, str.queencreek
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x295b
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8d, [rbx + 2]
lea rdx, str._nEnergy_Monitor:_esrv_version__d._d._d._d___s___
call fcn.1400010a0
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rax, [0x1400cd8b4]
mov qword [rsp + 0x28], rax
lea rax, [0x1400cd87c]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cd86c]
lea r8, str.2011
lea rdx, str.using_PL_version__s._s._s___s__n
call fcn.1400010a0
lea rcx, [0x140101140]
call fcn.140018c50
lea rdx, [0x140112c58]
call fcn.140008db0
call fcn.14004c1f0
cmp dword [0x140186e60], 1
jne 0x1400483f0
lea rcx, [0x140186e68]
call fcn.14007f5b0
mov qword [0x14011e2b8], rbx
mov dword [0x140186e60], ebx
mov rcx, qword [0x140121498]
test rcx, rcx
je 0x140048409
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x140121498], rbx
mov rcx, qword [0x1401214b0]
test rcx, rcx
je 0x140048422
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1401214b0], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add rsp, 0x40
pop rbx
ret

Function at 0x140048440
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
lea rax, str._nResume_energy_server._n
mov qword [r11 - 0x40], rax
lea rax, str._nUsage:__esrv___resume____address__address______port__port______diagnostic__n
mov qword [r11 - 0x38], rax
lea rax, [0x1400cd90c]
mov qword [r11 - 0x30], rax
lea rax, [0x1400ddd60]
mov qword [r11 - 0x28], rax
lea rax, [0x1400d83a8]
mov qword [r11 - 0x20], rax
lea rax, [0x1400ddd10]
mov qword [r11 - 0x18], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
nop word [rax + rax]
cmp edi, 6
jge 0x1400484cf
movsxd rbx, edi
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, qword [rsp + rbx*8 + 0x28]
lea rdx, [0x1400cd8f4]
call fcn.1400010a0
inc edi
mov dword [rsp + 0x20], edi
jmp 0x1400484a0
lea rcx, [0x140101140]
call fcn.140018c50
lea rdx, [0x140112c58]
call fcn.140008db0
call fcn.14004c1f0
cmp dword [0x140186e60], 1
jne 0x14004850e
lea rcx, [0x140186e68]
call fcn.14007f5b0
mov qword [0x14011e2b8], rsi
mov dword [0x140186e60], esi
mov rcx, qword [0x140121498]
test rcx, rcx
je 0x140048527
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x140121498], rsi
mov rcx, qword [0x1401214b0]
test rcx, rcx
je 0x140048540
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1401214b0], rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret