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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.004af2f0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x4ab650
jmp 0x4ab016
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x18c]
push 0x80
push eax
push str.classname
push ebp
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4ab63b
mov esi, str.trigger_multiple
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab06d
test cl, cl
je 0x4ab069
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab06d
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab045
xor eax, eax
jmp 0x4ab072
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ab250
lea eax, [esp + 0x10c]
push 0x80
push eax
push str.model
push ebp
call fcn.004af340
lea ecx, [esp + 0x11c]
push ecx
push str.trigger_multiple_model____s__n
push 1
call dword [0x1180ce0]
add esp, 0x1c
lea edx, [esp + 0x20]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x119]
push edx
push eax
call fcn.004c239b
add esp, 4
push eax
call fcn.004af290
lea ecx, [esp + 0xa0]
push 0x80
push ecx
push str.target
push ebp
call fcn.004af340
add esp, 0x24
test eax, eax
jne 0x4ab126
fld dword [esp + 0x28]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push str.trigger_multiple_at__1.0f__1.0f__1.0f_without_target_n
push 3
call dword [0x1180ce0]
add esp, 0x20
jmp 0x4ab63b
push 0
call fcn.004af2f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4ab63b
lea edx, [esp + 0x18c]
push 0x80
push edx
push str.classname
push edi
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4ab1f8
mov esi, str.target_teleporter
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab191
test cl, cl
je 0x4ab18d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab191
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab169
xor eax, eax
jmp 0x4ab196
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ab1f8
lea eax, [esp + 0x20c]
push 0x80
push eax
push str.targetname
push edi
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4ab1f8
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab1ef
test cl, cl
je 0x4ab1eb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab1ef
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab1c7
xor eax, eax
jmp 0x4ab1f4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ab210
push edi
call fcn.004af2f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4ab13a
jmp 0x4ab63b
test edi, edi
je 0x4ab63b
lea eax, [esp + 0x8c]
push 0x80
push eax
push str.target
push edi
call fcn.004af340
add esp, 0x10
test eax, eax
jne 0x4ab33d
push str.target_teleporter_without_target_n
push 3
call dword [0x1180ce0]
add esp, 8
jmp 0x4ab63b
mov esi, str.trigger_teleport
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab284
test cl, cl
je 0x4ab280
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab284
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab25c
xor eax, eax
jmp 0x4ab289
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ab63b
lea eax, [esp + 0x10c]
push 0x80
push eax
push str.model
push ebp
call fcn.004af340
lea ecx, [esp + 0x11c]
push ecx
push str.trigger_teleport_model____s__n
push 1
call dword [0x1180ce0]
add esp, 0x1c
lea edx, [esp + 0x20]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x119]
push edx
push eax
call fcn.004c239b
add esp, 4
push eax
call fcn.004af290
lea ecx, [esp + 0xa0]
push 0x80
push ecx
push str.target
push ebp
call fcn.004af340
add esp, 0x24
test eax, eax
jne 0x4ab33d
fld dword [esp + 0x28]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push str.trigger_teleport_at__1.0f__1.0f__1.0f_without_target_n
push 3
call dword [0x1180ce0]
add esp, 0x20
jmp 0x4ab63b
push 0
call fcn.004af2f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4ab3c0
lea edx, [esp + 0x20c]
push 0x80
push edx
push str.targetname
push edi
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4ab3ab
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ab3a2
test cl, cl
je 0x4ab39e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ab3a2
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab37a
xor eax, eax
jmp 0x4ab3a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ab3bc
push edi
call fcn.004af2f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4ab34d
jmp 0x4ab3c0
test edi, edi
jne 0x4ab3dd
lea eax, [esp + 0x8c]
push eax
push str.teleporter_without_misc_teleporter_dest___s__n
push 3
call dword [0x1180ce0]
add esp, 0xc
jmp 0x4ab63b
lea ecx, [esp + 0x14]
push ecx
push str.origin
push edi
call fcn.004af3d0
add esp, 0xc
test eax, eax
jne 0x4ab411
lea edx, [esp + 0x8c]
push edx
push str.teleporter_destination___s__without_origin_n
push 3
call dword [0x1180ce0]
add esp, 0xc
jmp 0x4ab63b
lea eax, [esp + 0x14]
push eax
call fcn.004afd90
mov ebp, eax
push ebp
call fcn.004a6fd0
add esp, 8
test eax, eax
jne 0x4ab4e2
push ebp
call fcn.004a6fb0
add esp, 4
test eax, eax
jne 0x4ab4e2
fld dword [esp + 0x1c]
fadd dword [0x4d8348]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
push 0xffffffffffffffff
lea eax, [esp + 0x60]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fsub dword [0x4d77c0]
push 4
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x298]
push ecx
push edx
fstp dword [esp + 0x78]
call fcn.004affd0
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x7c]
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4ab4bb
lea eax, [esp + 0x8c]
push eax
push str.teleporter_destination___s__in_solid_n
push 3
call dword [0x1180ce0]
add esp, 0xc
jmp 0x4ab637
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push ecx
mov dword [esp + 0x20], eax
call fcn.004afd90
add esp, 4
mov ebp, eax
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
push 4
lea edx, [esp + 0x3c]
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push edx
push eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd dword [esp + 0x34]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fadd dword [esp + 0x38]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [esp + 0x30]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd dword [esp + 0x34]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fadd dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x48]
fadd dword [esp + 0x3c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x40]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fadd dword [esp + 0x44]
fstp dword [esp + 0x5c]
fmul qword [0x4d73c0]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul qword [0x4d73c0]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul qword [0x4d73c0]
fstp dword [esp + 0x5c]
call fcn.004b10b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ab59c
push str.trigger_multiple_not_in_any_area_n
push 1
call dword [0x1180ce0]
add esp, 8
test ebx, ebx
mov edi, ebx
je 0x4ab62e
mov ecx, dword [edi + 4]
push ecx
call fcn.004a6fd0
add esp, 4
test eax, eax
je 0x4ab623
mov esi, dword [edi + 4]
call fcn.004a6940
test eax, eax
je 0x4ab62e
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x4c]
mov dword [eax], ebp
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x18], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], 0xa
mov word [eax + 0x28], 0x32
mov edx, dword [0x1177014]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x1177014]
mov dword [edx + esi*4], eax
mov eax, dword [0x117703c]
inc eax
mov dword [0x117703c], eax
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x4ab5a6
push ebx
call fcn.004b0ed0
add esp, 4
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004af2f0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ab012
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret