joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441d10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x575e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x18]
mov dword [esp + 0x24], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x30]
lea ebp, [esi + 0x10]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
push ecx
mov dword [ebp], 0
mov ecx, edi
mov dword [esi], 0x58aa60
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ebp + 4], 0
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 8]
sub eax, 0
je 0x441e3c
dec eax
je 0x441de5
dec eax
je 0x441e15
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_4
push 0x2740
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::LoadStringA
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x24], 3
je 0x441e6f
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00486e20
jmp 0x441e71
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00441ec0
test al, al
je 0x441d8f
mov eax, dword [esp + 0x2c]
push ebp
push 0x627d24
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x1c
ret 8
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00441ec0
test al, al
je 0x441d8f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0xc], eax
jmp 0x441e15
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 0x5a5210
push eax
mov byte [esp + 0x2c], 2
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
push esi
mov esi, ecx
call fcn.00441eb0
test byte [esp + 8], 1
je 0x441ea8
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
ret 4
Function at 0x442b10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x10], 0
xor esi, esi
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 8
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareRocscienceDipsSettings
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x442bb2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push eax
push 1
push esi
push str.CurDir
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x442ba7
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x10c
ret
Function at 0x445e40
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x445e53
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x445e53
jmp fcn.00444c70
ret

Function at 0x44a5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5769c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push esi
push 0x6400e0
push eax
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add esp, 0xc
lea eax, [esp + 0x18]
push ecx
push edx
push 0x6106c8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x10
lea eax, [esp + 0x14]
push ecx
push edx
push 0x6106c8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
add esp, 0x10
lea eax, [esp + 0x10]
push ecx
push edx
push 0x6106c8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 0x10
lea eax, [esp + 0xc]
push ecx
push edx
push 0x6106c8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add edi, 4
push 0
push 0
push 0
push ecx
push 0
push esi
mov ecx, edi
call fcn.004ec7e2
test eax, eax
je 0x44a731
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push edx
push 1
push esi
mov ecx, edi
call fcn.004ec7e2
test eax, eax
je 0x44a731
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push eax
push 2
push esi
mov ecx, edi
call fcn.004ec7e2
test eax, eax
je 0x44a731
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push ecx
push 3
push esi
mov ecx, edi
call fcn.004ec7e2
test eax, eax
je 0x44a731
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push edx
push 4
push esi
mov ecx, edi
call fcn.004ec7e2
test eax, eax
je 0x44a731
mov bl, 1
jmp 0x44a733
xor bl, bl
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x24
Function at 0x453510
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5771f8
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push edi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4535f4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x4535ed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4535ed
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4535ed
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4535ed
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4535ed
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
je 0x453600
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4598a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x577a77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.00459890
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jg 0x459924
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 0x1e0]
push edi
mov edi, dword [esp + 0x30]
lea esi, [ecx + eax*4]
mov ecx, edi
push esi
call sub.MFC42.DLL_CString::CString_3
lea edx, [esi + 4]
lea ecx, [edi + 4]
push edx
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
lea ecx, [esp + 8]
call fcn.00459650
mov esi, dword [esp + 0x2c]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esp + 4], 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x459cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
call fcn.00481cf0
push str.locked.dls
lea edx, [esp + 8]
push eax
push edx
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::CStdioFile_1
mov al, byte [esp + 0x30]
mov byte [esp + 0x28], 3
test al, al
push 0
je 0x459d82
mov eax, dword [esp + 8]
push 0x1001
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x459da2
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00459de0
jmp 0x459da2
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x459da2
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045a140
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x463470
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5784b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 0x10]
lea edx, [esp]
push edx
push 2
push 0
push eax
mov eax, dword [ecx + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4634eb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4634eb
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x463510
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5784d8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
jne 0x4635a4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push eax
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x4635a4
mov esi, dword [esp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x463720
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x578518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov eax, dword [ecx + 0x10]
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], 3
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463792
fld qword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], ecx
jmp 0x4637eb
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4637cf
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fld qword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
fstp qword [esi]
mov dword [esi + 8], edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x463810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57855a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x134]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x12c], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xff
mov edi, ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00463510
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x46389d
cmp eax, 2
je 0x46389d
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], ebx
jmp 0x46393f
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
je 0x4638d5
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x46393b
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi], eax
je 0x463901
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x463928
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x46393b
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x134]
mov byte [esp + 0x124], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 0xc
Function at 0x463a60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x578598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ecx + 0x10]
lea edx, [esp]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], 3
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463acc
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x463af9
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x463b30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5785b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
lea ecx, [esp + 8]
mov edi, 1
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463b93
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x20]
push 4
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x463bb4
xor edi, edi
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x463bc6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x463c00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5785d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
lea ecx, [esp + 8]
mov edi, 1
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463c63
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x20]
push 0xc
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x463c84
xor edi, edi
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x463c96
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x463da0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x578644
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x62a2
mov dword [esp + 0x18], esi
call fcn.004ea8e8
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x64]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0x68]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_4
push 0x69ab30
mov ecx, edi
mov byte [esp + 0x20], 4
mov dword [esi], 0x58d410
call fcn.004ea8a0
push 0x69ab30
mov ecx, ebx
call fcn.004ea8a0
push 0x69ab30
mov ecx, ebp
call fcn.004ea8a0
push 0x69ab30
lea ecx, [esi + 0x6c]
call fcn.004ea8a0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
cmp eax, 2
mov dword [esi + 0x84], ecx
mov ecx, 0xd
mov dword [esi + 0x74], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], ecx
jne 0x463e80
mov dword [esi + 0x7c], 0xc
jmp 0x463e88
cmp eax, 1
jne 0x463e88
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x475560
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5792ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push esi
mov esi, dword [esp + 0x170]
push 0x69ab30
mov ecx, esi
call fcn.004ea8a0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00481cf0
push str..dis
lea edx, [esp + 0xc]
push eax
push edx
mov dword [esp + 0x170], 0
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
lea eax, [esp + 0x1c]
push eax
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x4756cc
mov ecx, dword [esp + 0x16c]
push edi
mov edi, 1
cmp ecx, edi
jl 0x4756c4
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
cmp edi, 1
jle 0x475628
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4756bf
cmp dword [esp + 0x174], edi
jne 0x4756af
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004ea8a0
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
mov eax, dword [esp + 0x18]
push 0x6727fc
push eax
mov byte [esp + 0x174], 3
call ebp
add esp, 8
test eax, eax
jne 0x47569c
mov ecx, dword [esi]
lea edx, [esp + 0x20]
mov eax, dword [ecx - 8]
mov ecx, esi
add eax, 0xfffffffc
push eax
push edx
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [esp + 0x170], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x16c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov bl, 1
mov byte [esp + 0x16c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x174]
inc edi
cmp edi, eax
jle 0x47560b
mov eax, dword [esp + 0x14]
pop ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x15c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret 8