joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013e9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
xor eax, eax
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x58], rcx
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x4c], eax
test al, 1
jne 0x14013ea34
lea r10, [rcx + 0x10]
lea r11d, [rax + 4]
lock cmpxchg dword [r10], r11d
cmp eax, dword [rbp - 0x4c]
jne 0x14013ea12
mov byte [rbp - 0x50], 1
jmp 0x14013ea3a
call fcn.1400d75d0
int3
test rdx, rdx
je 0x14013ea45
add rdx, 0xc
jmp 0x14013ea47
xor edx, edx
mov qword [rbp - 0x48], rdx
mov rcx, qword [rbp - 0x58]
mov rcx, qword [rcx + 8]
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x78], r9
lea rcx, [rbp - 0xa0]
call fcn.1400076d0
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x78]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.140007720
mov dword [rbp - 0x3c], ebx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov rcx, rsp
call fcn.14013eaf4
nop
mov eax, dword [rbp - 0x3c]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140143ea0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
lea r9, [rdx + rdx*4]
rol r9, 7
lea r9, [r9 + r9*8]
mov r11, rdx
shl r11, 0x11
xor r8, rax
xor r10, rdx
xor rdx, r8
xor rax, r10
xor r8, r11
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r9
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.140143ea0
ret

Function at 0x14016f070
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
cmp edx, 0xffffffff
jne 0x14016f084
mov esi, 0xd5313557
jmp 0x14016f0ab
mov ecx, edx
call fcn.14016ef80
mov rdx, rax
lea rcx, [0x1402028f0]
lea r8, [0x1402098a8]
call fcn.1400be490
mov rcx, rax
call fcn.14016ef00
mov esi, eax
mov eax, esi
rol eax, 0xd
add eax, esi
mov esi, eax
xor esi, ebx
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140172f80
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
xor eax, eax
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x58], rcx
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x4c], eax
test al, 1
jne 0x140172fd4
lea r10, [rcx + 0x10]
lea r11d, [rax + 4]
lock cmpxchg dword [r10], r11d
cmp eax, dword [rbp - 0x4c]
jne 0x140172fb2
mov byte [rbp - 0x50], 1
jmp 0x140172fda
call fcn.1400d75d0
int3
mov rdx, qword [rdx]
mov qword [rbp - 0x48], rdx
mov rcx, qword [rbp - 0x58]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x5c], r8d
mov dword [rbp - 0x60], r9d
lea rcx, [rbp - 0x98]
call fcn.1400076d0
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
mov r8d, dword [rbp - 0x5c]
mov r9d, dword [rbp - 0x60]
call sub.bcrypt.dll_BCryptHashData
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140007720
mov dword [rbp - 0x3c], ebx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov rcx, rsp
call fcn.140173078
nop
mov eax, dword [rbp - 0x3c]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140182bc0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rbx, [0x140247468]
cmp qword [rbx - 8], 0
jne 0x140182c8e
imul esi, dword [rbx + 4], 0x32
test esi, esi
jl 0x140182c9f
mov rax, qword gs:[0x58]
mov ecx, dword [0x14075a6f8]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140182ca5
mov r8, qword [rdi + 0xa0]
test r8, r8
je 0x140182c84
mov rax, qword [r8 + 8]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [r8 + 0x18]
mov r10, qword [r8 + 0x20]
lea r9, [rcx + rcx*4]
rol r9, 7
lea r9, [r9 + r9*8]
mov r11, rcx
shl r11, 0x11
xor rdx, rax
xor r10, rcx
xor rcx, rdx
xor rax, r10
xor rdx, r11
rol r10, 0x2d
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rdx
mov qword [r8 + 0x20], r10
mov ecx, esi
shr r9, 0x20
mov r10d, r9d
imul rcx, r10
mov r10d, ecx
cmp r10d, esi
jb 0x140182cb6
shr rcx, 0x20
mov eax, ecx
add eax, 0x64
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140143080
mov r8, rax
jmp 0x140182c18
call fcn.1400011ed
imul esi, dword [rbx + 4], 0x32
test esi, esi
jge 0x140182be5
call fcn.1400d56d0
int3
lea rax, [0x140138390]
call rax
mov rdi, rax
jmp 0x140182c0c
mov eax, esi
neg eax
xor edx, edx
div esi
cmp r10d, edx
jae 0x140182c73
mov rcx, qword [r8 + 8]
mov r10, qword [r8 + 0x10]
mov rax, qword [r8 + 0x18]
mov r9, qword [r8 + 0x20]
lea r11, [r10 + r10*4]
rol r11, 7
lea r11, [r11 + r11*8]
mov rbx, r10
shl rbx, 0x11
xor rax, rcx
xor r9, r10
xor r10, rax
xor rcx, r9
xor rax, rbx
rol r9, 0x2d
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], r10
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], r9
mov ecx, esi
shr r11, 0x20
mov eax, r11d
imul rcx, rax
mov r10d, ecx
cmp r10d, edx
jb 0x140182cc3
jmp 0x140182c73
Function at 0x1401c4b40
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1401c4b7f
mov r10d, eax
lea r10, [rdx + r10*8 + 0x10]
mov r10, qword [r10]
test r10, r10
jne 0x1401c4b64
xor r9d, r9d
jmp 0x1401c4b68
mov r9d, dword [r10 + 0x14]
mov r10d, ecx
rol r10d, 0xd
add r10d, ecx
mov ecx, r10d
xor ecx, r9d
inc eax
cmp r8d, eax
jg 0x1401c4b4f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x1401c4ba0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1401c4bdf
mov r10d, eax
lea r10, [rdx + r10*8 + 0x10]
mov r10, qword [r10]
test r10, r10
jne 0x1401c4bc4
xor r9d, r9d
jmp 0x1401c4bc8
mov r9d, dword [r10 + 0x14]
mov r10d, ecx
rol r10d, 0xd
add r10d, ecx
mov ecx, r10d
xor ecx, r9d
inc eax
cmp r8d, eax
jg 0x1401c4baf
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret
Function at 0x1401dc4a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x1401dc4f1
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x1401dc71b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x1401dc4e5
inc edx
cmp edx, r9d
jl 0x1401dc4c5
jmp 0x1401dc71b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x140676e90]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x1401dc65b
add rax, 0x10
cmp rax, r8
jb 0x1401dc538
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1401dc71b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1401e35a0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov esi, edx
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x1401e35d4
mov ecx, edi
mov rcx, qword [rbx + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, esi
rol ecx, 0xd
add ecx, esi
mov esi, eax
xor esi, ecx
inc edi
cmp ebp, edi
jg 0x1401e35b6
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x141175058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1411751df
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 0x141175089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14117506f
add dl, dl
jne 0x141175096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411750f6
xor eax, eax
add dl, dl
jne 0x1411750a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411751ad
add dl, dl
jne 0x1411750b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411750c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411750d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411750dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411750ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14117507e
mov eax, 1
add dl, dl
jne 0x141175106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141175113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411750fb
sub eax, ebx
mov ebx, 1
jne 0x14117514c
mov ecx, 1
add dl, dl
jne 0x14117512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14117513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141175123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14117507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141175168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141175175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14117515d
cmp eax, 0x7d00
jae 0x14117519b
cmp eax, 0x500
jb 0x141175196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14117507e
cmp eax, 0x7f
ja 0x14117519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14117507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411751d2
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 0x14117507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140014e24
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140014e5e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140014e63
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140014eac
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400173e0]
cmp byte [rcx + rax], 0
je 0x140014eac
dec r8
sub rdx, 1
jne 0x140014e92
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140015e08
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d294
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d294
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029d0c
cmp rax, 0xffffffffffffffff
je 0x140029d0c
xor edi, edi
test rbp, rbp
jle 0x140029cb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fbc0
mov rbx, rax
test rax, rax
jne 0x140029c44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029cad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001abfc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001df70
cmp eax, 0xffffffff
je 0x140029c8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c54
mov edx, r15d
mov ecx, r14d
call fcn.14001abfc
jmp 0x140029cad
cmp byte [rsi + 0x38], dil
je 0x140029ca4
cmp dword [rsi + 0x34], 5
jne 0x140029ca4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029cad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b960
jmp 0x140029d20
jns 0x140029d20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d294
cmp rax, 0xffffffffffffffff
jne 0x140029cd8
cmp byte [rsi + 0x30], dil
je 0x140029d20
mov edi, dword [rsi + 0x2c]
jmp 0x140029d20
mov ecx, r14d
call fcn.1400190b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029d20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029d19
mov eax, dword [rsi + 0x2c]
jmp 0x140029d1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d294
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ae10
Capabilities:
Parse pe header

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

Function at 0x1400028f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002942
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002942
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002942
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002942
cmp dword [rcx + 0x84], 0xe
jbe 0x140002942
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002944
xor al, al
add rsp, 0x28
ret
Function at 0x140001060
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rax, str.08_00_27
mov ecx, 0x2c0
mov qword [rsp + 0x40], rax
xor sil, sil
lea rax, str.00_03_FF
mov dword [rbp + 0x80], ecx
mov qword [rsp + 0x48], rax
lea rax, str.00_05_69
mov qword [rsp + 0x50], rax
lea rax, str.00_0C_29
mov qword [rsp + 0x58], rax
lea rax, str.00_50_56
mov qword [rsp + 0x60], rax
lea rax, str.52_54_00
mov qword [rsp + 0x68], rax
call fcn.140004ab8
mov rbx, rax
test rax, rax
je 0x1400011db
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14000111c
mov rcx, rbx
call fcn.140004aa4
mov ecx, dword [rbp + 0x80]
call fcn.140004ab8
mov rbx, rax
test rax, rax
je 0x1400011db
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400011ce
mov rdi, rbx
movzx ecx, byte [rdi + 0x199]
lea r8, str._02X__02X__02X
movzx eax, byte [rdi + 0x19a]
mov edx, 9
movzx r9d, byte [rdi + 0x198]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x30]
call fcn.140001008
xor ecx, ecx
mov r8, qword [rsp + rcx*8 + 0x40]
lea rax, [rsp + 0x30]
sub r8, rax
movzx edx, byte [rax]
movzx r9d, byte [rax + r8]
sub edx, r9d
jne 0x14000118f
inc rax
test r9d, r9d
jne 0x14000117a
test edx, edx
je 0x1400011a6
inc rcx
cmp rcx, 6
jl 0x14000116d
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001137
jmp 0x1400011ce
lea r9, [rsp + 0x30]
mov edx, 0x100
lea r8, str.ping__n_1__s.d8cd4f0f.log.dnslog.store
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.140001008
lea rcx, [rsp + 0x70]
call fcn.1400034b0
mov rcx, rbx
call fcn.140004aa4
test sil, sil
jne 0x1400011e7
lea rcx, str.calc.exe
call fcn.1400034b0
lea r11, [rsp + 0x170]
xor eax, eax
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140001928
Capabilities:
Parse pe header

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

Function at 0x140005790
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400055bc

Function at 0x140012ea0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012ec8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012ec8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1414065f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1414065fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14140660d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1414065f5
lea eax, [rcx + 1]
jmp 0x14140661b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14140662e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x141406614
sub eax, 3
jb 0x14140664e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14140669d
sar eax, 1
movsxd rbp, eax
jb 0x141406684
jmp 0x14140665c
add ebx, ebx
jne 0x14140665a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141406684
inc ecx
add ebx, ebx
jne 0x14140666a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141406684
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14140667d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14140666c
add ecx, 2
jmp 0x141406689
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1414065b2
jmp 0x1414065fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x1402000]
mov eax, dword [rdi]
or eax, eax
je 0x141406709
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x14065bc]
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 0x1414066ad
jns 0x1414066e2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1414066ec
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 0x141406703
mov qword [rbx], rax
add rbx, 8
jmp 0x1414066cd
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 0x14140674d
cmp al, 0xef
ja 0x141406735
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x141406715
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x141406724
mov eax, dword [rdi]
add rdi, 4
jmp 0x141406724
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 + 0x237]
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 0x1414067a1
sub rsp, 0xffffffffffffff80
jmp 0x1400c591c
Function at 0x14000ee50
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x14000eef0
jmp 0x14000eedf
jae 0x14000efb0
cmp r8, 0x201
jae 0x14000eef0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14000ef48
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000ef1f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400235b0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14000ef71
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000f018
mov r8d, r14d
cmp r15, r8
jne 0x14000eed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f045
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000eedf
jmp 0x14000eef0
cmp rsi, r8
jb 0x14000f05f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400101b0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14000f001
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.14000a190
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x14000efe9
jmp 0x14000f001
lea rcx, str.internal_error:_entered_unreachable_code_rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140023e10
jmp 0x14000f074
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140024260
ud2