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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14006bab8]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x140018971
cmp byte [rbx + 0x43fe], 0
jne 0x140018971
movsx r9d, word [rbx + 0x54de]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400077c0
test dil, 1
je 0x140018a9b
jmp 0x140018a03
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54de]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006048c]
mov edx, 0x10
mulss xmm1, dword [0x140060480]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x1400603e0]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.1400077c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018a53
lea r11, [0x14005b0c0]
cmp r9b, 0x23
jne 0x140018a36
cmp byte [r8], r9b
jne 0x140018a36
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 0x140018a23
not ecx
call fcn.140010550
test rax, rax
je 0x140018a9b
cmp byte [rax + 0xcb], 0
je 0x140018a9b
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, 0x10
movsx r9d, word [rbx + 0x54de]
call fcn.1400077c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140013320
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400578d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001ddf0
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 + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001de93
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001de46
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002b1d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400080b0
mov eax, dword [rbx]
lea rcx, [0x14006ba61]
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001de9b
mov rcx, rbx
call fcn.1400080b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e2d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001e322
lea r11, [0x14005b0c0]
cmp r9b, 0x23
jne 0x14001e305
cmp byte [r8], r9b
jne 0x14001e305
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 0x14001e2f2
mov r11, qword [0x14006bab8]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x5598]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001e36e
cmp dword [r9], eax
je 0x14001e377
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001e345
mov rcx, rbx
pop rbx
jmp fcn.14001e1e0
test r9, r9
je 0x14001e36e
mov rax, r9
pop rbx
ret

Function at 0x14001e390
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14006bab8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001e3f3
mov qword [rsp], rbx
lea rbx, [0x14005b0c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001e3d3
cmp byte [r8], r9b
jne 0x14001e3d3
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 [rbx + rdx*4]
test r9b, r9b
jne 0x14001e3c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001e427
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001e42e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001e414
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140021da0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140021fee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14006b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14005b0c0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140021fb6
mov rcx, rbp
call fcn.1400212d0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140021e71
movsxd rdx, dword [rbp + 0x5530]
mov r8, qword [rbp + 0x5538]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140021e61
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140021e59
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140021e5c
mov rdx, rcx
test rdx, rdx
jne 0x140021e30
cmp r8, r10
je 0x140021e71
cmp dword [r8], r9d
jne 0x140021e71
mov rcx, qword [r8 + 8]
jmp 0x140021e73
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140021f07
cmp qword [rcx + 0x20], 0
jne 0x140021efc
mov qword [rcx + 0x20], rbx
jmp 0x140021f07
cmp qword [rcx + 0x28], 0
jne 0x140021f07
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140021f4c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021f40
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400077c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140021fa8
cmp r9b, 0x23
jne 0x140021f8b
cmp byte [r8], r9b
jne 0x140021f8b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140021f78
not ecx
call fcn.140010550
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140021df0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400578d0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140029970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400299bd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400299c2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x1400299ed
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400299ed
mov rax, qword [rax + 0x390]
test rax, rax
je 0x1400299ed
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x1400299f2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140029a0c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140029a11
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140029a93
inc ecx
test r8d, r8d
je 0x140029a7e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140029a83
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002ac70
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140029ad2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140029970
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140029ae2
inc esi
jmp 0x1400299a0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400439b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x188]
mov r10, rcx
mov dword [rcx + 0x7c], edx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x1400439ec
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0x130], xmm0
subss xmm0, dword [r9 + 0x48]
movss dword [r9 + 0x11c], xmm1
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x23c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x240], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1dc], eax
cmp byte [rbx + 0x5a], 0
jne 0x140043a87
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x140043aad
mov rax, qword [0x14006bab8]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [r10 + 4], 0x100000
je 0x140043abf
mov r8d, 2
jmp 0x140043b35
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2c0]
movss xmm1, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm4, dword [rbx + 0x2c]
movups xmmword [r9 + 0x258], xmm0
movss dword [rax + 0x88], xmm1
movss dword [rax + 0x8c], xmm2
movss dword [rax + 0x90], xmm3
movss dword [rax + 0x94], xmm4
mov rax, qword [r9 + 0x2c0]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movss dword [rcx + rdx*8 - 0x10], xmm1
movss dword [rcx + rdx*8 - 0xc], xmm2
movss dword [rcx + rdx*8 - 8], xmm3
movss dword [rcx + rdx*8 - 4], xmm4
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x2c0]
mov rcx, qword [r10 + 0x1a0]
call fcn.140036e40
mov rdi, qword [0x14006bab8]
cmp byte [rdi + 0x55c4], 0
je 0x140043b7a
cmp byte [rbx + 0x60], 0
jne 0x140043b7a
xor r8d, r8d
lea rdx, [0x1400600e8]
mov rcx, rsi
call fcn.14001def0
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140045000
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x14006bab8]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x14004501a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140045097
mov r10d, dword [rdx]
lea r8, [0x1400600d9]
movzx eax, word [rdx + 0x80]
lea r11, [0x14005b0c0]
not r10d
mov byte [rdx + 0x200], cl
mov ecx, r10d
mov byte [rdx + 0x20e], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x140045073
cmp byte [r8], r9b
jne 0x140045073
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 0x140045060
not ecx
jmp fcn.140018c80
ret
Function at 0x14005866c
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x7391cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x7391dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x7391c5
lea eax, [rcx + 1]
jmp 0x7391eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x7391fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x7391e4
sub eax, 3
jb 0x73921e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x73926d
sar eax, 1
movsxd rbp, eax
jb 0x739254
jmp 0x73922c
add ebx, ebx
jne 0x73922a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x739254
inc ecx
add ebx, ebx
jne 0x73923a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x739254
call r11
adc ecx, ecx
add ebx, ebx
jne 0x73924d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x73923c
add ecx, 2
jmp 0x739259
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00739182
jmp 0x7391cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x64400
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x7392b9
cmp rsi, rcx
jae 0x7392c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x7392a0
cmp al, 0x8f
ja 0x7392a0
cmp byte [rsi - 2], 0xf
je 0x7392a6
sub al, 0xe8
cmp al, 1
ja 0x73928a
cmp rsi, rcx
jae 0x7392c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x739290
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x7392c1
lodsb al, byte [rsi]
jmp 0x7392a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x335000]
mov eax, dword [rdi]
or eax, eax
je 0x73932a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x35fd18]
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 0x7392ce
jns 0x739303
movzx rdx, word [rdi]
add rdi, 2
jmp 0x73930d
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 0x739324
mov qword [rbx], rax
add rbx, 8
jmp 0x7392ee
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 0x739364
cmp al, 0xef
ja 0x739356
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x739336
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x739345
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 0x7393b8
sub rsp, 0xffffffffffffff80
jmp 0x422354
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004fecf0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004fed00]
mov dword [rax], 1
mov rax, qword [0x004fed10]
mov dword [rax], 1
mov rax, qword [0x004fece0]
mov dword [rax], 1
mov rax, qword [0x004febe0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004fecd0]
mov dword [0x00519008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x004fecb0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x004feb90]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x459010
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x45a320
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 2
mov qword [rbp + 0x3e0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x45a3b0
jmp 0x45a39f
jae 0x45a46b
cmp r8, 0x201
jae 0x45a3b0
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x45a407
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x45a3df
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h498cd2a0878ddf3d
mov rsi, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3c0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c0]
mov r12, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.kernel32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x45a42d
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x45a4d7
mov r8d, r13d
cmp r12, r8
jne 0x45a390
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x45a50a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x45a39f
jmp 0x45a3b0
cmp r14, r8
jb 0x45a524
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h4f0d847f13879248
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
mov rsi, qword [rbp + 0x3c8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
je 0x45a4c0
mov rcx, qword [rbp + 0x3d8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3c8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
jne 0x45a4ab
jmp 0x45a4c0
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h82631201f060ca88
jmp 0x45a539
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2
Function at 0x45a570
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.kernel32.dll_GetEnvironmentStringsW
test rax, rax
je 0x45a58f
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hab0355a4f2b8b8d2]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
ud2
Function at 0x45c4d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x45c55c
js 0x45c6a6
mov r15, rdx
mov rax, qword [0x004fec58]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x45c6a8
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rdx, r14
cmp rsi, 8
jb 0x45c65c
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x45c566
xor ecx, ecx
jmp 0x45c5f6
mov ebx, 1
jmp 0x45c67f
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x004d9f10]
movdqa xmm1, xmmword [0x004d9f20]
movdqa xmm2, xmmword [0x004d9f30]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rcx, rdx
jne 0x45c590
cmp rcx, rsi
je 0x45c67f
test sil, 0x18
je 0x45c656
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x004d9f40]
movdqa xmm1, xmmword [0x004d9f50]
movdqa xmm2, xmmword [0x004d9f60]
nop dword [rax]
movq xmm3, qword [rbx + rcx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rcx], xmm5
add rcx, 8
cmp rax, rcx
jne 0x45c620
cmp rax, rsi
jne 0x45c65c
jmp 0x45c67f
add rcx, r14
mov rdx, rcx
add r14, rsi
nop
movzx eax, byte [rdx]
lea ecx, [rax - 0x61]
cmp cl, 0x1a
setb cl
shl cl, 5
xor cl, al
mov byte [rdx], cl
lea rax, [rdx + 1]
mov rdx, rax
cmp rax, r14
jne 0x45c660
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rbx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
int3

Function at 0x45dd00
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x45dd15
mov rcx, rdx
mov rdx, r8