Function at 0x401807
Capabilities:
Inspect load icon resource

Disassembly:
jmp 0x41ba30
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425db8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 2
push 5
push 0x19
lea ebp, [esi + 0x60]
push 0x20
push 0x20
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
call sub.MFC42.DLL_AfxGetModuleState
push 0x9f
push 0xe
push 0x9f
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov ecx, dword [esi + 0x64]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xa0
push 0xe
push 0xa0
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push edx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb2
push 0xe
push 0xb2
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [esi + 0x64]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb5
push 0xe
push 0xb5
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb3
push 0xe
push 0xb3
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push edx
call ebx
test ebp, ebp
jne 0x41bb33
xor eax, eax
jmp 0x41bb36
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esi + 0x88]
push 0
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Detach
push 2
push 5
push 0x19
push 0x10
push 0x10
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esi + 0x64]
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
call sub.MFC42.DLL_AfxGetModuleState
push 0xa1
push 0xe
push 0xa1
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push edx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xa2
push 0xe
push 0xa2
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [esi + 0x64]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb2
push 0xe
push 0xb2
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb4
push 0xe
push 0xb4
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push edx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xb6
push 0xe
push 0xb6
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [esi + 0x64]
push 0xffffffffffffffff
push eax
call ebx
test ebp, ebp
jne 0x41bc2e
xor eax, eax
jmp 0x41bc31
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x88]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x1003
push ecx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
test ebp, ebp
jne 0x41bc56
xor eax, eax
jmp 0x41bc59
mov eax, dword [ebp + 4]
mov edx, dword [esi + 0x88]
push eax
push 2
push 0x1003
push edx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Detach
mov eax, dword [esi + 0x88]
push 0x421
push 0
push 0x1036
push eax
call edi
push 0x433488
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
push ecx
lea ecx, [esi + 0x68]
call fcn.0040114f
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00421f80
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x433900
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.004012b2
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret