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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x298
push ebx
push ebp
push esi
push edi
push str.AAS_Reachability_Elevator_r_n
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call fcn.00493060
push 0
call fcn.004af2f0
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x6c], ebp
je 0x4abf95
jmp 0x4ab6b9
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x1a8]
push 0x80
push eax
push str.classname
push ebp
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4abf80
mov esi, str.func_plat
lea eax, [esp + 0x1a8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab710
test cl, cl
je 0x4ab70c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab710
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab6e8
xor eax, eax
jmp 0x4ab715
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4abf80
push str.found_func_plat_r_n
call fcn.00493060
lea eax, [esp + 0x22c]
push 0x80
push eax
push str.model
push ebp
call fcn.004af340
add esp, 0x14
test eax, eax
jne 0x4ab75b
push str.func_plat_without_model_n
push 3
call dword [0x1180ce0]
add esp, 8
jmp 0x4abf80
lea ecx, [esp + 0x229]
push ecx
call fcn.004c239b
add esp, 4
mov dword [esp + 0xa8], eax
test eax, eax
jg 0x4ab78b
push str.func_plat_with_invalid_model_number_n
push 3
call dword [0x1180ce0]
add esp, 8
jmp 0x4abf80
lea edx, [esp + 0x70]
lea ecx, [esp + 0x10]
push edx
push ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0xb8]
push edx
push ecx
push eax
call fcn.004af290
lea edx, [esp + 0x84]
push edx
push str.origin
push ebp
call fcn.004af3d0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x17c], eax
push ecx
push 0x4fa0b0
push ebp
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call fcn.004af480
fld dword [esp + 0x90]
fcomp dword [0x4d7378]
add esp, 0x2c
fnstsw ax
test ah, 0x40
je 0x4ab81e
mov dword [esp + 0x64], 0x41000000
lea edx, [esp + 0x38]
push edx
push str.height
push ebp
call fcn.004af480
fld dword [esp + 0x44]
fcomp dword [0x4d7378]
add esp, 0xc
fnstsw ax
test ah, 0x40
je 0x4ab852
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
fsub dword [esp + 0x64]
fstp dword [esp + 0x38]
lea eax, [esp + 0x7c]
push eax
push str.speed
push ebp
call fcn.004af480
fld dword [esp + 0x88]
fcomp dword [0x4d7378]
add esp, 0xc
fnstsw ax
test ah, 0x40
je 0x4ab881
mov dword [esp + 0x7c], 0x43480000
fld dword [esp + 0xa0]
fsub dword [esp + 0x38]
sub esp, 8
sub esp, 8
fstp dword [esp + 0xb0]
fld dword [esp + 0x16c]
fstp qword [esp + 8]
fld dword [esp + 0xb0]
fstp qword [esp]
push str.pos2_2____1.1f_pos1_2____1.1f_n
push 1
call dword [0x1180ce0]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
add esp, 0x18
xor eax, eax
fld st(0)
fld dword [esp + 0x14]
fadd dword [esp + 0x20]
fst dword [esp + 0x3c]
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
fmul qword [0x4d73c0]
fadd dword [esp + 0x98]
fstp dword [esp + 0x80]
fld dword [esp + 0x44]
fmul qword [0x4d73c0]
mov dword [esp + 0x44], ecx
fadd dword [esp + 0x9c]
fstp dword [esp + 0x84]
fld dword [esp + 0x15c]
fsub dword [esp + 0xa0]
fsubr dword [esp + 0x18]
fadd dword [0x4d73a8]
fstp dword [esp + 0x88]
fmul qword [0x4d73c0]
fadd dword [esp + 0x98]
fstp dword [esp + 0x8c]
fld dword [esp + 0x44]
fmul qword [0x4d73c0]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x90]
fld dword [esp + 0x18]
fadd dword [0x4d73a8]
fstp dword [esp + 0x94]
fld dword [esp + eax + 0x1c]
fsub dword [0x4d7390]
add eax, 4
cmp eax, 0xc
fstp dword [esp + eax + 0x18]
fld dword [esp + eax + 0xc]
fadd dword [0x4d7390]
fstp dword [esp + eax + 0xc]
jl 0x4ab96a
fld dword [esp + 0x94]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x90]
sub esp, 8
fstp qword [esp]
push str.platbottom_2____1.1f_plattop_2____1.1f_n
push 1
call dword [0x1180ce0]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x134], eax
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x2c]
add esp, 0x18
fstp dword [esp + 0x44]
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x1c]
fmul qword [0x4d73c0]
mov dword [esp + 0x124], edx
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14c], edx
mov dword [esp + 0x3c], ebx
fst dword [esp + 0x40]
fld dword [esp + 0x44]
fmul qword [0x4d73c0]
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
mov eax, ecx
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x140], ecx
fst dword [esp + 0x118]
fstp dword [esp + 0x120]
mov dword [esp + 0x128], eax
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x144], eax
mov ecx, eax
mov eax, edx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x150], eax
cmp ebx, 0x20
jge 0x4abb2c
fld dword [esp + 0x70]
fadd dword [esp + ebx + 0x114]
lea ecx, [esp + 0x28]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x78]
fadd dword [esp + ebx + 0x138]
fstp dword [esp + 0x30]
fld dword [esp + 0x8c]
fadd dword [0x4d7398]
fstp dword [esp + 0x34]
call fcn.004afd90
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
xor esi, esi
jmp 0x4abad9
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4abaf7
push edi
call fcn.004a6f70
add esp, 4
test eax, eax
jne 0x4abb21
push edi
call fcn.004a6ef0
add esp, 4
test eax, eax
jne 0x4abb21
fld dword [esp + 0x30]
fadd dword [0x4d7450]
lea edx, [esp + 0x28]
push edx
fstp dword [esp + 0x34]
call fcn.004afd90
add esp, 4
inc esi
cmp esi, 0x10
mov dword [esp + 0x34], eax
jl 0x4abad5
jmp 0x4abf70
cmp esi, 0x10
jge 0x4abf70
jmp 0x4abb93
fld dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
fadd dword [0x4d8348]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x34]
call fcn.004afd90
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4abf70
fld dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
fadd dword [0x4d8348]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x30]
mov dword [esp + 0x68], 0
xor eax, eax
fld dword [esp + eax + 0x1c]
fsub dword [0x4d7450]
add eax, 4
cmp eax, 0xc
fstp dword [esp + eax + 0x18]
fld dword [esp + eax + 0xc]
fadd dword [0x4d7450]
fstp dword [esp + eax + 0xc]
jl 0x4abb9d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], edx
fld dword [esp + 0x94]
mov edx, eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x100], eax
fadd dword [0x4d7398]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xe8], edx
mov eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xec], eax
fstp dword [esp + 0xac]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], eax
mov edx, ecx
xor eax, eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0xa4], eax
fld dword [esp + 0x70]
fadd dword [esp + eax + 0xd4]
lea ecx, [esp + 0x58]
push ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x78]
fadd dword [esp + eax + 0xf8]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x64], eax
fstp dword [esp + 0x60]
call fcn.004afd90
add esp, 4
mov ebx, eax
xor ebp, ebp
test ebx, ebx
je 0x4abd7f
push ebx
call fcn.004a6f70
add esp, 4
test eax, eax
jne 0x4abce0
push ebx
call fcn.004a6ef0
add esp, 4
test eax, eax
je 0x4abd7f
fld dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
fadd dword [0x4d7388]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xbc], ecx
push 0xffffffffffffffff
fstp dword [esp + 0xd4]
fld dword [esp + 0x64]
fadd dword [0x4d7390]
lea eax, [esp + 0xc0]
mov dword [esp + 0xc4], edx
push 4
lea ecx, [esp + 0xd0]
push eax
lea edx, [esp + 0x190]
fstp dword [esp + 0xd0]
push ecx
push edx
call fcn.004affd0
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x174]
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x164]
fcomp dword [0x4d7390]
fnstsw ax
test ah, 1
je 0x4abdab
fld dword [esp + 0x60]
fadd dword [0x4d7450]
lea eax, [esp + 0x58]
push eax
fstp dword [esp + 0x64]
call fcn.004afd90
add esp, 4
inc ebp
cmp ebp, 0x10
mov ebx, eax
jl 0x4abcba
jmp 0x4abf3c
cmp ebp, 0x10
jge 0x4abf3c
mov esi, dword [esp + 0x34]
cmp ebx, esi
je 0x4abf3c
push ebx
call fcn.004a6f70
add esp, 4
test eax, eax
je 0x4abf3c
push ebx
push esi
call fcn.004a7050
add esp, 8
test eax, eax
jne 0x4abf3c
fld dword [esp + 0x28]
fsub dword [esp + 0x80]
lea ecx, [esp + 0x4c]
push ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x30]
fsub dword [esp + 0x88]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fsub dword [esp + 0x8c]
fstp dword [esp + 0x58]
call fcn.00428370
fstp st(0)
fld dword [esp + 0x50]
fmul dword [0x4d8348]
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x54], edx
xor ecx, ecx
fadd dword [esp + 0x28]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul dword [0x4d8348]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x50]
fld dword [esp + ecx*4 + 0x1c]
fadd dword [esp + ecx*4 + 0x70]
fcomp dword [esp + ecx*4 + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4abe7e
fld dword [esp + ecx*4 + 0x10]
fadd dword [esp + ecx*4 + 0x70]
fcomp dword [esp + ecx*4 + 0x4c]
fnstsw ax
test ah, 1
jne 0x4abe7e
inc ecx
cmp ecx, 3
jl 0x4abe4d
jmp 0x4abf3c
cmp ecx, 3
jge 0x4abf3c
call fcn.004a6940
mov esi, eax
test esi, esi
je 0x4abf3c
mov eax, dword [esp + 0xa8]
mov dword [esi], ebx
mov dword [esi + 4], eax
fld dword [esp + 0x38]
call fcn.004c2730
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x60]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0xb
fld dword [esp + 0x38]
fmul dword [0x4d77c0]
fdiv dword [esp + 0x7c]
call fcn.004c2730
test ax, ax
mov word [esi + 0x28], ax
jne 0x4abf01
mov word [esi + 0x28], 0x32
mov ecx, dword [0x1177014]
mov eax, dword [esp + 0x34]
push ebx
push eax
mov edx, dword [ecx + eax*4]
push str.elevator_reach_from__d_to__d_r_n
mov dword [esi + 0x2c], edx
mov ecx, dword [0x1177014]
mov dword [esp + 0x74], 0x270f
mov dword [ecx + eax*4], esi
call fcn.00493060
mov eax, dword [0x1177028]
add esp, 0xc
inc eax
mov dword [0x1177028], eax
mov eax, dword [esp + 0xa4]
add eax, 4
cmp eax, 0x20
mov dword [esp + 0xa4], eax
jl 0x4abc80
mov eax, dword [esp + 0x68]
inc eax
cmp eax, 3
mov dword [esp + 0x68], eax
jl 0x4abb9b
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x6c]
add ebx, 4
cmp ebx, 0x24
mov dword [esp + 0x3c], ebx
jl 0x4aba86
push ebp
call fcn.004af2f0
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x4ab6b5
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret