Function at 0x405520
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4beced
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef6a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
xor ebx, ebx
push ebx
push 0x66
mov ecx, edi
call fcn.004799d7
mov dword [esp + 0x2c], ebx
mov dword [edi], vtable.CISSDlg.0
lea esi, [edi + 0xbc]
mov ecx, esi
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x110]
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x164]
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x1b8]
mov ecx, esi
mov byte [esp + 0x2c], 3
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x20c]
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x260]
mov ecx, esi
mov byte [esp + 0x2c], 5
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x2b4]
mov ecx, esi
mov byte [esp + 0x2c], 6
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x308]
mov ecx, esi
mov byte [esp + 0x2c], 7
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x35c]
mov ecx, esi
mov byte [esp + 0x2c], 8
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x3b0]
mov ecx, esi
mov byte [esp + 0x2c], 9
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x404]
mov ecx, esi
mov byte [esp + 0x2c], 0xa
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
mov dword [edi + 0x458], 0x4d0010
mov dword [edi + 0x45c], ebx
mov dword [edi + 0x468], ebx
mov dword [edi + 0x464], ebx
mov dword [edi + 0x460], ebx
lea esi, [edi + 0x474]
mov ecx, esi
mov byte [esp + 0x2c], 0xc
call fcn.0047eff1
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x4c8]
mov ecx, esi
mov byte [esp + 0x2c], 0xd
call fcn.0047eff1
mov dword [esi], vtable.CStatic.0
mov byte [esp + 0x2c], 0xe
call fcn.004768e7
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4056e1
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x520], eax
lea ecx, [edi + 0x528]
push ecx
mov byte [esp + 0x30], 0xf
call fcn.0042c6b0
lea esi, [edi + 0x600]
mov ecx, esi
mov byte [esp + 0x2c], 0x10
call fcn.0047eff1
mov dword [esi], vtable.CHeaderCtrl.0
lea esi, [edi + 0x654]
mov ecx, esi
mov byte [esp + 0x2c], 0x11
call fcn.0047eff1
mov dword [esi], vtable.CSliderCtrlEx.0
mov dword [esi + 0x58], vtable.CArray_struct_CSliderCtrlEx::clrRange__struct_CSliderCtrlEx::clrRange_.0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x54], 1
lea esi, [edi + 0x6c0]
mov ecx, esi
mov byte [esp + 0x2c], 0x12
call fcn.0047eff1
mov dword [esi], vtable.CSliderCtrlEx1.0
lea ecx, [edi + 0x714]
mov byte [esp + 0x2c], 0x13
call fcn.0047b370
lea ecx, [edi + 0x788]
mov byte [esp + 0x2c], 0x14
call fcn.0047b370
lea edx, [edi + 0x7f8]
push edx
mov byte [esp + 0x30], 0x15
call fcn.0041b9c0
lea esi, [edi + 0x9a0]
mov ecx, esi
mov byte [esp + 0x2c], 0x16
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x9f4]
mov ecx, esi
mov byte [esp + 0x2c], 0x17
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xa48]
mov ecx, esi
mov byte [esp + 0x2c], 0x18
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xa9c]
mov ecx, esi
mov byte [esp + 0x2c], 0x19
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xaf0]
mov ecx, esi
mov byte [esp + 0x2c], 0x1a
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
mov byte [esp + 0x2c], 0x1b
lea esi, [edi + 0xb44]
mov ecx, esi
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xb98]
mov ecx, esi
mov byte [esp + 0x2c], 0x1c
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xbec]
mov ecx, esi
mov byte [esp + 0x2c], 0x1d
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xc40]
mov ecx, esi
mov byte [esp + 0x2c], 0x1e
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xc94]
mov ecx, esi
mov byte [esp + 0x2c], 0x1f
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0xce8]
mov ecx, esi
mov byte [esp + 0x2c], 0x20
call fcn.0047eff1
mov dword [esi], vtable.CStatic.0
mov byte [esp + 0x2c], 0x21
lea esi, [edi + 0xd4c]
mov ecx, esi
mov dword [edi + 0xd3c], ebx
mov dword [edi + 0xd40], ebx
mov dword [edi + 0xd44], ebx
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea ebp, [edi + 0xfa4]
mov dword [ebp], vtable.CMenu.0
mov dword [ebp + 4], ebx
lea esi, [edi + 0xfac]
mov ecx, esi
mov byte [esp + 0x2c], 0x23
call fcn.0047eff1
mov dword [esi], vtable.CButton.0
lea ecx, [edi + 0x1000]
mov byte [esp + 0x2c], 0x24
call fcn.0047d59d
mov byte [esp + 0x2c], 0x25
call fcn.0047ab74
call fcn.0047ab74
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea esi, [esp + 0x18]
mov dword [edi + 0xd48], eax
call fcn.004050e0
mov ecx, dword [eax]
mov dword [edi + 0xb4], ecx
mov edx, dword [eax + 4]
mov eax, 1
mov dword [edi + 0xb8], edx
mov dword [edi + 0x994], ebx
mov dword [edi + 0x998], ebx
mov dword [edi + 0x99c], eax
mov byte [edi + 0x784], bl
mov byte [edi + 0x525], bl
mov byte [edi + 0x524], bl
mov dword [edi + 0x5f8], eax
mov dword [edi + 0xda0], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, ebp
call fcn.0047dc86
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4