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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x55c054]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [0x562924]
lea edx, [ecx + 0x43]
push esi
mov esi, dword [ebp + 8]
push edi
or dword [eax + 0x47f4], 2
mov dword [esp + 0x50], ecx
mov ecx, str.Inspector
push 0
mov dword [esp + 0x20], esi
mov dword [eax + 0x4818], 0x43af0000
mov dword [eax + 0x481c], 0x43c80000
mov dword [eax + 0x47fc], 1
call fcn.0042dc80
lea eax, [esi + 0x14]
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4d977e
mov eax, dword [eax]
push eax
push str.Name:__s
call fcn.0049d5f0
push dword [esi + 0x30]
push str.UUID:__d
call fcn.0049d5f0
add esp, 0x10
lea eax, [esp + 0x58]
mov ecx, esi
push 0
push eax
call fcn.004ccc30
push 1
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.004ccc30
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push 5
xor esi, esi
xor edi, edi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
call fcn.004ccc30
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4d9824
call fcn.00408410
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x20]
call fcn.00408410
mov ecx, dword [esp + 0x14]
xor eax, eax
sub ecx, dword [esp + 0x18]
sar ecx, 2
test ecx, ecx
je 0x4d985d
sub edi, esi
sar edi, 2
cmp edi, eax
jbe 0x4da2ed
mov esi, dword [esi + eax*4]
cmp dword [esi + 8], 5
je 0x4d985f
mov esi, dword [esp + 0x44]
inc eax
cmp eax, edi
jb 0x4d9843
xor esi, esi
lea ecx, [esp + 0x44]
call fcn.00408410
xor ecx, ecx
lea eax, [esp + 0x20]
push 6
mov dword [esp + 0x30], ecx
xor edi, edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x38], edi
call fcn.004ccc30
xor edx, edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
cmp ecx, eax
je 0x4d98d7
call fcn.00408410
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x20]
call fcn.00408410
mov ecx, dword [esp + 0x18]
xor eax, eax
sub ecx, dword [esp + 0x14]
sar ecx, 2
test ecx, ecx
je 0x4d991e
mov ecx, dword [esp + 0x2c]
sub edi, ecx
sar edi, 2
nop word [eax + eax]
cmp edi, eax
jbe 0x4da2ed
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x10], ecx
cmp dword [ecx + 8], 6
je 0x4d9926
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, edi
jb 0x4d9900
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x2c]
call fcn.00408410
xor ecx, ecx
lea eax, [esp + 0x70]
push 4
mov dword [esp + 0x3c], ecx
xor edi, edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x44], edi
call fcn.004ccc30
xor edx, edx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
cmp ecx, eax
je 0x4d999e
call fcn.00408410
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x70]
call fcn.00408410
mov ecx, dword [esp + 0x18]
xor eax, eax
sub ecx, dword [esp + 0x14]
sar ecx, 2
test ecx, ecx
je 0x4d99e3
mov ecx, dword [esp + 0x38]
sub edi, ecx
sar edi, 2
cmp edi, eax
jbe 0x4da2ed
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x20], ecx
cmp dword [ecx + 8], 4
je 0x4d9a93
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, edi
jb 0x4d99c1
xor edi, edi
lea ecx, [esp + 0x38]
call fcn.00408410
push 0
push 0x5614f8
push 0x5612c4
push 0
push edi
call fcn.005110f2
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
call fcn.00411ce0
cmp dword [esp + 0x10], 0
je 0x4d9a78
mov edx, dword [0x562924]
mov ecx, dword [edx + 0x3f34]
mov byte [ecx + 0xe1], 1
mov ecx, dword [edx + 0x3f34]
cmp byte [ecx + 0xe4], 0
jne 0x4d9a78
push 0
push str.Canvas
push ecx
push str.Canvas
call fcn.004262b0
xor edx, edx
mov ecx, eax
call fcn.004b2600
add esp, 8
test al, al
je 0x4d9a78
mov eax, dword [0x562820]
mov ecx, str.Rescaling
mov edx, dword [eax + 0x14]
add edx, 0x62
call fcn.004a0420
call fcn.004b3470
test esi, esi
je case.0x4d9a8c.4
mov eax, dword [esi + 0x14]
cmp eax, 5
ja case.0x4d9a8c.4
jmp dword [eax*4 + 0x4da2f8]
mov edi, dword [esp + 0x20]
jmp 0x4d99e5
mov eax, dword [esi + 0x24]
mov ecx, esi
mov dword [esi + 0xd0], eax
lea eax, [esi + 0xbc]
push eax
call fcn.00402130
jmp case.0x4d9a8c.4
mov eax, dword [esi + 0x24]
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00406cb0
jmp case.0x4d9a8c.4
sub esp, 0x18
lea eax, [esi + 0x9c]
mov ecx, esp
push eax
call fcn.00402810
sub esp, 0x18
lea eax, [esi + 0x84]
mov ecx, esp
push eax
call fcn.00402810
sub esp, 0x10
lea eax, [esi + 0xb4]
mov ecx, esi
push eax
push dword [esi + 0x24]
push esi
call fcn.00403f70
lea ecx, [esi + 0x68]
lea eax, [esi + 0x84]
cmp ecx, eax
je case.0x4d9a8c.4
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4d9b1f
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00402920
jmp case.0x4d9a8c.4
sub esp, 0x18
lea eax, [esi + 0x9c]
mov ecx, esp
push eax
call fcn.00402810
sub esp, 0x18
lea eax, [esi + 0x84]
mov ecx, esp
push eax
call fcn.00402810
push dword [esi + 0x44]
lea eax, [esi + 0xb4]
mov ecx, esi
push dword [esi + 0x40]
sub esp, 8
push eax
push dword [esi + 0x24]
push esi
call fcn.00407800
lea ecx, [esi + 0x68]
lea eax, [esi + 0x84]
cmp ecx, eax
je case.0x4d9a8c.4
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4d9b7e
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00402920
jmp case.0x4d9a8c.4
mov eax, dword [esi + 0x24]
mov ecx, esi
push esi
mov dword [esi + 0xd0], eax
call fcn.00403410
test edi, edi
je 0x4d9d25
mov ecx, dword [0x562924]
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
mov ecx, dword [ecx + 0x3f34]
cmp byte [ecx + 0xe4], 0
jne 0x4d9d25
push 0
push str.Camera1
push ecx
push str.Camera1
call fcn.004262b0
xor edx, edx
mov ecx, eax
call fcn.004b2600
add esp, 8
test al, al
je 0x4d9d25
lea edx, [edi + 0x5e]
mov ecx, str.Active
call fcn.004a0420
push str.Clipping_Planes
call fcn.0049d5f0
movss xmm3, dword [0x54f454]
lea eax, [esp + 0x24]
add esp, 4
mov dword [esp + 0x10], 0
lea esi, [edi + 0x6c]
mov dword [esp + 0x20], 0
mov edx, 8
mov ecx, str.Near
push 0
push str._.3f
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004a3ed0
add esp, 0x14
test al, al
je 0x4d9c50
mov eax, dword [esi]
mov dword [edi + 0x3c], eax
movss xmm3, dword [0x54f454]
lea eax, [esp + 0x20]
push 0
push str._.3f
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea esi, [edi + 0x70]
mov dword [esp + 0x30], 0
push esi
mov edx, 8
mov ecx, 0x528178
call fcn.004a3ed0
add esp, 0x14
test al, al
je 0x4d9c98
mov eax, dword [esi]
mov dword [edi + 0x40], eax
push 0
push str._.3f
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0x3f800000
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0x43340000
push eax
lea esi, [edi + 0x74]
mov edx, 8
push esi
mov ecx, 0x52817c
call fcn.004a5100
add esp, 0x14
test al, al
je 0x4d9d13
movss xmm0, dword [esi]
mulss xmm0, dword [0x54f438]
movss dword [edi + 0x48], xmm0
mulss xmm0, dword [0x54f494]
cvtps2pd xmm0, xmm0
call fcn.005131f0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x68]
cvtss2sd xmm0, xmm0
call fcn.00511c90
cvtsd2ss xmm0, xmm0
addss xmm0, xmm0
movss dword [edi + 0x44], xmm0
lea edx, [edi + 0x5c]
mov ecx, str.Culling
call fcn.004a0420
call fcn.004b3470
mov eax, dword [esp + 0x5c]
xor esi, esi
mov ecx, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d9f58
cmp eax, esi
jbe 0x4da2ed
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4d9f4b
cmp dword [eax + 0x14], 0
je 0x4d9f4b
mov edx, esi
lea ecx, [esp + 0xb4]
call fcn.00401f30
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x4d9d79
mov edi, dword [edi]
push 8
push str.Mesh_s
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0xf
call fcn.00402920
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d9db2
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x98]
call fcn.00402a10
mov ecx, dword [0x562924]
lea edx, [esp + 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0x84], 0x10
mov eax, dword [ecx + 0x3f34]
cmovae edx, dword [esp + 0x70]
mov byte [eax + 0xe1], 1
mov ecx, dword [ecx + 0x3f34]
cmp byte [ecx + 0xe4], 0
je 0x4d9e2a
mov byte [esp + 0xf], 0
jmp 0x4d9e44
push 0
push edx
push ecx
push edx
call fcn.004262b0
xor edx, edx
mov ecx, eax
call fcn.004b2600
add esp, 8
mov byte [esp + 0xf], al
mov edx, dword [esp + 0x84]
cmp edx, 0x10
jb 0x4d9e7d
mov ecx, dword [esp + 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9e73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
cmp edx, 0x10
jb 0x4d9ed4
mov ecx, dword [esp + 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9eca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xf
mov byte [esp + 0x90], 0
cmp edx, 0x10
jb 0x4d9f2e
mov ecx, dword [esp + 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9f24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
cmp byte [esp + 0xf], 0
je 0x4d9f47
mov ecx, dword [esp + 0x20]
push esi
push dword [ecx + 0x14]
call fcn.00411600
call fcn.004b3470
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
inc esi
cmp eax, esi
ja 0x4d9d48
mov eax, dword [esp + 0x68]
xor esi, esi
mov ecx, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x10], eax
test eax, eax
je 0x4da183
cmp eax, esi
jbe 0x4da2ed
mov eax, dword [ecx + esi*4]
mov edx, esi
lea ecx, [esp + 0xb4]
mov dword [esp + 0x20], eax
call fcn.00401f30
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x4d9f9a
mov edi, dword [edi]
push 0xb
push str.Texture_s
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
call fcn.00402920
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d9fd0
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x78]
call fcn.00402a10
mov ecx, dword [0x562924]
lea edx, [esp + 0x90]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0xa4], 0x10
mov eax, dword [ecx + 0x3f34]
cmovae edx, dword [esp + 0x90]
mov byte [eax + 0xe1], 1
mov ecx, dword [ecx + 0x3f34]
cmp byte [ecx + 0xe4], 0
je 0x4da04e
mov byte [esp + 0xf], 0
jmp 0x4da068
push 0
push edx
push ecx
push edx
call fcn.004262b0
xor edx, edx
mov ecx, eax
call fcn.004b2600
add esp, 8
mov byte [esp + 0xf], al
mov edx, dword [esp + 0xa4]
cmp edx, 0x10
jb 0x4da0a4
mov ecx, dword [esp + 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4da09a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
mov edx, dword [esp + 0x84]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xf
mov byte [esp + 0x90], 0
cmp edx, 0x10
jb 0x4da0fb
mov ecx, dword [esp + 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4da0f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
cmp edx, 0x10
jb 0x4da152
mov ecx, dword [esp + 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4da148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da2f2
push edx
push ecx
call fcn.004e7ced
add esp, 8
cmp byte [esp + 0xf], 0
je 0x4da171
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4da16c
push esi
push dword [eax + 0x14]
mov ecx, eax
call fcn.0040f710
call fcn.004b3470
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jae 0x4da183
mov ecx, dword [esp + 0x64]
jmp 0x4d9f73
push 0
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov ecx, str.Add_Component
mov dword [esp + 0x28], 0
call fcn.0049e600
add esp, 4
test al, al
je 0x4da1e8
mov esi, dword [0x562924]
push ecx
push str.AddComponent
mov ecx, dword [esi + 0x3f34]
call fcn.004262b0
test byte [esi + 0x5d40], 4
mov edi, eax
je 0x4da1df
push edi
push str.AddComponent
push str._popup__OpenPopup___s_____0x_08X__n
call fcn.00454f70
add esp, 0xc
xor edx, edx
mov ecx, edi
call fcn.00437910
mov ecx, dword [0x562924]
mov eax, dword [ecx + 0x48c4]
cmp eax, dword [ecx + 0x48d0]
jg 0x4da208
mov dword [ecx + 0x47f4], 0
jmp 0x4da264
push ecx
mov ecx, dword [ecx + 0x3f34]
push str.AddComponent
call fcn.004262b0
mov edx, 0x141
mov ecx, eax
call fcn.00437f30
test al, al
je 0x4da264
mov eax, dword [0x562820]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x44], 0
jne 0x4da246
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
call fcn.004d8d70
jmp 0x4da25f
push str.You_are_in_PLAY_mode_
push 1
push 0xa6f
push 0x54d750
call fcn.004ce750
add esp, 0x10
call fcn.00438200
push 0
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov ecx, str.Delete_Object
mov dword [esp + 0x58], 0
call fcn.0049e600
add esp, 4
test al, al
je 0x4da2c0
mov eax, dword [0x562820]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x44], 0
jne 0x4da2a7
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call fcn.004ccfb0
jmp 0x4da2c0
push str.You_are_in_PLAY_mode_
push 1
push 0xa7d
push 0x54d750
call fcn.004ce750
add esp, 0x10
lea ecx, [esp + 0x64]
call fcn.00408410
lea ecx, [esp + 0x58]
call fcn.00408410
call fcn.00430cb0
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.004e7a8e
mov esp, ebp
pop ebp
ret 4
call fcn.0040d520
call fcn.004ec64f
nop
pushfd
lcall 77, 0x9acd004d
mov eax, 0x89004d9a
wait
dec ebp
add byte [edx + 0x2a004d9b], bl
wait
dec ebp
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp