joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59cc40
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x6811d8
push esi
call fcn.005fe040
mov ebx, dword [ebp + 0x10]
mov edi, 0x48
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [ebp + 0xc], edi
mov eax, ebx
cmovle edi, dword [ebp + 0xc]
add edi, ebx
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x59cc80
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
call fcn.0059d6c0
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x59ccd2
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.0059d6c0
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x59ccf6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59dc60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x59dde9
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x59dd7c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0059d6c0
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x59dd26
test ecx, ecx
je 0x59ddd3
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5a0310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x5a0499
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x5a042c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0059fcf0
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x5a03d6
test ecx, ecx
je 0x5a0483
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5a1b70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x5a1d43
push ebx
dec edi
lea ebx, [edx + 0xc]
add edx, 0x14
shr edi, 3
push esi
mov esi, dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], edx
nop
movzx eax, byte [esi + 1]
lea esi, [esi + 8]
movzx ecx, byte [esi - 8]
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 5]
shl eax, 0x18
or ecx, eax
movzx eax, byte [esi - 3]
shl eax, 8
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa4], ecx
movzx ecx, byte [esi - 4]
or ecx, eax
movzx eax, byte [esi - 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx]
and al, 0xdf
mov dword [ebp - 0x8c], ecx
or al, 0x40
mov dword [ebp - 0x98], ecx
mov byte [ebx], al
movzx eax, byte [edx]
and al, 0xbf
mov dword [ebp - 0xa0], ecx
or al, 0x20
push ebx
mov byte [edx], al
call fcn.0055dcd0
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.0055da90
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.005851d0
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.0055dcd0
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.0055da90
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.005851d0
mov ecx, dword [ebp - 0x8c]
add esp, 0x30
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
xor edx, ecx
xor ecx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
xor ebx, eax
mov dword [ebp - 0x8c], ecx
xor eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x88]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x88]
shr eax, 0x18
mov byte [ecx + 3], al
mov byte [ecx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov eax, ebx
shr edx, 0x18
mov byte [ecx + 7], dl
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
shr eax, 8
mov byte [ecx], bl
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [ecx + 3], bl
mov ebx, dword [ebp - 0x94]
mov byte [ecx + 4], dl
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ecx + 6], al
mov byte [ecx + 7], dl
mov edx, ecx
sub edi, 1
jne 0x5a1bb0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5a9080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov ecx, dword [edx + 4]
mov esi, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [ebp + 8]
cmovge esi, ebx
cmovge ebx, edx
mov dword [ebp + 0xc], esi
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x5a90ac
mov eax, edi
jmp 0x5a90b6
push eax
push edi
call fcn.004f19a0
add esp, 8
test eax, eax
jne 0x5a90bf
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x5a90e8
nop dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 4]
jl 0x5a90d0
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x5a9102
nop
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x5a90f0
mov dword [edi + 4], eax
test eax, eax
jle 0x5a9122
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x5a911f
dec eax
test eax, eax
jg 0x5a9111
mov dword [edi + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x5b15e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x5b16ab
mov eax, dword [ebp + 0x10]
push esi
push edi
lea esi, [edx + 2]
lea edi, [eax + 3]
sub eax, edx
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call fcn.005b19f0
mov al, byte [edi - 3]
lea edi, [edi + 8]
xor al, byte [ebp - 0x14]
lea esi, [esi + 8]
mov byte [esi - 0xa], al
add esp, 0xc
mov byte [ebp - 0xc], al
mov al, byte [edi - 0xa]
xor al, byte [ebp - 0x13]
mov byte [esi - 9], al
mov byte [ebp - 0xb], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax + esi - 8]
xor al, byte [ebp - 0x12]
mov byte [esi - 8], al
mov byte [ebp - 0xa], al
mov al, byte [edi - 8]
xor al, byte [ebp - 0x11]
mov byte [esi - 7], al
mov byte [ebp - 9], al
mov al, byte [edi - 7]
xor al, byte [ebp - 0x10]
mov byte [esi - 6], al
mov byte [ebp - 8], al
mov al, byte [edi - 6]
xor al, byte [ebp - 0xf]
mov byte [esi - 5], al
mov byte [ebp - 7], al
mov al, byte [edi - 5]
xor al, byte [ebp - 0xe]
mov byte [esi - 4], al
mov byte [ebp - 6], al
mov al, byte [edi - 4]
xor al, byte [ebp - 0xd]
mov byte [esi - 3], al
mov byte [ebp - 5], al
sub ebx, 1
jne 0x5b1623
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5ccab0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636c14
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], vtable.jsoncons::json_decoder_class_jsoncons::basic_json_char__struct_jsoncons::sorted_policy__class_std::allocator_char____class_std::allocator_char__.0
mov dword [ebp - 4], 0
mov byte [edi + 0x20], 0x90
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov eax, 0x66666667
mov ecx, dword [edi + 0x50]
sub ecx, dword [edi + 0x48]
imul ecx
mov byte [ebp - 4], 4
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x3e8
jae 0x5ccb6f
push 0x3e8
lea ecx, [edi + 0x48]
call fcn.005d0fd0
mov ecx, dword [edi + 0x5c]
mov eax, ecx
sub eax, dword [edi + 0x54]
sar eax, 3
cmp eax, 0x64
jae 0x5ccb8c
push 0x64
lea ecx, [edi + 0x54]
call fcn.005d1020
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp ecx, eax
je 0x5ccbb4
mov dword [eax], 0
mov dword [eax + 4], 0
add dword [edi + 0x58], 8
jmp 0x5ccbc5
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [edi + 0x54]
call fcn.005c7b10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d9b00
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637478
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
push 7
push str.0_0_0_0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.00417150
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d9b66
sub ecx, edx
jne 0x5d9b80
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x5d9c4d
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], 0
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x44], eax
test eax, eax
je 0x5d9c4d
inc eax
push eax
call fcn.005c386a
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x5d9c4d
push edi
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x48]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x5d9bde
push edi
call fcn.005c3e37
add esp, 4
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004167b0
jmp 0x5d9c7e
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x6a2f8c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5d9bc5
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x3c]
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
call fcn.005c3e37
movzx eax, si
xorps xmm0, xmm0
push eax
shr esi, 0x10
push esi
movzx eax, di
push eax
shr edi, 0x10
lea eax, [ebp - 0x20]
push edi
push 0x645a1c
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.005d9770
lea ecx, [ebp - 0x20]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d9c34
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00417150
mov esi, dword [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x38]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
call fcn.00417a20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5dbda0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6377a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], edi
push eax
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x69fdb8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00416b00
mov esi, 1
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb0], esi
jle 0x5dbe77
mov edx, dword [ebx + esi*4]
mov eax, edx
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5dbe40
sub eax, edi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0048abb0
push 1
push 0x6a6270
lea ecx, [ebp - 0x28]
call fcn.0048abb0
inc esi
cmp esi, dword [ebp - 0xb0]
jl 0x5dbe33
mov edi, dword [ebp - 0xb4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xac]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412380
mov edx, dword [eax]
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [ebp - 4], 1
mov byte [edi], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dbeb0
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.00417150
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x5dbedb
push eax
call fcn.006140b6
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5dbf11
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5dbf07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbf2f
push edx
push ecx
call fcn.005c385c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
call fcn.00606fc9
int3
Function at 0x5dc410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637838
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2c], ecx
jb 0x5dc454
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5dc48f
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x6a2f3c
mov byte [edi], 0
call fcn.00417150
jmp 0x5dc582
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0x400
mov dword [ebp - 0x34], 1
call fcn.00416950
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 0x10
jb 0x5dc4d8
mov esi, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5dc51d
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x6a2f3c
mov byte [edi], 0
call fcn.00417150
jmp 0x5dc57a
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
dec ecx
cmp ecx, eax
ja 0x5dc53c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x5dc549
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00416950
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
call fcn.00417a20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5dcb60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0x6ad0b0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x5dcc1b
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [0x6ce4b4]
shr eax, 0x1c
mov byte [ebp - 0xc], 0x2d
mov byte [ebp - 7], 0
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x10], al
mov eax, edx
shr eax, 0x18
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0xf], al
mov eax, edx
shr eax, 0x14
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x10
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 0xc
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 4
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 9], al
movzx eax, byte [edx + ecx]
mov byte [ebp - 8], al
lea ecx, [ebp - 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dcc32
sub ecx, edx
lea eax, [ebp - 0x10]
push ecx
push eax
mov ecx, esi
call fcn.00417150
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005c358e
mov esp, ebp
pop ebp
ret