joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d7ac
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x483d7b
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.0042f370
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.0042b4b0
mov esi, 1
add esp, 0x10
cmp eax, esi
jne 0x42d8dd
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
lea ecx, [esp + 0x28]
call fcn.0042f460
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d8dd
push ebx
mov ebx, dword [esp + 0x43c]
cmp ebx, 0x3e8
push edi
jb 0x42d848
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 0x42d854
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x3e8
test edi, edi
je 0x42d8c2
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 0x42d8be
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x438]
cmp ecx, eax
jne 0x42d8be
cmp dword [esp + 0x14], ebx
jne 0x42d8be
mov esi, dword [esp + 0x43c]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42d8b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42d8c2
mov dword [esp + 0x10], 1
jmp 0x42d8c2
mov dword [esp + 0x10], esi
pop edi
pop ebx
test ebp, ebp
je 0x42d8d2
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.0042f420
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 0x42dda0
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 0x42dc60
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 0x42ddee
mov ecx, dword [0x5166dc]
push 0
push 0
mov edx, dword [ecx*4 + 0x4bd768]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop esi
pop ecx
ret
Function at 0x430c20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4841db
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.0040b710
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], 0x48d808
mov ecx, dword [0x4bdb84]
mov dx, word [0x4bdb88]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push ecx
push 0x4a01d8
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 0x430d6a
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::GetBuffer
push 0x4a15a0
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x430d6a
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 0x430d6a
lea edx, [esp + 0x18]
mov word [esp + 0x21e], 0
push edx
push 0x4a01d8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x4a0204
call sub.MFC42u.DLL_CString::TrimRight
add ebx, 2
mov ecx, edi
push ebx
call fcn.0047f984
push 0x4a0204
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 0x4325a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x5166dc]
push ebx
push ebp
push esi
mov edx, dword [eax*4 + 0x4bdda0]
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], 0x5165f8
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 0x4326aa
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 0x43265c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
Function at 0x432c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484500
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 0x432e64
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 0x432d6b
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 0x4a0204
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 0x432cd0
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 0x432e4c
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 0x432dfc
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 0x432e53
lea eax, [esp + 0x34]
push 0x4a0204
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 0x432e53
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 0x433c70
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 0x433d42
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov ebx, 4
jne 0x433cc2
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x433cc2
mov ebx, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
call fcn.00420850
add esp, 4
test al, al
jne 0x433cec
push ebx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
jmp 0x433cf0
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433d22
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 0x433d1b
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 0x433d42
push esi
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x433fd0
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 0x434020
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 0x435470
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x484980
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 0x435580
push str..
mov ecx, esi
call fcn.0047f984
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFileFind::FindFile
cmp eax, 1
jne 0x435553
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 0x43554d
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 0x435525
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
call fcn.00435470
jmp 0x43553f
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.0041fd50
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call sub.MFC42u.DLL_CString::CString
cmp ebp, 1
je 0x4354d8
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 0x435575
cmp word [esi + 2], 0x3a
jne 0x435580
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.0047fbee
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 0x438b60
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4850fd
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], 0x48e4e0
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 0x438bd9
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 0x438c4a
mov ecx, edi
call sub.MFC42u.DLL_CString::CString
add edi, 4
cmp edi, ebp
jne 0x438c3c
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.0040b9c0
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x20], 0xe
call fcn.0047fb28
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x20], 0xd
call fcn.0047fb28
lea ecx, [esi + 0x360]
mov byte [esp + 0x20], 0xc
call fcn.0047fb28
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.0047fb28
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x20], 5
call fcn.0047fb28
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.0047fb28
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], 0x48acdc
call fcn.0047f8e8
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43b8a0
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 0x43b955
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 0x43b955
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
push 0x4a0454
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 0x43b955
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 0x43b955
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret
mov eax, edi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x445f40
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 0x445f99
xor edi, edi
xor edx, edx
mov di, word [ecx + 6]
test edi, edi
jbe 0x445f99
lea ecx, [ebp + 0xc]
mov esi, dword [ecx]
cmp ebx, esi
jb 0x445f83
mov eax, dword [ecx - 4]
add eax, esi
cmp ebx, eax
jb 0x445f92
inc edx
add ecx, 0x28
cmp edx, edi
jb 0x445f74
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 0x4469b0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x485dbf
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], 0x48f118
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 0x446a28
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], 0x48acdc
call fcn.0047f8e8
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x448162
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 0x447f30
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 0x44819e
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x4481c6
mov eax, dword [0x5166dc]
push ebx
mov ecx, dword [eax*4 + 0x4c1320]
mov edx, dword [eax*4 + 0x4c1314]
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 0x44e410
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 0x4519c0
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 0x451a70
push 0x25
mov ecx, esi
call sub.MFC42u.DLL_CString::Find
test eax, eax
jl 0x451a35
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x451a35
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 0x451a35
cmp eax, 0x103
jae 0x451a35
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x4a01d8
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 0x451a70
cmp eax, 0x103
jae 0x451a70
lea edx, [esp + 8]
mov word [esp + 0x210], 0
push edx
push 0x4a01d8
push esi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
pop edi
pop esi
add esp, 0x20c
ret 4
Function at 0x455670
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x486a1b
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], 0x490988
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 0x4556e8
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.0044e870
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.0040b9c0
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.0047fb28
lea ecx, [esi + 0x220]
mov byte [esp + 0x1c], 7
call fcn.0047fb28
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.0047fb28
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi], 0x48acdc
call fcn.0047f8e8
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret