Function at 0x41ad80
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x427c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
push 0x9a
push 0xe
push 0x9a
mov byte [esp + 0x2c], 1
mov dword [esi + 0x48], 0
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
push 0xc8
push 0xe
push 0xc8
mov dword [esi + 0x4c], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push 0x162
push 0xe
push 0x162
mov dword [esi + 0x54], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push 0x163
push 0xe
push 0x163
mov dword [esi + 0x58], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push 0xe1
push 0xc
push 0xe1
mov dword [esi + 0x50], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, 0x432618
mov dword [esi + 0x44], eax
call fcn.00422680
test eax, eax
mov dword [esi + 0x68], eax
jne 0x41ae7e
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x77
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x41ae7e
push 0x1f4
call ebp
mov ecx, 0x432618
call fcn.00422680
mov dword [esi + 0x68], eax
mov eax, edi
dec edi
test eax, eax
jne 0x41ae5c
mov ecx, 0x432618
call fcn.00422780
mov ecx, dword [eax + 0x40]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x41aea9
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x41b1cc
mov eax, 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x68], eax
mov ecx, esi
call fcn.0041bbc0
lea edi, [esi + 0xb8]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, edi
call sub.MFC42.DLL_CMenu::Attach
mov eax, dword [esi + 0x5c]
push 0
test eax, eax
push 0xdd
jne 0x41aee5
push 0x8012
mov ecx, edi
call fcn.00418860
push 1
push 0xde
push 0x8016
mov ecx, edi
call fcn.00418860
mov ecx, dword [esi + 0xbc]
mov ebp, dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push 0x800
push ecx
call ebp
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x41af5b
push 0
push 0
mov ecx, esi
call fcn.0041cde0
test eax, eax
je 0x41af5b
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x48]
test eax, eax
je 0x41af3d
push 2
push 0xdf
push 0x8019
mov ecx, edi
call fcn.00418860
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x41af5b
push 8
push 0xff
push 0x801a
mov ecx, edi
call fcn.00418860
push 0
push 0
mov ecx, esi
call fcn.0041cca0
test eax, eax
je 0x41af7d
push 3
push 0xe0
push 0x8018
mov ecx, edi
call fcn.00418860
push 0
push 0
mov ecx, esi
call fcn.0041cc00
test eax, eax
je 0x41af9f
push 4
push 0xe1
push 0x8017
mov ecx, edi
call fcn.00418860
mov ecx, dword [esi + 0xbc]
push 0
push 0
push 0x800
push ecx
call ebp
push 0
push 0
mov ecx, esi
call fcn.0041cfc0
test eax, eax
je 0x41afd3
push 5
push 0xe2
push 0x801b
mov ecx, edi
call fcn.00418860
push 6
push 0xe3
push 0x8014
mov ecx, edi
call fcn.00418860
mov edx, dword [esi + 0xbc]
push 0
push 0
push 0x800
push edx
call ebp
push 7
push 0xe4
push 0x8013
mov ecx, edi
call fcn.00418860
push 0xf6
lea ecx, [esi + 0xe0]
call fcn.0040e560
push 0xffff00
push 0x150
mov ecx, edi
mov dword [edi + 0x10], 0xffffff
mov dword [edi + 0x14], 0xff0000
mov dword [edi + 0xc], 0x10
call fcn.00418800
lea edi, [esi + 0x138]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, edi
call sub.MFC42.DLL_CMenu::Attach
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41b065
push 0
push 0xdd
jmp 0x41b06c
push 1
push 0xde
push 0x8016
mov ecx, edi
call fcn.00418860
mov eax, dword [esi + 0x13c]
push 0
push 0
push 0x800
push eax
call ebp
push 0
push 0
mov ecx, esi
call fcn.0041cfc0
test eax, eax
je 0x41b0ac
push 5
push 0xe2
push 0x801b
mov ecx, edi
call fcn.00418860
push 6
push 0xe3
push 0x8014
mov ecx, edi
call fcn.00418860
mov ecx, dword [esi + 0x13c]
push 0
push 0
push 0x800
push ecx
call ebp
push 7
push 0xe4
push 0x8013
mov ecx, edi
call fcn.00418860
push 0xf6
lea ecx, [esi + 0x160]
call fcn.0040e560
push 0xffff00
push 0x150
mov ecx, edi
mov dword [edi + 0x10], 0xffffff
mov dword [edi + 0x14], 0xff0000
mov dword [edi + 0xc], 0x10
call fcn.00418800
mov edx, dword [0x4326dc]
mov eax, edx
mov dword [esi + 0x60], edx
test eax, eax
je 0x41b140
push 0
mov ecx, esi
call fcn.0041b2d0
push 1
mov ecx, 0x432618
call fcn.004222c0
jmp 0x41b179
push 1
push 0x42b4fc
push 0x42b4f0
mov ecx, 0x432618
call sub.MFC42.DLL_CWinApp::GetProfileIntA
test eax, eax
mov dword [esi + 0x60], eax
je 0x41b172
push 1
mov ecx, 0x432618
call fcn.004222c0
push 0
mov ecx, esi
call fcn.0041b2d0
mov ecx, esi
call fcn.0041b200
mov ecx, esi
call fcn.0041c650
mov eax, dword [esi + 0x20]
push 0
push 0x2710
push 0x5129
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.00424f94
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.00424f94
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.00424f94
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.00424f94
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret