joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x148]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x40cb26
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x144]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x154]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x40cad2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x148]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x148]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x144]
sub ecx, edi
test edx, edx
je 0x40cb47
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0044aa1a
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40e7d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44c4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0044a738
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40e856
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x40e856
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40ed70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44c558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push 0x20006
push 0
push ecx
push 0x80000002
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40edd6
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.0044a6f6
mov ecx, esi
call fcn.0040ee70
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40ee35
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x40f390
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44c65f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov dword [esp + 0xc], 0
mov ebx, 1
lea ecx, [esp + 8]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov byte [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f410
push str.Error
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0xc], ebx
jmp 0x40f4bf
push 0x1f4
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x38]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40f461
push str.Error
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 8]
push ecx
jmp 0x40f4b0
call sub.MFC42.DLL_AfxGetEmptyString
mov edx, dword [eax]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x30]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 8]
push edx
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x40f4f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x44c6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], ebx
call sub.MFC42.DLL_CString::CString_3
push str.Error
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 2
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40f579
mov esi, dword [esp + 0xb8]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0xc], ebx
jmp 0x40f5dd
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x40f5ad
push 0x4642e0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
cmp dword [esp + 0x18], 5
jb 0x40f5c6
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40f5a6
push 0x4642e0
jmp 0x40f5bd
push 0x4642dc
jmp 0x40f5bd
cmp eax, ebx
jne 0x40f5b8
push 0x4642d8
jmp 0x40f5bd
push 0x4642d4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0xb8]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0xb0], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 4
Function at 0x40faa0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x44c75f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push 0xa
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0xc
push 0
push 0x4642f8
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push 0xa
push ecx
push edx
mov byte [esp + 0x38], 2
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
push 8
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0x14], 1
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x40fcb0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44c7a8
push eax
mov dword fs:[0], esp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40fd09
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x40fd41
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 8
Function at 0x40fdc0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x314
mov eax, 0x100
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
push 0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40febe
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push 0xf003f
push eax
push str.htmlfile_shellopencommand
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40feaa
push ebx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x120]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x230]
push eax
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 5
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x328]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop ebx
jmp 0x40febe
mov ecx, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
lea ecx, [esp + 0x31c]
call sub.MFC42.DLL_CString::CString
pop esi
add esp, 0x314
ret 4
Function at 0x40ffa0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44c813
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push esi
xor esi, esi
push 0x4820b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_2
push esi
push 2
mov byte [esp + 0x2dc], 1
mov dword [esp + 0x14], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
cmp eax, esi
je 0x4100ca
push ebp
push edi
lea ebp, [esp + 0x144]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
push 0x464298
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [ebp], eax
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
mov edx, dword [esp + 0x2e4]
mov edi, eax
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x410063
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
inc esi
add ebp, 4
test edi, edi
jne 0x410012
mov eax, dword [esp + 0x18]
pop edi
test eax, eax
pop ebp
je 0x4100ca
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + ecx*4 + 0x13c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4100ca
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 8]
mov byte [esp + 0x2d4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4100f4
lea ecx, [esp + 8]
mov byte [esp + 0x2d4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x2cc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret 4
Function at 0x410140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c847
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x2c]
mov ebx, 1
mov dword [esp + 0x20], ebx
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4102d6
push 0x4820b4
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4102d6
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
mov eax, dword [eax - 8]
lea esi, [eax + 1]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esi + esi*2 - 2]
mov edi, eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
test eax, eax
je 0x410285
mov esi, eax
mov al, byte [edi]
test al, al
je 0x410277
mov ebx, dword [sym.imp.MSVCRT.dll_isspace]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_isalnum]
xor edx, edx
mov dl, byte [edi]
push edx
call ebp
add esp, 4
test eax, eax
je 0x4101f7
mov al, byte [edi]
jmp 0x410262
xor ecx, ecx
mov cl, byte [edi]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x41020a
mov byte [esi], 0x2b
jmp 0x410264
mov byte [esi], 0x25
mov al, byte [edi]
shr al, 4
inc esi
mov byte [esp + 0x14], al
cmp al, 9
mov eax, dword [esp + 0x14]
jbe 0x410229
and eax, 0xff
add eax, 0x37
jmp 0x410231
and eax, 0xff
add eax, 0x30
mov byte [esi], al
xor eax, eax
mov al, byte [edi]
inc esi
and eax, 0x8000000f
jns 0x410244
dec eax
or eax, 0xfffffff0
inc eax
mov byte [esp + 0x18], al
cmp al, 9
mov eax, dword [esp + 0x18]
jbe 0x41025a
and eax, 0xff
add eax, 0x37
jmp 0x410262
and eax, 0xff
add eax, 0x30
mov byte [esi], al
mov al, byte [edi + 1]
inc esi
inc edi
test al, al
jne 0x4101e5
mov ebx, 1
pop ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov byte [esi], 0
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0044a6f6
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0044a6f6
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x41ca50
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x472fdc
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0041cbd0
mov eax, dword [esi + 0x68]
mov dword [esi + 0x78], 0
test eax, eax
je 0x41ca83
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0041ca90
pop esi
pop ecx
ret
Function at 0x422820
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [esi + 0xa0]
test esi, esi
je 0x422842
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret
Function at 0x422ff0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x44f938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 0
call fcn.0044a6f6
mov ecx, edi
call fcn.00422850
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x42306b
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x12c]
push ecx
push 0
push 0x180
push edx
call esi
mov eax, dword [esp + 0x30]
lea ebp, [edi + 0x23c]
push eax
mov ecx, ebp
call fcn.004030e0
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00402200
push str.SoftwareMicrosoftWindowsCurrentVersion66656_StartCity_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [edi + 0xc4]
push str.SoftwareMicrosoftWindowsCurrentVersion66656_StartCity_
call fcn.0040fd80
mov edx, dword [edi + 0x12c]
push 0
push 0
push 0x18b
push edx
call esi
lea ecx, [esp + 0x18]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
mov byte [esp + 0x28], 3
test ebp, ebp
jle 0x423159
lea ebx, [edi + 0x10c]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push esi
call sub.MFC42.DLL_CListBox::GetText
push esi
lea ecx, [esp + 0x18]
push 0x464408
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
cmp ecx, 1
jle 0x423112
lea edx, [esp + 0x14]
push 0x474d04
push edx
jmp 0x42311c
lea eax, [esp + 0x14]
push str.10_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0044a6f6
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.004231d0
mov ecx, dword [edi + 0xc4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion66656_StartCity_
call fcn.0040ed70
inc esi
cmp esi, ebp
jl 0x4230d9
lea esi, [edi + 0x23c]
mov ecx, esi
call fcn.00403110
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, edi
call fcn.004229f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x4231e0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x44f970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 0
call fcn.0044a6f6
mov ecx, edi
call fcn.00422920
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x42325b
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0xec]
push ecx
push 0
push 0x180
push edx
call ebp
mov eax, dword [esp + 0x30]
lea esi, [edi + 0x760]
push eax
mov ecx, esi
call fcn.004030e0
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00402200
push str.SoftwareMicrosoftWindowsCurrentVersion66656_EndCity_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [edi + 0xc4]
push str.SoftwareMicrosoftWindowsCurrentVersion66656_EndCity_
call fcn.0040fd80
mov edx, dword [edi + 0xec]
push 0
push 0
push 0x18b
push edx
call ebp
lea ecx, [esp + 0x18]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
mov byte [esp + 0x28], 3
test ebp, ebp
jle 0x423344
lea ebx, [edi + 0xcc]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push esi
call sub.MFC42.DLL_CListBox::GetText
push esi
lea ecx, [esp + 0x18]
push 0x464408
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
cmp ecx, 1
jle 0x423302
lea edx, [esp + 0x14]
push 0x474d04
push edx
jmp 0x42330c
lea eax, [esp + 0x14]
push str.10_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0044a6f6
lea ecx, [esp + 0x14]
call fcn.004231d0
mov ecx, dword [edi + 0xc4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion66656_EndCity_
call fcn.0040ed70
inc esi
cmp esi, ebp
jl 0x4232c9
lea esi, [edi + 0x760]
mov ecx, esi
call fcn.00403110
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, edi
call fcn.00422cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4