joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fc80
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4802db
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.0040b5d0
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], 0x4897f0
mov ecx, dword [0x4b84bc]
mov dx, word [0x4b84c0]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push ecx
push 0x49b1d8
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 0x42fdca
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::GetBuffer
push 0x49c5a0
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42fdca
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 0x42fdca
lea edx, [esp + 0x18]
mov word [esp + 0x21e], 0
push edx
push 0x49b1d8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x49b204
call sub.MFC42u.DLL_CString::TrimRight
add ebx, 2
mov ecx, edi
push ebx
call fcn.0047bbb4
push 0x49b204
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 0x431600
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x50cb5c]
push ebx
push ebp
push esi
mov edx, dword [eax*4 + 0x4b86d8]
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], 0x50ca78
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 0x43170a
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 0x4316bc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
Function at 0x431cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480600
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 0x431ec4
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 0x431dcb
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 0x49b204
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 0x431d30
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 0x431eac
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 0x431e5c
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 0x431eb3
lea eax, [esp + 0x34]
push 0x49b204
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 0x431eb3
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 0x432cd0
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 0x432da2
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov ebx, 4
jne 0x432d22
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x432d22
mov ebx, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
call fcn.0041fb90
add esp, 4
test al, al
jne 0x432d4c
push ebx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
jmp 0x432d50
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x432d82
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 0x432d7b
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 0x432da2
push esi
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x433030
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 0x433080
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 0x4344d0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x480a80
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 0x4345e0
push str..
mov ecx, esi
call fcn.0047bbb4
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFileFind::FindFile
cmp eax, 1
jne 0x4345b3
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 0x4345ad
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 0x434585
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
call fcn.004344d0
jmp 0x43459f
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.0041f0a0
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call sub.MFC42u.DLL_CString::CString
cmp ebp, 1
je 0x434538
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 0x4345d5
cmp word [esi + 2], 0x3a
jne 0x4345e0
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.0047be18
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 0x437bc0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4811fd
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], 0x48a4c8
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 0x437c39
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 0x437caa
mov ecx, edi
call sub.MFC42u.DLL_CString::CString
add edi, 4
cmp edi, ebp
jne 0x437c9c
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.0040b880
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x20], 0xe
call fcn.0047bd4c
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x20], 0xd
call fcn.0047bd4c
lea ecx, [esi + 0x360]
mov byte [esp + 0x20], 0xc
call fcn.0047bd4c
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.0047bd4c
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x20], 5
call fcn.0047bd4c
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.0047bd4c
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], 0x486cdc
call fcn.0047bb18
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43a900
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 0x43a9b5
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 0x43a9b5
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
push 0x49b454
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 0x43a9b5
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 0x43a9b5
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret
mov eax, edi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x443cb0
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 0x443d09
xor edi, edi
xor edx, edx
mov di, word [ecx + 6]
test edi, edi
jbe 0x443d09
lea ecx, [ebp + 0xc]
mov esi, dword [ecx]
cmp ebx, esi
jb 0x443cf3
mov eax, dword [ecx - 4]
add eax, esi
cmp ebx, eax
jb 0x443d02
inc edx
add ecx, 0x28
cmp edx, edi
jb 0x443ce4
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
Function at 0x444720
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x481d4f
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], 0x48afa8
lea edi, [esi + 0x120]
mov dword [esp + 0x14], 3
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x138]
test eax, eax
je 0x444798
push 0
mov eax, dword [esi + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x138], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x148]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CListCtrl::CListCtrl
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CListCtrl::CListCtrl
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x486cdc
call fcn.0047bb18
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x445e42
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push ebx
push esi
push 0x445c10
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x138]
test eax, eax
je 0x445e7e
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x445ea6
mov eax, dword [0x50cb5c]
push ebx
mov ecx, dword [eax*4 + 0x4bb8f0]
mov edx, dword [eax*4 + 0x4bb8e4]
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x44c010
Capabilities:
Hash data with md5

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x16
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
pop edi
ret
Function at 0x44f5c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, ecx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x44f670
push 0x25
mov ecx, esi
call sub.MFC42u.DLL_CString::Find
test eax, eax
jl 0x44f635
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x44f635
mov eax, dword [esi]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x44f635
cmp eax, 0x103
jae 0x44f635
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x49b1d8
push esi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov eax, dword [esi]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jbe 0x44f670
cmp eax, 0x103
jae 0x44f670
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x49b1d8
push esi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
pop edi
pop esi
add esp, 0x20c
ret 4
Function at 0x453270
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4829ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48c800
lea edi, [esi + 0x360]
mov dword [esp + 0x1c], 0xd
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0x35c]
cmp eax, ebx
je 0x4532e8
push ebx
mov eax, dword [esi + 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x35c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x35c], ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call edi
lea eax, [esi + 0x388]
push eax
call edi
call fcn.0044c470
lea ecx, [esi + 0x3b8]
mov byte [esp + 0x1c], 0xc
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x37c]
push eax
mov dword [esp + 0x14], eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x2e0]
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
mov byte [esp + 0x1c], 0xa
call fcn.0040b880
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x1c], 9
call sub.MFC42u.DLL_CStatic::CStatic
lea ecx, [esi + 0x260]
mov byte [esp + 0x1c], 8
call fcn.0047bd4c
lea ecx, [esi + 0x220]
mov byte [esp + 0x1c], 7
call fcn.0047bd4c
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x1c], 6
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x1c], 5
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 4
call sub.MFC42u.DLL_CStatic::CStatic
lea ecx, [esi + 0x120]
mov byte [esp + 0x1c], 3
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1c], 2
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CStatic::CStatic
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], bl
call fcn.0047bd4c
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi], 0x486cdc
call fcn.0047bb18
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x455f00
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, ecx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x455fb0
push 0x25
mov ecx, esi
call sub.MFC42u.DLL_CString::Find
test eax, eax
jl 0x455f75
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x455f75
mov eax, dword [esi]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x455f75
cmp eax, 0x103
jae 0x455f75
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x49b1d8
push esi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov eax, dword [esi]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jbe 0x455fb0
cmp eax, 0x103
jae 0x455fb0
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x49b1d8
push esi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
pop edi
pop esi
add esp, 0x20c
ret 4

Function at 0x457010
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2ac
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x2c4]
xor ebx, ebx
mov ax, word [esi]
push edi
mov dword [esp + 0x1c], 0x3a0000
mov word [esp + 0x1c], ax
push ebx
mov ecx, 0x26
xor eax, eax
lea edi, [esp + 0x28]
push ebx
push 3
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x2d8]
push ebx
push 3
lea edx, [esp + 0x28]
push 0x80000000
push edx
mov dword [esp + 0x30], 0x5c005c
mov dword [esp + 0x34], 0x5c002e
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
mov dword [esp + 0x24], eax
je 0x457118
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0xc4]
push 0x200
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], 0x200
jne 0x45710d
lea eax, [esp + 0xbf]
push 8
push eax
push str.NTFS
call dword [sym.imp.MSVCRT.dll_strncmp]
mov ecx, dword [esp + 0x2d8]
add esp, 0xc
test eax, eax
push ecx
push ebp
push edi
lea edx, [esp + 0x30]
push esi
lea eax, [esp + 0xcc]
push edx
push eax
jne 0x457103
call fcn.00459b30
jmp 0x457108
call fcn.00457fc0
add esp, 0x18
mov ebx, eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2ac
ret