joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403de0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004534e0
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x403e10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.00469210
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004852cb
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004530b8
mov esp, ebp
pop ebp
ret
Function at 0x403ea0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4040b3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4040b3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403ed3
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x4040b3
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.00469210
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00469210
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x4ea93c
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403f54
test al, 1
je 0x403f54
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x404099
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40408d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x404008
cmp word [ebp - 0x638], 0x2e
jne 0x403fc7
mov ax, word [ebp - 0x636]
test ax, ax
je 0x404072
cmp ax, 0x2e
jne 0x403fc7
cmp word [ebp - 0x634], 0
je 0x404072
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00403ea0
add esp, 4
jmp 0x404070
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40405f
test al, 1
je 0x40405f
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403f90
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004530b8
mov esp, ebp
pop ebp
ret
Function at 0x4040d0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404128
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404128
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x404108
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404128
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404123
test al, 0x10
je 0x404123
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x404128
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x404c10
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__s_failed__error_d
call fcn.00419570
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404c37
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x404c65
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404c22
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x404c80
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db2c6
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x51c91c]
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 ebx, dword [ebp + 8]
test ebx, ebx
jne 0x404cbc
xor eax, eax
jmp 0x404ec2
cmp word [ebx], 0
je 0x404cb5
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404cc7
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x404cb5
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x4ea9bc
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404d22
test al, 1
je 0x404d22
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.00404130
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x404e72
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x404dd1
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x404dd1
cmp word [ebp - 0x858], 0x2e
jne 0x404dd1
mov ax, word [ebp - 0x856]
test ax, ax
je 0x404dac
cmp ax, 0x2e
jne 0x404dd1
cmp word [ebp - 0x854], 0
jne 0x404dd1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x404ede
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x404e64
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.004043d0
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x404e0c
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x404e0c
mov esi, dword [ebp - 0x888]
push esi
call fcn.00404c80
jmp 0x404e18
mov esi, dword [ebp - 0x888]
push esi
call fcn.00404c10
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x404e29
xor edi, edi
jmp 0x404e48
cmp dword [ebp - 0x424], 0
jne 0x404e36
xor edi, edi
jmp 0x404e48
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404e64
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x404d69
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x404e98
cmp eax, 0xffffffff
je 0x404e98
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.00403de0
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x404ebd
cmp eax, 0xffffffff
je 0x404ebd
push eax
call esi
mov eax, 1
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.004530b8
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x404e98
Function at 0x404f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404fd9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404fd9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404fca
cmp esi, edx
jae 0x404fd9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404fb8
cmp esi, edx
jae 0x404fd9
cmp word [esi], 0
je 0x404fd9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x406400
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.McSafeBoxInstaller
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x4064e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4064b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4eaa48
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4064a2
push 0
push 0
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x4064d2
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x4064df
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.00405f50
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004530b8
mov esp, ebp
pop ebp
ret
Function at 0x409e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409ed3
push edi
push ebx
call fcn.004217c0
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.00419570
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.004219c0
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.00419570
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x40a490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.00469210
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.00404320
mov ecx, eax
test ecx, ecx
je 0x40a5aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x4eadf8
push str.SOFTWAREMcSafeBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a560
sub eax, edx
sar eax, 1
je 0x40a58e
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404ae0
mov ecx, esi
call fcn.0040bdc0
mov ecx, esi
call fcn.0040bcc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004036d0
int3
Function at 0x40a950
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
lea ebx, [esi + 1]
cmp dword [section..data], esi
je 0x40aa0c
push str.ntdll.dll
mov dword [ebp - 0x128], esi
xor ebx, ebx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40aa01
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a9d3
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x128]
push ecx
call eax
movzx eax, word [ebp - 0x124]
lea ebx, [esi + 1]
mov dword [ebp - 0x124], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x40aa01
cmp dword [ebp - 0x128], 5
mov ebx, 1
jne 0x40aa06
mov eax, dword [0x51f884]
cmp dword [ebp - 0x12c], ebx
cmove eax, ebx
mov dword [0x51f884], eax
jmp 0x40aa06
mov ebx, 1
mov dword [section..data], esi
cmp dword [0x51f884], esi
je 0x40aa86
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00469210
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40aa86
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x10c]
push 0x4eb034
push eax
call edi
test eax, eax
je 0x40aa73
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push str.Service_Pack_1
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
cmovne esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004530b8
mov esp, ebp
pop ebp
ret
Function at 0x40b8a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbb48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51c91c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b91b
test al, 0x10
je 0x40b91b
push esi
mov edi, 1
call fcn.00403de0
add esp, 4
test eax, eax
jne 0x40b93e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40b93e
push esi
test edi, edi
jne 0x40b936
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b93e
push esi
push str.DeleteFile:_s_suceesss
call fcn.00419570
add esp, 8
jmp 0x40b93e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b8ec
push esi
push str.DeleteFile:_s_suceesss
call fcn.00419570
add esp, 8
jmp 0x40b93e
call fcn.00403de0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b9bf
push esi
lea ecx, [ebp - 0x10]
call fcn.004033c0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x40b97e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403830
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x40b98a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.00408e00
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b9ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbda8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x2d002d
mov dword [ebp - 0x24], 0x70006f
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x69006d
mov dword [ebp - 0x18], 0x65007a
mov word [ebp - 0x14], ax
call fcn.00404320
mov ecx, eax
test ecx, ecx
je 0x40d3e9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004036f0
test al, al
jne 0x40d3cb
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d3b0
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404ae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004036d0
int3

Function at 0x40de00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbf40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x28], 0x2d002d
mov dword [ebp - 0x24], 0x70006f
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x69006d
mov dword [ebp - 0x18], 0x65007a
mov word [ebp - 0x14], ax
call fcn.00404320
mov ecx, eax
test ecx, ecx
je 0x40defe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004036f0
test al, al
jne 0x40deac
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40de90
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404ae0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0040d970
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40dee2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004036d0
int3
Function at 0x40e6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc14c
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x51c91c]
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, ecx
call fcn.00404320
mov ecx, eax
test ecx, ecx
je 0x40e8c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.__pid
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.004036f0
test al, al
jne 0x40e730
mov ecx, str.__pid
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e710
sub ecx, edx
sar ecx, 1
push ecx
push str.__pid
lea ecx, [ebp - 0x21c]
call fcn.00404ae0
lea esi, [edi + 0x20]
mov dword [ebp - 4], 1
push esi
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0040d400
mov edx, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e770
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x40e806
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0040d5d0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00409440
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e7bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x40e806
push 0xd0
lea ecx, [ebp - 0x220]
call fcn.004033c0
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00409440
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40e806
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00469210
add esp, 0xc
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x4eadf8
push str.SOFTWAREMcSafeBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x40e89e
lea ecx, [ebp - 0x218]
add edi, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e870
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404ae0
mov ecx, edi
call fcn.0040bdc0
mov ecx, edi
call fcn.0040bcc0
jmp 0x40e8a7
push esi
lea ecx, [edi + 0x10]
call fcn.00409440
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.004530b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004036d0
int3