Function at 0x403580
Capabilities:
Inspect load icon resource

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1dab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x14]
push 0x6b
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
lea eax, [esi + 0x38]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x80
push dword [eax]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x18]
push edi
push 0
push 0x80
push dword [eax]
call esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x403643
push 0x11c
call fcn.0048784a
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00416b10
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040e350
mov eax, dword [esi + 0x64]
push eax
mov ecx, esi
call fcn.0040e350
xorps xmm0, xmm0
push 0x130
movups xmmword [esi + 0xb8], xmm0
call fcn.0048784a
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push 0x130
push 0
push edi
mov dword [ebp - 4], 1
call fcn.00489ec0
add esp, 0xc
mov ecx, edi
call fcn.00416b10
mov dword [edi], vtable.CXDockPanel.0
xorps xmm0, xmm0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
movups xmmword [edi + 0x11c], xmm0
mov dword [edi + 0x12c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x118], edi
je 0x4036f2
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x118]
mov dword [esi + 0x118], edi
test eax, eax
je 0x4036f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x118]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x118]
mov dword [eax + 0xa4], 4
mov eax, dword [esi + 0x118]
mov dword [eax + 0xb0], 2
cmp dword [esi + 0x118], 0
je 0x403867
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x40373f
mov eax, dword [ecx]
push 0
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x11c]
test ecx, ecx
jne 0x40385d
push 0x14c
call fcn.0048784a
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push 0x14c
push 0
push edi
mov dword [ebp - 4], 2
call fcn.00489ec0
add esp, 0xc
mov ecx, edi
call fcn.00416b10
mov dword [edi + 0x11c], 0
xorps xmm0, xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
movups xmmword [edi + 0x11c], xmm0
mov dword [edi + 0x12c], 0
mov dword [edi], vtable.CPageHome.0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x134], edi
mov dword [edi + method.TXEventObserver_class_CPageHome__class_IEventObserver_.virtual_0], vtable.TXEventObserverObj_class_CPageHome_.0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x138], 0x406350
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x11c], edi
je 0x403836
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x11c], edi
test eax, eax
je 0x403836
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x11c]
push dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x11c]
mov dword [eax + 0xa4], 4
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
push ecx
lea ecx, [esi + 0x38]
call fcn.004040f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10