Function at 0x4be290
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.004c25a0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x4be910
jmp 0x4be2d6
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x18c]
push 0x80
push eax
push str.classname
push ebp
call fcn.004c25f0
add esp, 0x10
test eax, eax
je 0x4be8fb
mov esi, str.trigger_multiple
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4be32d
test cl, cl
je 0x4be329
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4be32d
add eax, 2
add esi, 2
test cl, cl
jne 0x4be305
xor eax, eax
jmp 0x4be332
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4be510
lea eax, [esp + 0x10c]
push 0x80
push eax
push str.model
push ebp
call fcn.004c25f0
lea ecx, [esp + 0x11c]
push ecx
push str.trigger_multiple_model____s__n
push 1
call dword [0x122fa00]
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.004cb5db
add esp, 4
push eax
call fcn.004c2540
lea ecx, [esp + 0xa0]
push 0x80
push ecx
push str.target
push ebp
call fcn.004c25f0
add esp, 0x24
test eax, eax
jne 0x4be3e6
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 [0x122fa00]
add esp, 0x20
jmp 0x4be8fb
push 0
call fcn.004c25a0
mov edi, eax
add esp, 4
test edi, edi
je 0x4be8fb
lea edx, [esp + 0x18c]
push 0x80
push edx
push str.classname
push edi
call fcn.004c25f0
add esp, 0x10
test eax, eax
je 0x4be4b8
mov esi, str.target_teleporter
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4be451
test cl, cl
je 0x4be44d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4be451
add eax, 2
add esi, 2
test cl, cl
jne 0x4be429
xor eax, eax
jmp 0x4be456
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4be4b8
lea eax, [esp + 0x20c]
push 0x80
push eax
push str.targetname
push edi
call fcn.004c25f0
add esp, 0x10
test eax, eax
je 0x4be4b8
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4be4af
test cl, cl
je 0x4be4ab
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4be4af
add eax, 2
add esi, 2
test cl, cl
jne 0x4be487
xor eax, eax
jmp 0x4be4b4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4be4d0
push edi
call fcn.004c25a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4be3fa
jmp 0x4be8fb
test edi, edi
je 0x4be8fb
lea eax, [esp + 0x8c]
push 0x80
push eax
push str.target
push edi
call fcn.004c25f0
add esp, 0x10
test eax, eax
jne 0x4be5fd
push str.target_teleporter_without_target_n
push 3
call dword [0x122fa00]
add esp, 8
jmp 0x4be8fb
mov esi, str.trigger_teleport
lea eax, [esp + 0x18c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4be544
test cl, cl
je 0x4be540
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4be544
add eax, 2
add esi, 2
test cl, cl
jne 0x4be51c
xor eax, eax
jmp 0x4be549
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4be8fb
lea eax, [esp + 0x10c]
push 0x80
push eax
push str.model
push ebp
call fcn.004c25f0
lea ecx, [esp + 0x11c]
push ecx
push str.trigger_teleport_model____s__n
push 1
call dword [0x122fa00]
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.004cb5db
add esp, 4
push eax
call fcn.004c2540
lea ecx, [esp + 0xa0]
push 0x80
push ecx
push str.target
push ebp
call fcn.004c25f0
add esp, 0x24
test eax, eax
jne 0x4be5fd
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 [0x122fa00]
add esp, 0x20
jmp 0x4be8fb
push 0
call fcn.004c25a0
mov edi, eax
add esp, 4
test edi, edi
je 0x4be680
lea edx, [esp + 0x20c]
push 0x80
push edx
push str.targetname
push edi
call fcn.004c25f0
add esp, 0x10
test eax, eax
je 0x4be66b
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4be662
test cl, cl
je 0x4be65e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4be662
add eax, 2
add esi, 2
test cl, cl
jne 0x4be63a
xor eax, eax
jmp 0x4be667
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4be67c
push edi
call fcn.004c25a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4be60d
jmp 0x4be680
test edi, edi
jne 0x4be69d
lea eax, [esp + 0x8c]
push eax
push str.teleporter_without_misc_teleporter_dest___s__n
push 3
call dword [0x122fa00]
add esp, 0xc
jmp 0x4be8fb
lea ecx, [esp + 0x14]
push ecx
push str.origin
push edi
call fcn.004c2680
add esp, 0xc
test eax, eax
jne 0x4be6d1
lea edx, [esp + 0x8c]
push edx
push str.teleporter_destination___s__without_origin_n
push 3
call dword [0x122fa00]
add esp, 0xc
jmp 0x4be8fb
lea eax, [esp + 0x14]
push eax
call fcn.004c3040
mov ebp, eax
push ebp
call fcn.004ba290
add esp, 8
test eax, eax
jne 0x4be7a2
push ebp
call fcn.004ba270
add esp, 4
test eax, eax
jne 0x4be7a2
fld dword [esp + 0x1c]
fadd dword [0x4e084c]
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 [0x4e0588]
push 4
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x298]
push ecx
push edx
fstp dword [esp + 0x78]
call fcn.004c3280
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 0x4be77b
lea eax, [esp + 0x8c]
push eax
push str.teleporter_destination___s__in_solid_n
push 3
call dword [0x122fa00]
add esp, 0xc
jmp 0x4be8f7
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.004c3040
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 [0x4e03e8]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul qword [0x4e03e8]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul qword [0x4e03e8]
fstp dword [esp + 0x5c]
call fcn.004c4360
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4be85c
push str.trigger_multiple_not_in_any_area_n
push 1
call dword [0x122fa00]
add esp, 8
test ebx, ebx
mov edi, ebx
je 0x4be8ee
mov ecx, dword [edi + 4]
push ecx
call fcn.004ba290
add esp, 4
test eax, eax
je 0x4be8e3
mov esi, dword [edi + 4]
call fcn.004b9c00
test eax, eax
je 0x4be8ee
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 [0x1228434]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x1228434]
mov dword [edx + esi*4], eax
mov eax, dword [0x122845c]
inc eax
mov dword [0x122845c], eax
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x4be866
push ebx
call fcn.004c4180
add esp, 4
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004c25a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4be2d2
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret