Function at 0x4195d0
Capabilities:
Get graphical window text
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446634
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
push 1
push edi
lea esi, [ebp + 0x60]
push 9
push 0x10
push 0x10
mov ecx, esi
call sub.mfc42.dll_CImageList::Create
mov eax, dword [ebp + 0x388]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push 0x21
push edi
push 0x1036
push eax
call ebx
cmp esi, edi
jne 0x419625
xor esi, esi
jmp 0x419628
mov esi, dword [esi + 4]
mov ecx, dword [ebp + 0x388]
push esi
push 1
push 0x1003
push ecx
call ebx
push eax
call sub.mfc42.dll_CImageList::FromHandle
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xa0
mov dword [esp + 0x40], edi
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], edi
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4567ac
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x174], 1
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 3
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 1
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x388]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x101b
push eax
call ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x46
mov dword [esp + 0x40], 1
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 4
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4567a0
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 5
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 7
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 5
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x388]
lea edx, [esp + 0x2c]
push edx
push 1
push 0x101b
push eax
call ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x8c
mov dword [esp + 0x40], 2
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 8
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x456794
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 9
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0xb
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 9
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 8
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x388]
lea edx, [esp + 0x2c]
push edx
push 2
push 0x101b
push eax
call ebx
call sub.mfc42.dll_AfxGetModuleState
push 0xa9
push 0xe
push 0xa9
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call dword [sym.imp.user32.dll_LoadIconA]
mov ecx, dword [ebp + 0x6c]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.comctl32.dll_ImageList_ReplaceIcon]
lea eax, [ebp + 0x68]
xor esi, esi
cmp eax, esi
jne 0x419987
xor eax, eax
jmp 0x41998a
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0x348]
push eax
push 1
push 0x1003
push edx
call ebx
push eax
call sub.mfc42.dll_CImageList::FromHandle
mov eax, dword [ebp + 0x348]
push 0x21
push esi
push 0x1036
push eax
call ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xc8
mov dword [esp + 0x40], esi
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0xc
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 0xd
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x456788
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0xd
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0xf
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0xd
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 0xc
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x348]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x101b
push eax
call ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x40], 1
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0x10
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 0x11
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x45677c
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0x11
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0x13
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0x11
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x348]
lea edx, [esp + 0x2c]
push edx
push 1
push 0x101b
push eax
call ebx
mov eax, 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x40], eax
call fcn.0040cd50
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0x14
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 0x15
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x456770
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 0x16
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0x15
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0x17
call fcn.00442aa6
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0x15
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 0x14
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x348]
lea edx, [esp + 0x2c]
push edx
push 2
push 0x101b
push eax
call ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x40], 3
call fcn.0040cd50
lea ecx, [esp + 0x4c]
mov dword [esp + 0x168], 0x18
call fcn.00442a9a
push ecx
mov byte [esp + 0x16c], 0x19
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x456764
call sub.mfc42.dll_CString::CString_2
push ecx
mov byte [esp + 0x170], 0x1a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x454fec
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x58]
mov byte [esp + 0x170], 0x19
push ecx
lea ecx, [esp + 0x60]
call fcn.0040ce40
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x16c], 0x1b
call fcn.00442aa6
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 0x19
call sub.mfc42.dll_CString::CString
mov edi, dword [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xe0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x168], 0x18
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x4c]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040cd90
mov eax, dword [ebp + 0x348]
lea edx, [esp + 0x2c]
push edx
push 3
push 0x101b
push eax
call ebx
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret