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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x40273d
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x650010]
xor edx, dword [esi*4 + 0x64f810]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x64fc10]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x64f410]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x650010]
xor edx, dword [esi*4 + 0x64fc10]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x64f810]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x64f410]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x650010]
xor edx, dword [esi*4 + 0x64fc10]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x64f810]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x64f410]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x650010]
xor edx, dword [esi*4 + 0x64fc10]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x64f810]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x64f410]
dec ecx
mov dword [eax - 6], edx
jne 0x402677
pop esi
ret
Function at 0x402e6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 4
lea eax, [ebp - 4]
push 0x650640
push eax
call fcn.00401e2c
mov esi, dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push 0x65063c
push eax
call fcn.00401e2c
mov edi, dword [ebp - 4]
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x475f4352
push eax
push 0
push 0
mov dword [ebp - 0x10], 0x646e6172
mov dword [ebp - 0xc], 0x6e65704f
mov dword [ebp - 8], 0x676f44
call esi
mov esi, eax
test esi, esi
je 0x402ed0
push 0xffffffffffffffff
push esi
call edi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x402ed4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6505ec]
push esi
mov esi, dword [ebp + 8]
and eax, 3
sub eax, 0
je 0x402f5e
dec eax
je 0x402f3b
dec eax
je 0x402f18
dec eax
jne 0x402f7f
mov eax, dword [0x6505fc]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402fbf
add dword [0x6505fc], 0x3f2
pop ecx
pop ecx
jmp 0x402f7f
mov eax, dword [0x6505f8]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402fbf
add dword [0x6505f8], 0x3f2
pop ecx
pop ecx
jmp 0x402f7f
mov eax, dword [0x6505f4]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402fbf
add dword [0x6505f4], 0x3f2
pop ecx
pop ecx
jmp 0x402f7f
mov eax, dword [0x6505f0]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402fbf
add dword [0x6505f0], 0x3f2
pop ecx
pop ecx
mov ax, word [esi + 2]
add dword [0x6505ec], 0x3eb
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x402f95
mov al, byte [esi + 0x10]
push esi
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
call fcn.00403053
pop ecx
pop esi
pop ebp
ret
Function at 0x403600
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0x2b
mov byte [esi], 0x52
mov byte [esi + 1], 0x43
mov byte [esi + 2], 0x36
mov byte [esi + 3], bl
mov dword [esi + 4], 0xb8
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
pop ecx
mov edx, dword [eax - 4]
sub edx, 0x61c88647
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x403630
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x84
mov eax, dword [ebp - 4]
push 3
lea edi, [esi + eax*4 + 8]
mov eax, dword [ebp + 0xc]
add eax, ebx
add eax, dword [edi]
push eax
call fcn.004037ae
mov ecx, dword [ebp - 8]
mov dword [edi], eax
mov ebx, eax
mov eax, dword [ebp + 8]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + eax]
push ecx
mov ecx, dword [edi]
add ecx, eax
add ecx, ebx
push ecx
call fcn.004037ae
mov dword [edi], eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
add esp, 0x10
inc eax
push 0x2c
cdq
pop ecx
idiv ecx
mov eax, dword [ebp - 8]
push 4
inc eax
pop ecx
mov dword [ebp - 4], edx
cdq
idiv ecx
dec dword [ebp - 0xc]
mov dword [ebp - 8], edx
jne 0x403651
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4036b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test byte [ebp + 0x10], 0xf
je 0x4036c4
push 1
pop eax
leave
ret
cmp dword [ebp + 0x10], 0
je 0x4037aa
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx]
push 4
mov dword [ebp - 4], eax
pop eax
add ebx, eax
sub dword [ebp + 0x10], 0x10
mov dword [ebp - 0x10], 0x14
mov esi, dword [ebx]
mov ecx, dword [eax + ebx]
add ebx, eax
mov dword [ebp - 8], ecx
add ebx, eax
mov edi, dword [ebx]
add ebx, eax
mov eax, dword [ebp + 8]
add esi, dword [eax + 8]
add edi, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp + 0xc], eax
lea eax, [esi + esi + 1]
push 5
imul eax, esi
push eax
call fcn.004037ae
mov dword [ebp - 0xc], eax
lea eax, [edi + edi + 1]
imul eax, edi
push 5
push eax
call fcn.004037ae
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 4]
push eax
call fcn.004037ae
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
add eax, dword [ecx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 8]
push eax
call fcn.004037ae
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 8
add esp, 0x20
mov dword [ebp - 8], edi
add eax, dword [ecx]
dec dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, eax
jne 0x403708
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push 4
mov edx, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0xb4]
add edx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [eax], edx
pop edx
add eax, edx
mov dword [eax], esi
add eax, edx
mov dword [eax], ecx
add eax, edx
mov ecx, edi
mov dword [eax], ecx
add eax, edx
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x14], eax
jne 0x4036d4
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret
Function at 0x40382c
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x40430d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00404347
mov ax, word [esi + 2]
pop ecx
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x404325
mov al, byte [esi + 0x10]
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
pop esi
ret

Function at 0x40526a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 4]
push edi
push 0x650660
push eax
call fcn.00401e2c
mov esi, dword [ebp - 4]
push edi
lea eax, [ebp - 4]
push 0x650648
push eax
call fcn.00401e2c
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push 0x650664
push eax
call fcn.00401e2c
mov eax, dword [ebp - 4]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004042de
add esp, 0x30
push 1
pop ebx
cmp dword [ebp + 8], ebx
push 0x10
jne 0x4052f6
lea eax, [ebp - 0x24]
push 0x650610
push eax
call fcn.00401e2c
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x4052e5
mov byte [ebp - 0x14], 0x6c
jmp 0x40531f
lea eax, [ebp - 0x24]
push 0x650620
push eax
call fcn.00401e2c
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x40530c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x40535d
lea esi, [ebp - 0x9c]
push ebx
push dword [ebp - 8]
call dword [ebp - 0xc]
test eax, eax
mov dword [esi], eax
je 0x405357
inc ebx
add esi, edi
cmp ebx, 0x1f
jb 0x405332
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x30]
jne 0x405364
mov dword [0x6505e4], eax
jmp 0x405369
push dword [ebp - 8]
call dword [ebp - 0x10]
mov eax, 0xa8160005
jmp 0x4053b6
mov dword [0x6505e8], eax
push dword [ebp - 0x8c]
call fcn.004053bb
test eax, eax
pop ecx
je 0x405380
mov eax, 0xa8160006
jmp 0x4053b6
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.00405488
pop ecx
test eax, eax
pop ecx
je 0x405398
mov eax, 0xa8160007
jmp 0x4053b6
cmp dword [ebp + 8], 1
jne 0x4053aa
mov dword [0x6505dc], 2
jmp 0x4053b4
mov dword [0x6505e0], 2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e1bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e1da
xor eax, eax
jmp 0x40e255
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e1f0
xor eax, eax
jmp 0x40e255
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x40e238
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x40e238
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x40e211
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x40e244
xor eax, eax
jmp 0x40e255
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x40e252
xor eax, eax
jmp 0x40e255
mov eax, dword [ebp - 4]
leave
ret

Function at 0x418760
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
push 0x38
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.005953a0
add esp, 0xc
and dword [ebp - 0x40], 0
jmp 0x418791
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x10
jge 0x418800
lea eax, [ebp - 0x3c]
push eax
call fcn.0041880e
pop ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0041880e
pop ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax*4 + 0x5f3088], 2
jne 0x4187cc
lea eax, [ebp - 0x3c]
push eax
call fcn.0041880e
pop ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0041880e
pop ecx
and dword [ebp - 0x44], 0
jmp 0x4187d9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x30
jge 0x4187fe
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax + 0x5f30c8]
mov ecx, dword [ebp - 0x40]
imul ecx, ecx, 0x30
add ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov al, byte [ebp + eax - 0x3d]
mov byte [ecx + edx], al
jmp 0x4187d2
jmp 0x41878a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059508d
leave
ret 4
Function at 0x42788a
Capabilities:
Copy file

Disassembly:
mov eax, 0x5e3ba0
call fcn.00594e8c
sub esp, 0x34
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 1
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 9]
test eax, eax
jne 0x42791a
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x30]
call fcn.0042836e
mov byte [ebp - 0x31], al
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x427913
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0040b108
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00427ce3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x3c]
lea ecx, [ebp + 0xc]
call fcn.0040b132
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
jmp 0x4278b0
mov dword [ebp - 0x10], 1
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
call fcn.00517034
push eax
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x427984
push 8
call fcn.005b955b
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28], 0
je 0x427962
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.004265f0
mov dword [ebp - 0x40], eax
jmp 0x427966
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 0x6384c8
lea eax, [ebp - 0x20]
push eax
call fcn.005971f4
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4279a3
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x30]
call fcn.00426716
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040b121
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4283cb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x428424
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x428402
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x428413
and dword [ebp - 8], 0
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 8]
jmp 0x428452
or dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0xc]
jmp 0x428452
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x428440
mov dword [ebp - 0x10], 2
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0x10]
jmp 0x428452
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0x14]
leave
ret 4
Function at 0x431a1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x431a69
cmp dword [ebp - 0x90], 1
jne 0x431ae2
cmp dword [ebp - 0x98], 0
jne 0x431ae2
lea eax, [ebp - 0xa4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.Enable40.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431ae0
mov dword [ebp - 0x12c], 0x80
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431ad4
push 0xa
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00597e5c
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431af2
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059508d
leave
ret

Function at 0x45a72b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45a75b
push str._Token_Error
mov ecx, dword [0x68385c]
call fcn.004ef240
lea eax, [ebp - 0x14]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45a7b2
push str.AdjustTokenPrivileges_failed
mov ecx, dword [0x68385c]
call fcn.004ef240
push 0
push 1
push 0
push str.Shutting_Down
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
leave
ret
Function at 0x467124
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x467143
xor eax, eax
inc eax
jmp 0x4672c2
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1f7d8], eax
push 0x14
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0x3c4
push eax
call fcn.005960f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x1f7d8]
mov dword [eax + 0x3d4], ecx
and dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push str.DWORD
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x18], 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.EnforceWriteProtection
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x650b44
call fcn.0048f6ac
add esp, 0xc
mov dword [0x650b40], eax
cmp dword [0x650b40], 0xffffffff
jne 0x467201
mov byte [0x683864], 1
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467245
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x1f7dc], ecx
jmp 0x467252
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1f7dc], 0x3e8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1f7dc]
mov dword [ebp - 0x24], eax
and dword [ebp - 0x20], 0
fild qword [ebp - 0x24]
mov eax, dword [0x68385c]
fstp qword [eax + 0x11df28]
mov byte [0x683455], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1f7dc]
imul eax, eax, 0xf4240
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1f7dc], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1f7dc]
mov dword [0x683520], eax
mov dword [0x683798], 0x61a8
mov byte [0x682ab8], 0
mov ecx, dword [ebp - 0x1c]
call fcn.004673c9
xor eax, eax
inc eax
leave
ret
Function at 0x4672c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
movzx eax, byte [0x6834d8]
cmp eax, 1
jne 0x4672e0
mov al, 1
jmp 0x4673c7
push 0x5fc62c
mov eax, dword [ebp - 0x24]
add eax, 0x3a4
push eax
call fcn.004197b5
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x467303
mov al, 1
jmp 0x4673c7
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
push 4
call fcn.005b955b
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x467338
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x46733c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push 0
push reloc.Enable40.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4673c5
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x5fc634
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4673c5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push 0x5fc644
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jne 0x4673c5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.005b958b
pop ecx
xor al, al
jmp 0x4673c7
mov al, 1
leave
ret

Function at 0x468e20
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5e5db3
call fcn.00594e8c
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov byte [0x682ac1], 1
lea ecx, [ebp - 0x2c]
call fcn.0058b106
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b0ee
mov byte [ebp - 4], 1
mov eax, dword [0x68385c]
push dword [eax + 0x80bbc]
push str._sLazyCam.exe
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
lea ecx, [ebp - 0x2c]
call fcn.0058b199
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x468e9b
push 0
push 0x5fca1c
push str.LazyCam_not_found._Download_it_from_www.machsupport.com
mov ecx, dword [ebp - 0x30]
call fcn.005baf52
mov byte [0x6835ac], 0
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0x5fca70
push str.LazyCam.exe
push 1
call fcn.00596268
add esp, 0x10
and dword [0x6834dc], 0
mov byte [0x682ac1], 0
mov eax, dword [0x68385c]
mov al, byte [eax + 0x86c04]
mov byte [0x6835ac], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0058b12a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret