Function at 0x416a30
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, 1
push ebp
mov esi, ecx
call fcn.0041a300
mov ecx, esi
call fcn.00417f10
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0xcc], ebx
call fcn.00422e80
shr eax, 0x12
and eax, ebp
mov dword [esi + 0x164], eax
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x416b3a
cmp dword [eax + 0x10], ebx
je 0x416b3a
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
mov dword [esi + 0x168], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [esi + 0x16c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [esi + 0x170], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
mov dword [esi + 0x174], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x30]
mov dword [esi + 0x144], edx
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x20], 0x7fffffff
je 0x416ac9
mov edx, ecx
mov ecx, dword [edx + 0x20]
mov dword [esi + 0x178], ecx
cmp dword [esi + 0x178], 0xffffffff
jne 0x416adc
mov dword [esi + 0x178], 0x2710
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, 0x7fffffff
je 0x416af0
mov dword [esi + 0x134], ecx
lea ecx, [eax + 0x4c]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x18]
mov dword [esi + 0x18c], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x188], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esi + 0x194], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x1c]
mov dword [esi + 0x190], ecx
mov edx, dword [eax + 0x10]
add edx, 0x44
push edx
lea eax, [esi + 0x1a0]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, esi
call fcn.00416590
mov ecx, esi
call fcn.00415490
mov ecx, esi
call fcn.00422e80
mov edi, eax
mov dword [esp + 0x10], edi
test edi, 0xc00000
je 0x416bb6
push ebx
push ebx
push 0xc0008c
mov ecx, esi
mov dword [esi + 0x198], ebp
call fcn.00423360
push ebx
push ebx
push ebp
mov ecx, esi
call fcn.00423380
push ebx
push ebx
push 0x100
mov ecx, esi
call fcn.00423380
mov ecx, esi
mov dword [esi + 0x198], ebx
mov dword [esi + 0x13c], ebp
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetMenu]
cmp eax, ebx
je 0x416baf
push eax
mov ecx, esi
call fcn.004153f0
mov ecx, esi
call fcn.00415860
mov ebx, dword [sym.imp.USER32.dll_SetPropA]
mov ebp, dword [sym.imp.USER32.dll_GetPropA]
test edi, 0x80000
je 0x416c6c
cmp dword [esi + 0x13c], 0
je 0x416c6c
push 0xffdc
mov ecx, esi
call fcn.00422e20
push eax
mov ecx, esi
call fcn.00415570
push 0
push 0
push 0x10000
push eax
mov dword [esi + 0x148], eax
call fcn.00422ee0
mov ecx, dword [esi + 0x148]
add esp, 0x10
push str.close
push ecx
mov ecx, esi
call fcn.004168a0
push 0
push 0xf060
push 0
mov ecx, esi
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 1
je 0x416c4b
mov edx, dword [esi + 0x148]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [esi + 0x148]
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebp
test eax, eax
jne 0x416c6c
push edi
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebx
mov dword [esi + 0x158], edi
test dword [esp + 0x10], 0x10000
je 0x416ced
push 0xffdd
mov ecx, esi
call fcn.00422e20
push eax
mov ecx, esi
call fcn.00415570
push 0
push 0
push 0x10000
push eax
mov dword [esi + 0x14c], eax
call fcn.00422ee0
mov eax, dword [esi + 0x14c]
add esp, 0x10
push str.maximise
push eax
mov ecx, esi
call fcn.004168a0
mov edi, dword [esi + 0x14c]
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebp
test eax, eax
jne 0x416cd6
push edi
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebx
mov dword [esi + 0x160], edi
test dword [esp + 0x10], 0x1000000
mov ecx, esi
je 0x416ce6
push 0
jmp 0x416ce8
push 1
call fcn.004155c0
test dword [esp + 0x10], 0x20000
je 0x416d57
push 0xffde
mov ecx, esi
call fcn.00422e20
push eax
mov ecx, esi
call fcn.00415570
push 0
push 0
push 0x10000
push eax
mov dword [esi + 0x150], eax
call fcn.00422ee0
mov ecx, dword [esi + 0x150]
add esp, 0x10
push str.minimise
push ecx
mov ecx, esi
call fcn.004168a0
mov edi, dword [esi + 0x150]
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebp
test eax, eax
jne 0x416d57
push edi
push str.2008_dskin_set_this_hwnd_no_skin
push edi
call ebx
mov dword [esi + 0x15c], edi
test dword [esp + 0x10], 0x40000
mov eax, 1
mov dword [esi + 0x19c], eax
je 0x416d72
mov dword [esi + 0x164], eax
cmp dword [esi + 0x13c], 0
je 0x416d9a
push 0
push 0
mov ecx, esi
call fcn.00416170
push esi
push 0x4158d0
mov ecx, esi
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [esi + 0x140], 0
pop edi
je 0x416db1
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00415f00
pop esi
pop ebp
pop ebx
pop ecx
ret