joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4328b0
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4aa8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
lea ecx, [esp + 0xc]
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_5
mov dword [esp + 0x220], ebx
call fcn.00432830
lea eax, [esp + 0x10]
push 0x104
push eax
push ebx
mov word [0x546000], 0x58
mov word [0x546002], 0x75
mov word [0x546004], 0x65
mov word [0x546006], 0x54
mov word [0x546008], 0x72
mov word [0x54600a], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
mov word [esp + 0x21e], bx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x43298c
mov word [esi], bx
add esi, 2
push 0x2e
push esi
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, ebx
je 0x432961
mov word [eax], bx
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, ebx
jbe 0x43298c
cmp eax, 0x20
jae 0x43298c
push 0x20
push esi
push 0x546000
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [0x54603e], bx
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
push 0x546000
push str.._s
push 0x545f80
xor esi, esi
call ebp
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push 0x545f80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4329d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x432ab5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
and edx, 0xffff
push edx
push str._c:_
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x432a34
lea edx, [esp + 0x10]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, 0x104
lea edx, [esp + 0x14]
sub ecx, eax
push ecx
push str.drivers
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x10
push edi
xor edi, edi
push edi
lea eax, [esp + 0x18]
push 0x546000
push eax
call fcn.00432680
add esp, 0xc
cmp al, 1
jne 0x432a9a
cmp esi, 2
lea edx, [esp + 0x14]
setae cl
push ecx
push 1
push 0x546000
push edx
call fcn.00432270
add esp, 0x10
cmp al, 1
jne 0x432a83
push 0x546000
push str.._s
push 0x545f80
call ebp
add esp, 0xc
mov bl, 1
lea eax, [esp + 0x14]
push 0x546000
push eax
call fcn.004327b0
add esp, 8
cmp bl, 1
je 0x432ab4
inc esi
mov edi, esi
and edi, 1
jne 0x432aaf
push 0x546000
call fcn.004325a0
add esp, 4
cmp esi, 0x20
jb 0x432a37
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x220], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x218]
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x432cd0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x432d80
lea eax, [esp + 0xc]
push ebx
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x432d6b
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x34]
push str.System
push ecx
call ebx
add esp, 8
test eax, eax
je 0x432d59
lea edx, [esp + 0x10]
mov ecx, 0x8b
xor eax, eax
lea edi, [esp + 0x10]
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x432d6b
lea eax, [esp + 0x34]
push str.System
push eax
call ebx
add esp, 8
test eax, eax
jne 0x432d22
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
mov dword [0x546050], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
add esp, 0x230
ret
mov eax, edi
pop edi
pop esi
add esp, 0x230
ret
Function at 0x432e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc60
push ebx
lea eax, [esp + 0xc]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
xor esi, esi
push str.SYSTEMCurrentControlSetControlhivelist
push 0x80000002
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433075
push ebp
mov ebp, dword [esp + 0xc70]
push edi
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x860]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ebx
lea edx, [esp + 0xa78]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43305b
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
jne 0x43303d
lea edx, [esp + 0x860]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x43303d
lea eax, [esp + 0xa68]
push 0x104
lea ecx, [esp + 0x65c]
mov dword [esp + 0x24], esi
mov esi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push eax
push ecx
call esi
lea edx, [esp + 0x86c]
push 0x104
lea eax, [esp + 0x48]
push edx
push eax
mov word [esp + 0x876], bx
mov dword [esp + 0x258], ebx
call esi
mov eax, dword [ebp + 4]
mov ecx, 0x82
lea esi, [esp + 0x670]
lea edi, [esp + 0x25c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x83
lea esi, [esp + 0x50]
lea edi, [esp + 0x464]
mov word [esp + 0x256], bx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 4]
mov ecx, dword [0x546058]
add esp, 0x18
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x432fcb
lea ecx, [esi + 0xc]
lea edx, [esp + 0x244]
push ecx
push edx
mov edi, esi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
setg al
cmp al, bl
je 0x432fc0
mov esi, dword [esi]
jmp 0x432fc3
mov esi, dword [esi + 8]
cmp esi, dword [0x546058]
jne 0x432f9c
cmp byte [ebp + 8], bl
je 0x432fe1
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push edi
push esi
push ecx
jmp 0x433036
cmp al, bl
mov dword [esp + 0x24], edi
je 0x43300a
mov edx, dword [ebp + 4]
cmp edi, dword [edx]
jne 0x433001
lea eax, [esp + 0x244]
lea ecx, [esp + 0x34]
push eax
push edi
push esi
push ecx
jmp 0x433036
lea ecx, [esp + 0x24]
call fcn.00434710
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x244]
push ecx
lea eax, [edx + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x43303d
lea edx, [esp + 0x244]
lea eax, [esp + 0x30]
push edx
push edi
push esi
push eax
mov ecx, ebp
call fcn.004343c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x104
inc eax
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x10], eax
jmp 0x432eb0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc60
ret
mov eax, esi
pop esi
pop ebx
add esp, 0xc60
ret
Function at 0x439f00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0x4eb4cc
mov eax, dword [eax]
mov edi, ecx
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x439f6a
push esi
push 1
lea ecx, [esp + 0x1c]
push 2
push ecx
mov dword [esp + 0x24], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
push str.Windows_Registry_Editor_Version_5.00_r_n
push esi
call dword [sym.imp.MSVCRT.dll_fwprintf]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 8
push esi
push edx
push eax
push ecx
mov ecx, edi
call fcn.00439d20
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
ret 0x10

Function at 0x43b450
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4ab437
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4b5780
lea edi, [esi + 0x15c]
mov dword [esp + 0x14], 4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x158]
test eax, eax
je 0x43b4c8
push 0
mov eax, dword [esi + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x158], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x43b4f4
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x13c], 0
lea ecx, [esi + 0x140]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString
push fcn.0043f670
push 2
lea eax, [esi + 0x110]
push 0x14
push eax
mov byte [esp + 0x24], 2
call fcn.004a6816
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 1
call fcn.004a6276
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.00415020
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4b2d44
call fcn.004a6198
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43bd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0043f5c0
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.004157d0
mov eax, dword [esi + 0x80]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x13c]
push ecx
push edx
push eax
call fcn.0043b570
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0043f6b0
push 0
push 0
push 0
push 0
push eax
push ebx
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43bded
push eax
push 1
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43be05
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.004157e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043f670
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x43d5c0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4ab6fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4b5958
lea edi, [esi + 0x104]
mov dword [esp + 0x14], 2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x100]
test eax, eax
je 0x43d638
push 0
mov eax, dword [esi + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x43d664
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0xfc], 0
lea ecx, [esi + 0xf8]
call sub.MFC42u.DLL_CString::CString
push fcn.0043f670
push 2
lea eax, [esi + 0xd0]
push 0x14
push eax
mov byte [esp + 0x24], 1
call fcn.004a6816
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.00415020
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4b2d44
call fcn.004a6198
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0043f5c0
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.004157d0
mov eax, dword [esi + 0x80]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0xfc]
push ecx
push edx
push eax
call fcn.0043b570
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0043f6b0
push 0
push 0
push 0
push 0
push eax
push ebx
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43d85d
push eax
push 1
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43d875
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.004157e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043f670
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x43d9fc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ab75b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebp
push esi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 8], ebp
call fcn.0043f5c0
mov edx, dword [esp + 0x428]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi + 0xfc]
push ecx
push edx
push eax
mov dword [esp + 0x430], ebp
call fcn.0043b700
mov esi, 1
add esp, 0x10
cmp eax, esi
jne 0x43db2d
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
lea ecx, [esp + 0x28]
call fcn.0043f6b0
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43db2d
push ebx
mov ebx, dword [esp + 0x43c]
cmp ebx, 0x3e8
push edi
jb 0x43da98
lea esi, [ebx + 1]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, eax
mov dword [esp + 0x18], esi
add esp, 4
mov edi, ebp
mov esi, 1
jmp 0x43daa4
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x3e8
test edi, edi
je 0x43db12
mov ecx, dword [esp + 0x434]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edi
push edx
push 0
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43db0e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x438]
cmp ecx, eax
jne 0x43db0e
cmp dword [esp + 0x14], ebx
jne 0x43db0e
mov esi, dword [esp + 0x43c]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x43db00
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43db12
mov dword [esp + 0x10], 1
jmp 0x43db12
mov dword [esp + 0x10], esi
pop edi
pop ebx
test ebp, ebp
je 0x43db22
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x420], 0xffffffff
call fcn.0043f670
mov ecx, dword [esp + 0x418]
mov eax, dword [esp + 8]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x41c
ret 0x14

Function at 0x43dff0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x11c], 0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x43deb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0x100]
test eax, eax
jne 0x43e03e
mov ecx, dword [0x545f7c]
push 0
push 0
mov edx, dword [ecx*4 + 0x4ebbe8]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop esi
pop ecx
ret
Function at 0x440e50
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4abbbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [esp + 0x228]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 0xb8
mov dword [esp + 0x1c], esi
call sub.MFC42u.DLL_CDialog::CDialog
lea ecx, [esi + 0x60]
mov dword [esp + 0x228], 0
call fcn.00402980
lea ebx, [esi + 0xe0]
mov byte [esp + 0x228], 1
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_5
lea edi, [esi + 0xe4]
mov byte [esp + 0x228], 2
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x230]
mov dword [esi], 0x4b6068
mov ecx, dword [0x4ebfd8]
mov dx, word [0x4ebfdc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push ecx
push 0x4cb1f8
push ebx
mov byte [esp + 0x234], 3
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], 0
call sub.MFC42u.DLL_CString::Format
mov edx, dword [ebx]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x440f9a
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::GetBuffer
push 0x4cdbf0
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x440f9a
mov eax, dword [esp + 0x230]
push 0x104
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov dx, word [ecx]
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x18], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x440f9a
lea edx, [esp + 0x18]
mov word [esp + 0x21e], 0
push edx
push 0x4cb1f8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x4cb224
call sub.MFC42u.DLL_CString::TrimRight
add ebx, 2
mov ecx, edi
push ebx
call fcn.004a62ac
push 0x4cb224
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
mov ecx, dword [esp + 0x220]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 8
Function at 0x442af0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x545f7c]
push ebx
push ebp
push esi
mov edx, dword [eax*4 + 0x4ec218]
push edi
lea esi, [ecx + 0x60]
lea eax, [esp + 0x10]
mov edi, 1
mov ebx, 2
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0x24
mov dword [esp + 0x3c], 0x25
mov dword [esp + 0x40], 0x26
mov dword [esp + 0x44], 0x23
mov dword [esp + 0x48], 0x1a
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x19
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x60], 0x1c
mov dword [esp + 0x64], 0x2b
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0x545dc4
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
lea edi, [esp + 0x34]
mov ebp, 0xc
mov edx, dword [edi]
push 0
lea eax, [esp + 0x68]
push edx
push eax
push 0
mov word [esp + 0x74], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x64]
mov word [esp + 0x26c], 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x442bfa
lea eax, [esp + 0x10]
lea edx, [esp + 0x64]
mov dword [esp + 0x14], ebx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
inc ebx
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
add edi, 4
dec ebp
jne 0x442bac
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
Function at 0x4434b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4abf70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x180]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 4
push 0x110a
push ecx
mov dword [esp + 0x38], 0
call edi
mov esi, eax
test esi, esi
je 0x4435d3
push ebp
lea ebp, [ebx + 0x160]
push esi
mov ecx, ebp
call sub.MFC42u.DLL_CTreeCtrl::GetItemData
cmp eax, 2
jne 0x4435a2
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, ebp
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea edi, [ebx + 0x1d0]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00448790
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
mov ecx, edi
call fcn.00448740
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
mov dword [esp + 0x18], ebp
je 0x44358a
lea ecx, [esp + 0x18]
call fcn.00410720
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, edx
jne 0x443575
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ebp
push ecx
mov ecx, edi
call fcn.004138f0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x180]
push esi
push 0
push 0x1101
push edx
call edi
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0x180]
push eax
push 4
push 0x110a
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x443504
pop ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x444510
Capabilities:
Check os version

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push 0
mov eax, dword [edi]
push 1
push 0
push 2
mov eax, dword [eax - 8]
push 0x40000000
push eax
mov ecx, edi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4445e2
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov ebx, 4
jne 0x444562
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x444562
mov ebx, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
call fcn.004308d0
add esp, 4
test al, al
jne 0x44458c
push ebx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
jmp 0x444590
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4445c2
push 3
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4445bb
or esi, 0xffffffff
mov edx, dword [esp + 0x14]
push edx
call ebx
mov eax, dword [edi]
push 4
push 0
mov ecx, edi
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xffffffff
je 0x4445e2
push esi
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x444870
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4448c0
mov edx, dword [esp]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push str.AllowProtectedRenames
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret