Function at 0x44c990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45dff7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0xa4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x30], 2
mov dword [esp + 0xc], ebx
je 0x44c9cd
mov dword [esp + 0xc], eax
mov eax, dword [0x4732dc]
push edi
cmp eax, ebx
je 0x44ca45
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ca45
mov ecx, dword [0x4732dc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea esi, [ecx + 0x208]
push eax
mov ecx, esi
call fcn.0044f200
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov ebx, eax
call fcn.0044e600
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebx]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push edi
mov dword [esp + 0x24], 0
call fcn.0044fc70
add esp, 0x10
lea edx, [esp + 0x24]
mov ecx, esi
push ebx
push edi
push edx
call fcn.0042d380
xor ebx, ebx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x4732cc
mov dword [esp + 0x1c], ebp
call fcn.0044f4f0
mov edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, 0x4732cc
call fcn.0044f4b0
mov ecx, dword [esp + 0x24]
mov edi, dword [edi]
mov esi, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push esi
mov dword [esp + 0x28], ebx
call fcn.0044fcd0
add esp, 0x10
lea eax, [esp + 0x28]
mov ecx, 0x4732cc
push edi
push esi
push eax
call fcn.0044e8f0
lea edi, [ebp + 0xb0]
mov dword [esp + 0x28], edi
lea ecx, [edi + 0xc0]
mov byte [esp + 0x34], 5
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [edi + 0x70]
mov byte [esp + 0x34], 4
call fcn.004569aa
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 3
call fcn.00406e50
mov edx, dword [eax]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.0042d200
mov eax, dword [esi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x18]
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x4733f0]
dec eax
mov dword [0x4733f0], eax
jne 0x44cb25
mov esi, dword [0x473110]
mov dword [0x473110], ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x44cb3c
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.00456590
cmp ebp, ebx
mov byte [esp + 0x34], 0
pop edi
je 0x44cb5a
lea eax, [ebp + 0xa0]
jmp 0x44cb5c
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x44cb69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebp, ebx
je 0x44cb72
lea esi, [ebp + 4]
jmp 0x44cb74
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 6
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
cmp eax, ebx
je 0x44cb90
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x18]
mov byte [esp + 0x30], 0xa
cmp eax, ebx
je 0x44cba2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14]
mov byte [esp + 0x30], 9
cmp eax, ebx
je 0x44cbb4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x10]
mov byte [esp + 0x30], 8
cmp eax, ebx
je 0x44cbc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xc]
mov byte [esp + 0x30], 7
cmp eax, ebx
je 0x44cbd8
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esi + 8]
mov byte [esp + 0x30], 6
call fcn.0044fe20
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044fe20
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret