Function at 0x450b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004ae250
push 0x65
call fcn.004efd10
mov eax, dword [0x5a32b8]
add esp, 4
xor ebx, ebx
mov ecx, dword [eax + 0x10]
push ebx
push 0x9d09
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, 0x151
mov edx, 0x165
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov ecx, 0x159
mov eax, 0x164
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x10], ebx
mov edi, 0x18a
mov edx, 0x17a
mov ecx, 0x16e
lea ebx, [esp + 0x7c]
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 6
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], 5
mov dword [esp + 0x54], 2
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 7
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 9
mov dword [esp + 0x6c], 0xa
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], 0xd
mov dword [esp + 0x78], 0xb
mov dword [esp + 0x7c], 0x8c
mov dword [esp + 0x84], 0xae
mov dword [esp + 0x8c], 0xd0
mov dword [esp + 0x94], 0x195
mov dword [esp + 0x9c], 0x1b7
mov dword [esp + 0xa4], 0x1d9
mov dword [esp + 0xac], 0x6d
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], 0x88
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0xa7
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], 0xca
mov dword [esp + 0xcc], 0x19b
mov dword [esp + 0xd4], 0x1be
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x1dd
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], 0x1f8
mov dword [esp + 0xe8], edi
mov dword [esp + 0x20], 0x13be
mov dword [esp + 0x24], 0x13bf
mov dword [esp + 0x28], 0x13c0
mov dword [esp + 0x2c], 0x13c1
mov dword [esp + 0x30], 0x13c2
mov dword [esp + 0x34], 0x13c4
mov dword [esp + 0x38], 0x13c5
mov dword [esp + 0x3c], 0x13c8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
lea edi, [esi + 0x910]
cmp dword [edi], 0
jne 0x450dd8
push 0x110
call fcn.004d8630
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x450d8d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, ebp
mov dword [esp + 0x40], edx
call fcn.005273b0
lea ebx, [ebp + 0xcc]
mov dword [esp + 0x1c], 4
mov ecx, ebx
call fcn.00525f20
mov eax, dword [esp + 0x1c]
mov dword [ebx], vtable.sciPoint.0
add ebx, 0x10
dec eax
mov dword [esp + 0x1c], eax
jne 0x450d59
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov dword [ebp], vtable.NewGameButton.0
mov dword [ebp + 0x10c], eax
mov ecx, ebp
jmp 0x450d8f
xor ecx, ecx
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp ebp, 6
mov dword [edi], ecx
mov edx, dword [ecx]
setge al
add eax, 0x13c6
push eax
call dword [edx + 0x54]
mov ecx, dword [edi]
push 0
push 0
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ecx, dword [edi]
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [edi]
push eax
mov eax, dword [ebx]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ecx, dword [edi]
call fcn.00527b20
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 4
add edi, 4
add ebx, 8
cmp eax, 0xe
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
jl 0x450d1e
xor ebx, ebx
lea ebp, [esp + 0x20]
lea edi, [esi + 0x970]
cmp dword [edi], 0
jne 0x450e57
push 0x78
call fcn.004d8630
add esp, 4
test eax, eax
je 0x450e27
mov ecx, eax
call fcn.0044a060
jmp 0x450e29
xor eax, eax
mov ecx, dword [ebp]
mov dword [edi], eax
push ecx
mov ecx, eax
call fcn.004b5da0
mov ecx, dword [edi]
push 0x19
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 6
je 0x450e57
cmp ebx, 2
je 0x450e57
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x18]
inc ebx
add ebp, 4
add edi, 4
cmp ebx, 8
jl 0x450e0b
mov eax, dword [esi + 0x950]
test eax, eax
jne 0x450eea
push 0xcc
call fcn.004d8630
mov edi, eax
add esp, 4
test edi, edi
je 0x450e91
mov ecx, edi
call fcn.005273b0
mov dword [edi], vtable.GoToButton.0
mov ecx, edi
jmp 0x450e93
xor ecx, ecx
mov dword [esi + 0x950], ecx
mov eax, dword [ecx]
push 0x1393
call dword [eax + 0x54]
mov ecx, dword [esi + 0x950]
push 0
push 0
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ecx, dword [esi + 0x950]
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x950]
push 0x180
push 0x119
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi + 0x950]
call fcn.00527b20
mov ecx, dword [esi + 0x950]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi + 0x960]
test eax, eax
jne 0x450f42
push 0x6c
call fcn.004d8630
add esp, 4
test eax, eax
je 0x450f0b
mov ecx, eax
call fcn.004b5b50
jmp 0x450f0d
xor eax, eax
push 0x13c3
mov ecx, eax
mov dword [esi + 0x960], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x960]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esi + 0x960]
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x960]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi + 0x964]
test eax, eax
jne 0x450fbf
push 0x6c
call fcn.004d8630
add esp, 4
test eax, eax
je 0x450f63
mov ecx, eax
call fcn.004b5b50
jmp 0x450f65
xor eax, eax
push 0x139a
mov ecx, eax
mov dword [esi + 0x964], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x964]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x964]
push 0xa
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x964]
push 0
push 0x60
mov eax, dword [ecx]
call dword [eax + 0x28]
push 7
call fcn.004efcc0
mov ecx, dword [esi + 0x964]
add esp, 4
push eax
call fcn.004b5e40
mov ecx, dword [esi + 0x964]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esi + 0x95c]
test eax, eax
jne 0x45102c
push 0x6c
call fcn.004d8630
add esp, 4
test eax, eax
je 0x450fe0
mov ecx, eax
call fcn.004b5b50
jmp 0x450fe2
xor eax, eax
push 0x13a3
mov ecx, eax
mov dword [esi + 0x95c], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x95c]
push 0x33
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x95c]
push 0x96
push 0xc8
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi + 0x95c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x95c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi + 0x958]
test eax, eax
jne 0x4510ba
push 0x84
call fcn.004d8630
add esp, 4
test eax, eax
je 0x451054
mov ecx, eax
call fcn.00485190
jmp 0x451056
xor eax, eax
push 0x91c
mov ecx, eax
mov dword [esi + 0x958], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x958]
push 0x32
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x958]
push 0x83
push 0xdc
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi + 0x958]
push 0
call fcn.004b5e40
mov ecx, dword [esi + 0x958]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x958]
mov dword [ecx + 0x6c], 6
mov ecx, dword [esi + 0x958]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi + 0x948]
test eax, eax
jne 0x45113e
push 0xcc
call fcn.004d8630
mov edi, eax
add esp, 4
test edi, edi
je 0x4510e8
mov ecx, edi
call fcn.005273b0
mov dword [edi], vtable.DoorButton.0
mov ecx, edi
jmp 0x4510ea
xor ecx, ecx
mov dword [esi + 0x948], ecx
mov eax, dword [ecx]
push 0x13a6
call dword [eax + 0x54]
mov ecx, dword [esi + 0x948]
push 3
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x948]
push 0x3a
push 0xb8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x948]
push 0
push 0
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ecx, dword [esi + 0x948]
call fcn.00527b20
mov ecx, dword [esi + 0x948]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x94c]
test eax, eax
jne 0x4511a5
push 0x78
call fcn.004d8630
add esp, 4
test eax, eax
je 0x45115f
mov ecx, eax
call fcn.0044a060
jmp 0x451161
xor eax, eax
push 0x13a5
mov ecx, eax
mov dword [esi + 0x94c], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x94c]
push 2
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x94c]
push 2
push 0x7c
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x94c]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esi + 0x94c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x968]
mov edi, 0x50
test eax, eax
jne 0x451256
push 0x84
call fcn.004d8630
add esp, 4
test eax, eax
je 0x4511d2
mov ecx, eax
call fcn.00485190
jmp 0x4511d4
xor eax, eax
push 0x13a0
mov ecx, eax
mov dword [esi + 0x968], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x968]
push 0xf
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [esi + 0x968]
push 0x46
mov ebx, dword [eax]
call fcn.004efcc0
add esp, 4
push eax
push 0x280
call fcn.004efcc0
mov ecx, dword [esi + 0x968]
add esp, 4
push eax
call dword [ebx + 0x28]
mov ecx, dword [esi + 0x968]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esi + 0x968]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x968]
mov dword [ecx + 0x78], 0x14
mov edx, dword [esi + 0x968]
mov dword [edx + 0x7c], 1
mov eax, dword [esi + 0x968]
mov dword [eax + 0x6c], edi
mov eax, dword [esi + 0x96c]
test eax, eax
jne 0x4512bd
push 0x6c
call fcn.004d8630
add esp, 4
test eax, eax
je 0x451277
mov ecx, eax
call fcn.004b5b50
jmp 0x451279
xor eax, eax
push 0x13a4
mov ecx, eax
mov dword [esi + 0x96c], eax
call fcn.004b5da0
mov ecx, dword [esi + 0x96c]
push 0x14
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x96c]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x96c]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esi + 0x96c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [0x59ffec]
test eax, eax
jne 0x451329
mov ecx, dword [0x5a32bc]
call fcn.004f3a60
cmp al, 0xff
jne 0x451329
push 0x1440
call fcn.004d8630
add esp, 4
test eax, eax
je 0x4512f3
push 1
push 0
mov ecx, eax
call fcn.00405860
jmp 0x4512f5
xor eax, eax
push 0x62a0
mov ecx, eax
mov dword [0x59ffec], eax
call fcn.00449270
mov ecx, dword [0x59ffec]
push 0xffffffffffffffff
call fcn.00405c80
mov ecx, dword [0x59ffec]
call fcn.004d7ca0
mov ecx, dword [0x59ffec]
call fcn.00405ed0
xor ecx, ecx
mov eax, 0x1df
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], ecx
mov ecx, 0x27f
mov edx, 0x22f
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], edx
lea ecx, [esi + 0x99c]
xor eax, eax
mov edx, dword [esp + eax + 0x44]
add eax, 8
mov dword [ecx - 4], edx
mov edx, dword [esp + eax + 0x40]
mov dword [ecx], edx
mov edx, dword [esp + eax + 0x18]
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + eax + 0x1c]
mov dword [ecx + 0x40], edx
add ecx, 0x10
cmp eax, 0x20
jl 0x451386
mov eax, dword [0x5a32b8]
push 0xdac
mov ecx, dword [eax + 8]
call fcn.00476930
push 0x20
call fcn.004d8630
mov edi, eax
add esp, 4
test edi, edi
je 0x4513f0
push 0
mov ecx, edi
call fcn.0048a300
push edi
mov ecx, esi
mov dword [edi], vtable.RoomSpaceScript.0
call fcn.00454360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret
xor edi, edi
mov ecx, esi
push edi
call fcn.00454360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret