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

Disassembly:
push 0xffffffffffffffff
push 0x5789a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov dword [esp + 0x10], 0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_5
lea eax, [esp + 6]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_AfxParseURL
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
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 ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x441740
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push 0
push 0x5e36fc
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [esp + 0x214]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
add esp, 0x20c
ret
Function at 0x443380
Capabilities:
Access peb ldr_data
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x578cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CFileFind::FindFile
xor esi, esi
test eax, eax
je 0x4433e4
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [edx + 0x40]
test eax, eax
je 0x4433e4
mov esi, 1
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::Close
test esi, esi
jne 0x443405
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x443405
mov esi, 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44341d
test esi, esi
jne 0x44341d
mov ecx, dword [esp + 0x30]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.00572f64
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x443450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44346a
test al, 0x10
je 0x44346a
mov eax, 1
ret
xor eax, eax
ret
Function at 0x443d50
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x443e3d
lea ecx, [esp + 0xc]
push ecx
push str..htm
push SysReAllocString
call fcn.00443e50
add esp, 0xc
test eax, eax
jne 0x443e3d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc]
push eax
push ecx
push SysReAllocString
call fcn.00443e50
add esp, 0xc
test eax, eax
jne 0x443e3d
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__mbsstr]
lea edx, [esp + 0x10]
push str.__1_
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x443e10
lea eax, [esp + 0x10]
push 0x5e3904
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x443e10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x443e13
mov byte [esi], 0
push 0x5e34fc
push esi
call edi
mov edx, dword [esp + 0x21c]
push edx
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x208
ret

Function at 0x443e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x443eb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x4461b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0xc0]
lea edx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xc0]
push eax
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.00445ae0
add esp, 0x18
mov dword [esp + 0x18], 0x5e43d0
test ax, ax
mov dword [esp + 0x1c], 0x5e43c8
mov dword [esp + 0x20], 0x5e43c0
mov dword [esp + 0x24], 0x5e43b8
mov dword [esp + 0x28], 0x5e43b0
mov dword [esp + 0x2c], 0x5e43a8
mov dword [esp + 0x30], 0x5e43a0
mov dword [esp + 0x34], 0x5e4398
mov dword [esp + 0x38], 0x5e4390
mov dword [esp + 0x3c], 0x5e4388
mov dword [esp + 0x40], 0x5e4380
mov dword [esp + 0x44], 0x5e4378
mov dword [esp + 0x48], 0x5e4370
mov dword [esp + 0x4c], 0x5e4368
mov dword [esp + 0x50], 0x5e4360
mov dword [esp + 0x54], 0x5e4358
mov dword [esp + 0x58], 0x5e4350
mov dword [esp + 0x5c], 0x5e4348
mov dword [esp + 0x60], 0x5e4340
mov dword [esp + 0x64], 0x5e4338
mov dword [esp + 0x68], 0x5e4330
mov dword [esp + 0x6c], 0x5e4328
mov dword [esp + 0x70], 0x5e4320
mov dword [esp + 0x74], 0x5e4318
je 0x4462f2
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0xb0]
and eax, 0xffff
mov dword [ecx], 1
mov ecx, esi
mov edx, dword [esp + eax*4 + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_3
jmp 0x4463b9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00445840
add esp, 8
lea edx, [esp + 0x78]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov dword [esp + 0xa8], 1
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 4]
push 0x5e4310
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x446380
mov edx, dword [esp + 8]
lea ecx, [esp + 0x8c]
push 1
push ecx
push edx
call fcn.00445760
add esp, 0xc
lea eax, [esp + 0x8c]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0xb0]
lea edx, [esp + 4]
mov dword [ecx], 0
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 4]
mov dword [esp + 0xc], 1
mov byte [esp + 0xa8], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xa0]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x448b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5798ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x10]
push str._04d_02d_02d
push eax
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x448be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579947
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x14], esi
push 0x5e34fc
push 0x5df234
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::Replace
push 0x5e34fc
push 0x5e1dc0
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Replace
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, 2
mov eax, dword [ecx - 8]
mov byte [esp + 0x20], bl
cmp eax, edi
jle 0x448cec
push 0x5f3788
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
add edi, 0xfffffffe
cmp edi, esi
jle 0x448cde
mov edx, dword [esp + 0x2c]
mov al, byte [esi + edx]
cmp al, 0xa1
jae 0x448cac
cmp al, 0xd
je 0x448cac
push 1
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00572d2a
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
jmp 0x448cd9
push ebx
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00572d2a
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
inc esi
inc esi
cmp esi, edi
jl 0x448c6e
push 0x5e4530
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4496f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._d__s__d__s__s__d
push eax
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x3c]
add esp, 0x20
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c

Function at 0x4499d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579a7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._04d_02d_02d_02d:_02d:_02d
push eax
mov dword [esp + 0x34], 1
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x3c]
add esp, 0x20
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c
Function at 0x44d878
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57a3d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.00448b50
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push eax
lea ecx, [esi + 0xd2c]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CMapStringToString::Lookup
lea ecx, [esp + 0x28]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x1c]
lea edx, [esp + 4]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x44ec20
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
xor ebp, ebp
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x44ecbb
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x44ecaa
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov ebp, dword [esi]
sub eax, edx
sub ecx, ebp
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
test ebp, ebp
je 0x44eca2
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push 0xcc0020
push eax
sub edx, eax
mov eax, dword [esi + 8]
push ecx
push ebx
sub eax, ecx
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebp
pop edi
pop ebp
pop ebx
ret 4
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x45d6c6
Capabilities:
Check os version

Disassembly:
mov ecx, 0x5f38b0
jmp 0x45d6c0
sub esp, 0x94
push esi
mov esi, ecx
call fcn.0045d7e0
mov ecx, esi
call fcn.0045d720
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x45d708
cmp dword [esp + 8], 5
jae 0x45d708
mov eax, 1
mov dword [esi + 0x70], eax
mov eax, esi
pop esi
add esp, 0x94
ret
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x4645c0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x2f94]
xor eax, eax
xor ecx, ecx
lea edx, [esi + 0x18]
cmp dword [edx], edi
je 0x4645eb
inc ecx
add edx, 0x54
cmp ecx, 0x90
jl 0x4645d9
jmp 0x4645ed
mov eax, ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffffd
cmp ecx, 0x25
ja case.0x464605.10
xor edx, edx
mov dl, byte [ecx + 0x4647cc]
jmp dword [edx*4 + 0x4647ac]
test eax, eax
jne 0x464617
mov eax, 0x8f
jmp 0x46461a
jl 0x46461a
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 0x18]
push ecx
mov ecx, esi
lea edi, [esi + eax*4 + 0x18]
call fcn.00462f70
mov eax, dword [esi + 0x2f98]
mov edx, dword [edi]
push 0
push edx
mov ecx, dword [eax + 0x20]
push 0x4dc
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
cmp eax, 0x8f
jne 0x464660
xor eax, eax
jmp 0x464663
jge 0x464663
inc eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx*2]
mov ecx, esi
mov eax, dword [esi + edx*4 + 0x18]
lea edi, [esi + edx*4 + 0x18]
push eax
call fcn.00462f70
mov edx, dword [esi + 0x2f98]
mov ecx, dword [edi]
push 0
push ecx
mov eax, dword [edx + 0x20]
push 0x4dc
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
cmp eax, 0x8f
jne 0x4646a9
xor eax, eax
jmp 0x4646ac
jge 0x4646ac
inc eax
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
mov edx, dword [esi + ecx*4 + 0x18]
lea edi, [esi + ecx*4 + 0x18]
push edx
mov ecx, esi
call fcn.00462f70
mov ecx, dword [esi + 0x2f98]
mov eax, dword [edi]
push 0
push eax
mov edx, dword [ecx + 0x20]
push 0x4dc
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
test eax, eax
jne 0x4646f2
mov eax, 0x8f
jmp 0x4646f5
jl 0x4646f5
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 0x18]
push ecx
mov ecx, esi
lea edi, [esi + eax*4 + 0x18]
call fcn.00462f70
mov eax, dword [esi + 0x2f98]
mov edx, dword [edi]
push 0
push edx
mov ecx, dword [eax + 0x20]
push 0x4dc
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f9c]
test eax, eax
je case.0x464605.10
mov edx, dword [esi]
push 0
push edi
mov ecx, esi
call dword [edx + 0x30]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f9c]
test eax, eax
je case.0x464605.10
mov eax, dword [esi]
push 0
push edi
mov ecx, esi
call dword [eax + 0x34]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f98]
test eax, eax
je case.0x464605.10
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, dword [esi + 0x2f98]
test esi, esi
je 0x464789
mov esi, dword [esi + 0x20]
mov edx, dword [eax + 0x20]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je case.0x464605.10
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
pop edi
pop esi
ret 0xc
Function at 0x466a20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x466a82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x46a800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
call fcn.004689e0
mov esi, dword [esp + 0x28]
mov ecx, edi
xor ebp, ebp
call fcn.00467b70
test al, al
je 0x46a82d
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
jmp 0x46a834
mov edx, dword [edi + 0x70]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x46a87f
mov eax, dword [esp + 0x38]
push 3
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.00469ed0
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xdc]
mov eax, dword [eax + 4]
add eax, ecx
add esi, eax
dec edx
cmp ebx, edx
jne 0x46a876
mov eax, dword [esp + 0x28]
mov ebp, esi
sub ebp, eax
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x46a83e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
push 1
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
add esi, ebx
call fcn.00469ed0
mov ebx, dword [eax]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
call fcn.00467b70
test al, al
je 0x46a914
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add ecx, esi
add ebx, eax
push ecx
push ebx
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [edi + 0x74]
mov ebx, dword [esi]
mov ecx, dword [esi + 8]
add edx, 2
add ebx, edx
mov dword [esi], ebx
mov eax, dword [edi + 0x74]
mov ebx, dword [esi + 4]
add eax, 2
add ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x78]
sub ebx, ecx
mov dword [esi + 4], ebx
mov edx, dword [edi + 0x78]
mov edi, dword [esi + 0xc]
mov ecx, ebx
sub edi, edx
sub ecx, ebp
mov eax, edi
mov dword [esi + 0xc], edi
sub eax, ebp
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add edx, esi
push edx
lea edx, [eax + ebx]
add edx, ecx
add eax, ecx
push edx
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esi + 4]
mov eax, 0xfffffffd
sub eax, ebp
mov ecx, 0xfffffffe
add edi, eax
mov eax, dword [esi + 0xc]
sub ecx, ebp
mov dword [esi + 4], edi
add eax, ecx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
Function at 0x46cd30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57cdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x46cdda
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
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 sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x46cdc1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x46cdc1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], 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
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46d840
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57cf38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x46d8ea
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
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 sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x46d8d1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x46d8d1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x74], 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
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret