Function at 0x401f10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564541
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5c6fc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0
push 0x66
mov dword [ebp - 0x228], esi
call fcn.00418eaf
mov dword [ebp - 4], 0
lea eax, [esi + 0xa8]
mov dword [ebp - 0x220], eax
mov dword [eax], vtable.CTimer.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 1
mov dword [0x5cfc38], 0
mov byte [ebp - 4], 2
mov dword [esi + 0xb8], vtable.CMessageInterface.0
mov byte [ebp - 4], 3
lea edi, [esi + 0xbc]
mov dword [esi], vtable.CDlgBase.2.0
mov dword [eax], vtable.CDlgBase.1.0
mov dword [esi + 0xb8], vtable.CDlgBase.0
mov dword [ebp - 0x224], edi
call fcn.00419f95
mov ecx, eax
test ecx, ecx
je 0x4022a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
lea eax, [esi + 0xd4]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [ebp - 0x224], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 6
mov dword [eax], vtable.CRgn.0
mov byte [ebp - 4], 7
lea eax, [esi + 0xe0]
mov dword [ebp - 0x220], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 8
mov dword [eax], vtable.CFont.0
mov byte [ebp - 4], 9
lea eax, [esi + 0xec]
mov dword [ebp - 0x21c], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xa
mov dword [eax], vtable.CBitmap.0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0xfc]
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
call fcn.0041acbb
mov byte [ebp - 4], 0xc
lea eax, [esi + 0x110]
mov dword [ebp - 0x22c], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xd
mov dword [eax], vtable.CBitmap.0
mov byte [ebp - 4], 0xe
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov byte [ebp - 4], 0xf
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov byte [ebp - 4], 0x11
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov byte [ebp - 4], 0x12
call fcn.0041c89b
call fcn.0041c89b
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xcc], 0x2bc
mov dword [esi + 0xd0], 0x15e
mov dword [esi + 0xc8], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [esi + 0xc0], 0
push eax
push 0
mov dword [esi + 0x11c], 3
mov dword [esi + 0x120], 3
mov dword [esi + 0x124], 0x64
mov dword [esi + 0x128], 0x64
mov dword [esi + 0xf4], 0x64
mov dword [esi + 0xf8], 0x64
mov dword [esi + 0x130], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0xdc], 0xefe2ba
mov dword [esi + 0x118], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40227d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00548fef
add esp, 8
test eax, eax
je 0x40224c
xor ecx, ecx
mov word [eax + 2], cx
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402255
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00406560
mov dword [esi + 0xc4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005478fb
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00406f20
int3