joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429190
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0x4baa14
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 0x4291fa
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.00428fb0
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
ret 0x10

Function at 0x42a6d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x481e47
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], 0x48af10
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 0x42a748
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 0x42a774
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.0042e8f0
push 2
lea eax, [esi + 0x110]
push 0x14
push eax
mov byte [esp + 0x24], 2
call fcn.0047e392
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 1
call fcn.0047df88
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b8a0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x488cdc
call fcn.0047dd48
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42afd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481eb8
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.0042e840
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c050
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.0042a7f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042e930
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 0x42b06d
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 0x42b085
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c060
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042e8f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x42c840
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x48210b
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], 0x48b0f0
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 0x42c8b8
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 0x42c8e4
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.0042e8f0
push 2
lea eax, [esi + 0xd0]
push 0x14
push eax
mov byte [esp + 0x24], 1
call fcn.0047e392
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b8a0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x488cdc
call fcn.0047dd48
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42ca40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482128
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.0042e840
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c050
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.0042a7f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042e930
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 0x42cadd
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 0x42caf5
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c060
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042e8f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42cc7c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48216b
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.0042e840
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.0042a980
mov esi, 1
add esp, 0x10
cmp eax, esi
jne 0x42cdad
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
lea ecx, [esp + 0x28]
call fcn.0042e930
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cdad
push ebx
mov ebx, dword [esp + 0x43c]
cmp ebx, 0x3e8
push edi
jb 0x42cd18
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 0x42cd24
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x3e8
test edi, edi
je 0x42cd92
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 0x42cd8e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x438]
cmp ecx, eax
jne 0x42cd8e
cmp dword [esp + 0x14], ebx
jne 0x42cd8e
mov esi, dword [esp + 0x43c]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42cd80
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42cd92
mov dword [esp + 0x10], 1
jmp 0x42cd92
mov dword [esp + 0x10], esi
pop edi
pop ebx
test ebp, ebp
je 0x42cda2
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.0042e8f0
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 0x42d270
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 0x42d130
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 0x42d2be
mov ecx, dword [0x513e5c]
push 0
push 0
mov edx, dword [ecx*4 + 0x4bb110]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop esi
pop ecx
ret
Function at 0x4300f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4825cb
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.0040b5f0
lea ebx, [esi + 0xcc]
mov byte [esp + 0x228], 1
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_4
lea edi, [esi + 0xd0]
mov byte [esp + 0x228], 2
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x230]
mov dword [esi], 0x48b808
mov ecx, dword [0x4bb52c]
mov dx, word [0x4bb530]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push ecx
push 0x49e1d8
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 0x43023a
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::GetBuffer
push 0x49f5a0
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43023a
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 0x43023a
lea edx, [esp + 0x18]
mov word [esp + 0x21e], 0
push edx
push 0x49e1d8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x49e204
call sub.MFC42u.DLL_CString::TrimRight
add ebx, 2
mov ecx, edi
push ebx
call fcn.0047dde4
push 0x49e204
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 0x431a70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x513e5c]
push ebx
push ebp
push esi
mov edx, dword [eax*4 + 0x4bb748]
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], 0x513d78
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 0x431b7a
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 0x431b2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
Function at 0x432130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4828f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov ecx, ebx
call sub.MFC42u.DLL_CString::Empty
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0x194]
cmp ebp, eax
je 0x432334
mov eax, dword [edi + 0x16c]
push esi
push ebp
push 3
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, dword [edi + 0x194]
cmp esi, eax
je 0x43223b
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x18]
push ebp
push ecx
lea ecx, [edi + 0x14c]
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push eax
lea edx, [esp + 0x18]
push 0x49e204
push edx
mov dword [esp + 0x38], 0
call sub.MFC42u.DLL_operator_1
push ebx
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x34], 1
push eax
call sub.MFC42u.DLL_operator_2
push eax
mov ecx, ebx
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [edi + 0x16c]
push esi
push 3
push 0x110a
push ecx
mov ebp, esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, dword [edi + 0x194]
cmp esi, eax
jne 0x4321a0
lea edx, [esp + 0x38]
push ebp
push edx
lea ecx, [edi + 0x14c]
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push 0x28
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 3
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
pop esi
je 0x43231c
inc eax
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::CString
cmp dword [esp + 0xc], 1
jne 0x4322cc
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42u.DLL_operator_2
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::CString
jmp 0x432323
lea eax, [esp + 0x34]
push 0x49e204
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator
push ebx
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x34], 6
call sub.MFC42u.DLL_operator_2
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 7
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::CString
jmp 0x432323
mov ecx, ebx
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x433140
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 0x433212
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov ebx, 4
jne 0x433192
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x433192
mov ebx, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
call fcn.0041fef0
add esp, 4
test al, al
jne 0x4331bc
push ebx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
jmp 0x4331c0
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4331f2
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 0x4331eb
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 0x433212
push esi
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4334a0
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 0x4334f0
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
Function at 0x434940
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x482d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [esp + 4], ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0
call sub.MFC42u.DLL_CFileFind::CFileFind
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], 0
mov eax, dword [esi]
mov edi, dword [eax - 8]
test edi, edi
jbe 0x434a50
push str..
mov ecx, esi
call fcn.0047dde4
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFileFind::FindFile
cmp eax, 1
jne 0x434a23
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CFileFind::FindNextFileW
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42u.DLL_CFileFind::IsDots
test eax, eax
jne 0x434a1d
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFileFind::GetFilePath
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call dword [edx + 0x40]
cmp eax, 1
jne 0x4349f5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
call fcn.00434940
jmp 0x434a0f
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call fcn.0041f400
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call sub.MFC42u.DLL_CString::CString
cmp ebp, 1
je 0x4349a8
pop ebp
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CFileFind::Close
push 4
push edi
mov ecx, esi
call sub.MFC42u.DLL_CString::Delete
mov esi, dword [esi]
cmp dword [esi - 8], 2
jne 0x434a45
cmp word [esi + 2], 0x3a
jne 0x434a50
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0047e04e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x438030
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4834ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x48c4e0
lea edi, [esi + 0x4b8]
mov dword [esp + 0x20], 0x14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0x4b4]
cmp eax, ebx
je 0x4380a9
push ebx
mov eax, dword [esi + 0x4b4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x4b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4b4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x508]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x504]
mov byte [esp + 0x20], 0x13
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x4e8]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42u.DLL_operatordelete
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4ec], ebx
mov dword [esi + 0x4f0], ebx
mov ebp, dword [esi + 0x4dc]
mov edi, dword [esi + 0x4d8]
add esp, 4
cmp edi, ebp
mov byte [esp + 0x20], 0x11
je 0x43811a
mov ecx, edi
call sub.MFC42u.DLL_CString::CString
add edi, 4
cmp edi, ebp
jne 0x43810c
mov eax, dword [esi + 0x4d8]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x48c]
mov dword [esi + 0x4d8], ebx
mov dword [esi + 0x4dc], ebx
mov dword [esi + 0x4e0], ebx
mov byte [esp + 0x20], 0x10
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x420]
mov byte [esp + 0x20], 0xf
call fcn.0040b8a0
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x20], 0xe
call fcn.0047df88
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x20], 0xd
call fcn.0047df88
lea ecx, [esi + 0x360]
mov byte [esp + 0x20], 0xc
call fcn.0047df88
lea ecx, [esi + 0x320]
mov byte [esp + 0x20], 0xb
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x20], 0xa
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x20], 9
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x260]
mov byte [esp + 0x20], 8
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x220]
mov byte [esp + 0x20], 7
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x20], 6
call fcn.0047df88
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x20], 5
call fcn.0047df88
lea ecx, [esi + 0x160]
mov byte [esp + 0x20], 4
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x120]
mov byte [esp + 0x20], 3
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0xe0]
mov byte [esp + 0x20], 2
call fcn.0047df88
lea ecx, [esi + 0xa0]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x60]
mov byte [esp + 0x20], bl
call sub.MFC42u.DLL_CButton::CButton
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esi], 0x488cdc
call fcn.0047dd48
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43ad70
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
sub esp, 0x214
push esi
mov esi, dword [esp + 0x220]
push edi
push esi
push eax
push 0
push ecx
mov edi, 1
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43ae25
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ae25
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
push 0x49e454
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ae25
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ecx
push str.Microsoft_Corporation
push edx
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x43ae25
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret
mov eax, edi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x444840
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 0x3c]
xor eax, eax
add ecx, edx
xor edx, edx
push esi
push edi
mov dx, word [ecx + 0x14]
lea ebp, [edx + ecx + 0x18]
mov edx, dword [esp + 0x18]
cmp ebx, edx
jae 0x444899
xor edi, edi
xor edx, edx
mov di, word [ecx + 6]
test edi, edi
jbe 0x444899
lea ecx, [ebp + 0xc]
mov esi, dword [ecx]
cmp ebx, esi
jb 0x444883
mov eax, dword [ecx - 4]
add eax, esi
cmp ebx, eax
jb 0x444892
inc edx
add ecx, 0x28
cmp edx, edi
jb 0x444874
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edx + edx*4]
lea eax, [ebp + ecx*8]
pop edi
pop esi
pop ebp
pop ebx
ret