Function at 0x49a87b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ffe64
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x49a8b5
xor eax, eax
jmp 0x49b461
mov eax, dword [ebp + 8]
xor edx, edx
inc edx
mov dword [esp + 0x2c], edx
cmp eax, edx
jne 0x49ac5a
cmp dword [ebp + 0x10], 4
jb 0x49b45d
lea esi, [esp + 0x14]
call fcn.00404790
xor edi, edi
mov dword [esp + 0x68], edi
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x28]
call fcn.004310b0
mov eax, dword [eax]
push 0x25
push eax
call fcn.004ce890
pop ecx
mov esi, eax
pop ecx
lea eax, [esp + 0x28]
call fcn.0042afc0
mov ecx, dword [ebx + 0x28]
cmp esi, edi
je 0x49a976
lea edx, [esp + 0x24]
call fcn.004310b0
mov byte [esp + 0x68], 1
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call fcn.00466a28
mov byte [esp + 0x68], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49a967
cmp dword [esi + 0xc], edi
jl 0x49a95a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49a95a
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49a967
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x28]
call fcn.0042afc0
lea eax, [esp + 0x24]
jmp 0x49a9c7
lea edx, [esp + 0x28]
call fcn.004310b0
mov byte [esp + 0x68], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49a9c3
cmp dword [esi + 0xc], edi
jl 0x49a9b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49a9b6
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49a9c3
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x28]
mov byte [esp + 0x68], 0
call fcn.0042afc0
cmp dword [ebp + 0x10], 5
mov esi, 0x100
jb 0x49a9e6
mov ecx, dword [ebx + 0x34]
call fcn.0040c5b0
mov esi, eax
mov eax, dword [ebx + 0x10]
cmp dword [eax], 5
jne 0x49ab5e
mov edi, dword [eax + 8]
mov dword [esp + 0x24], edi
test edi, edi
je 0x49b441
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
mov dword [esp + 0x28], eax
test eax, eax
jbe 0x49b441
and dword [esp + 0x1c], 0
test eax, eax
jbe 0x49b441
lea eax, [esi - 1]
mov dword [esp + 0x20], eax
push dword [esp + 0x1c]
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x50]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49ab38
call fcn.0040ef50
test al, al
je 0x49ab38
push 0x54cfe0
push esi
mov byte [esp + 0x70], 5
call fcn.004cc21d
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x18], edi
test edi, edi
je 0x49aa75
push 0
call fcn.004cb380
pop ecx
mov dword [esp + 0x40], edi
test edi, edi
je 0x49ab2a
push esi
push 0
push dword [esp + 0x20]
call fcn.004d7710
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
lea edx, [esp + 0x3c]
call fcn.004310b0
mov edi, eax
mov byte [esp + 0x68], 6
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x38]
call fcn.004310b0
mov dword [esp + 0x30], eax
mov byte [esp + 0x68], 7
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x34]
call fcn.004310b0
push dword [esp + 0x14]
mov edi, dword [edi]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
mov eax, dword [eax]
push esi
push dword [esp + 0x20]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
lea eax, [esp + 0x34]
call fcn.0042afc0
lea eax, [esp + 0x38]
call fcn.0042afc0
lea eax, [esp + 0x3c]
mov byte [esp + 0x68], 5
call fcn.0042afc0
cmp edi, dword [esp + 0x20]
jne 0x49ab16
mov eax, 0x100
add esi, eax
add dword [esp + 0x20], eax
jmp 0x49ab2a
mov eax, dword [esp + 0x54]
test eax, eax
je 0x49ab2a
mov ebx, dword [esp + 0x18]
call fcn.0040c040
mov ebx, dword [ebp + 0xc]
push dword [esp + 0x18]
call fcn.004cb380
mov edi, dword [esp + 0x28]
pop ecx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x6c], 0
call fcn.0040cf60
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
jb 0x49aa28
jmp 0x49b441
push 0x54cfe0
push esi
mov byte [esp + 0x70], 8
call fcn.004cc21d
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x1c], edi
test edi, edi
je 0x49ab82
push 0
call fcn.004cb380
pop ecx
mov dword [esp + 0x40], edi
test edi, edi
je 0x49ac51
push esi
push 0
push dword [esp + 0x24]
call fcn.004d7710
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
lea edx, [esp + 0x30]
call fcn.004310b0
mov edi, eax
mov byte [esp + 0x68], 9
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x34]
call fcn.004310b0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x68], 0xa
mov ebx, dword [ebx + 4]
lea edx, [esp + 0x38]
mov ecx, ebx
call fcn.004310b0
push dword [esp + 0x14]
mov edi, dword [edi]
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
mov eax, dword [eax]
push esi
push dword [esp + 0x24]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
lea eax, [esp + 0x38]
call fcn.0042afc0
lea eax, [esp + 0x34]
call fcn.0042afc0
lea eax, [esp + 0x30]
mov byte [esp + 0x68], 8
call fcn.0042afc0
dec esi
cmp edi, esi
je 0x49ac51
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x68], 0xb
test esi, esi
je 0x49ac41
mov ebx, dword [esp + 0x1c]
and dword [esi], 0
call fcn.0040c040
jmp 0x49ac43
xor esi, esi
mov ecx, dword [ebp + 0x14]
push esi
mov byte [esp + 0x6c], 8
call fcn.0040ed50
push dword [esp + 0x1c]
jmp 0x49b43b
cmp eax, 2
jne 0x49af39
cmp dword [ebp + 0x10], 4
jb 0x49b45d
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x68], 0xc
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x3c]
call fcn.004310b0
mov eax, dword [eax]
push 0x25
push eax
call fcn.004ce890
pop ecx
mov esi, eax
pop ecx
lea eax, [esp + 0x3c]
call fcn.0042afc0
mov ecx, dword [ebx + 0x28]
test esi, esi
je 0x49ad15
lea edx, [esp + 0x38]
call fcn.004310b0
mov byte [esp + 0x68], 0xd
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
call fcn.00466a28
mov byte [esp + 0x68], 0xe
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49ad06
cmp dword [esi + 0xc], 0
jl 0x49acf9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49acf9
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49ad06
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
call fcn.0042afc0
lea eax, [esp + 0x38]
jmp 0x49ad67
lea edx, [esp + 0x3c]
call fcn.004310b0
mov byte [esp + 0x68], 0xf
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49ad63
cmp dword [esi + 0xc], 0
jl 0x49ad56
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49ad56
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49ad63
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
mov byte [esp + 0x68], 0xc
call fcn.0042afc0
mov eax, dword [ebx + 0x10]
cmp dword [eax], 5
jne 0x49ae9a
mov esi, dword [eax + 8]
xor edi, edi
mov dword [esp + 0x28], esi
cmp esi, edi
je 0x49b441
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov dword [esp + 0x24], eax
cmp eax, edi
jbe 0x49b441
cmp dword [ebp + 0x10], 5
jb 0x49adaf
mov ecx, dword [ebx + 0x40]
call fcn.0040c5b0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x24], edi
jbe 0x49ae70
push dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov byte [esp + 0x68], 0x10
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49ae4f
call fcn.0040ef50
test al, al
je 0x49ae4f
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x34]
call fcn.004310b0
mov esi, eax
mov byte [esp + 0x68], 0x11
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x38]
call fcn.004310b0
mov edi, eax
mov byte [esp + 0x68], 0x12
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x3c]
call fcn.004310b0
push dword [esp + 0x14]
mov esi, dword [esi]
mov edi, dword [edi]
mov eax, dword [eax]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esp + 0x3c]
call fcn.0042afc0
lea eax, [esp + 0x38]
call fcn.0042afc0
lea eax, [esp + 0x34]
call fcn.0042afc0
inc dword [esp + 0x20]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x6c], 0xc
call fcn.0040cf60
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jb 0x49adc1
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x40], ecx
mov byte [esp + 0x68], 0x13
test ecx, ecx
je 0x49af24
mov eax, dword [esp + 0x20]
jmp 0x49af1d
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x34]
call fcn.004310b0
mov esi, eax
mov byte [esp + 0x68], 0x14
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x38]
call fcn.004310b0
mov edi, eax
mov byte [esp + 0x68], 0x15
mov ebx, dword [ebx + 4]
lea edx, [esp + 0x3c]
mov ecx, ebx
call fcn.004310b0
push dword [esp + 0x14]
mov esi, dword [esi]
mov edi, dword [edi]
mov eax, dword [eax]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, eax
lea eax, [esp + 0x3c]
call fcn.0042afc0
lea eax, [esp + 0x38]
call fcn.0042afc0
lea eax, [esp + 0x34]
call fcn.0042afc0
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x40], ecx
mov byte [esp + 0x68], 0x16
test ecx, ecx
je 0x49af24
mov eax, esi
call fcn.0041a730
jmp 0x49af26
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
mov byte [esp + 0x6c], 0xc
call fcn.0040ed50
jmp 0x49b441
cmp eax, 3
jne 0x49b1a0
cmp dword [ebp + 0x10], edx
jb 0x49b45d
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x68], 0x17
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x3c]
call fcn.004310b0
mov eax, dword [eax]
push 0x25
push eax
call fcn.004ce890
pop ecx
mov esi, eax
pop ecx
lea eax, [esp + 0x3c]
call fcn.0042afc0
mov ecx, dword [ebx + 4]
test esi, esi
je 0x49aff3
lea edx, [esp + 0x38]
call fcn.004310b0
mov byte [esp + 0x68], 0x18
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
call fcn.00466a28
mov byte [esp + 0x68], 0x19
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49afe4
cmp dword [esi + 0xc], 0
jl 0x49afd7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49afd7
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49afe4
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
call fcn.0042afc0
lea eax, [esp + 0x38]
jmp 0x49b045
lea edx, [esp + 0x3c]
call fcn.004310b0
mov byte [esp + 0x68], 0x1a
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49b041
cmp dword [esi + 0xc], 0
jl 0x49b034
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49b034
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49b041
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
call fcn.0042afc0
cmp dword [ebp + 0x10], 2
mov esi, 0x100
jb 0x49b05f
mov ecx, dword [ebx + 0x10]
call fcn.0040c5b0
mov esi, eax
mov edi, 0x54cfe0
push edi
push esi
mov byte [esp + 0x70], 0x1b
call fcn.004cc21d
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x49b084
push 0
call fcn.004cb380
pop ecx
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x49b437
push esi
push 0
push ebx
call fcn.004d7710
add esp, 0xc
push dword [esp + 0x14]
mov eax, 0x514d70
push esi
push ebx
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esi, 0xfffffffe
cmp eax, esi
je 0x49b437
push edi
push 0x20
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x68], 0x1c
test eax, eax
je 0x49b0de
mov esi, eax
call fcn.00460b7c
mov edi, eax
jmp 0x49b0e0
xor edi, edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x68], 0x1d
test edi, edi
je 0x49b196
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
je 0x49b169
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x68], 0x1e
test esi, esi
je 0x49b121
and dword [esi], 0
call fcn.0040c040
jmp 0x49b123
xor esi, esi
push esi
lea esi, [esp + 0x48]
mov byte [esp + 0x6c], 0x1d
call fcn.0040ec70
mov byte [esp + 0x68], 0x1f
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov byte [esp + 0x68], 0x1d
mov ecx, esi
mov dword [esp + 0x44], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b158
sub eax, esi
lea ebx, [ebx + eax + 1]
cmp byte [ebx], cl
jne 0x49b0fa
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x49b18b
and dword [esp + 0x20], 0
mov dword [eax + 8], edi
mov dword [eax], 5
jmp 0x49b18d
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040ed50
mov byte [esp + 0x68], 0x1b
jmp 0x49b425
cmp eax, 4
jne 0x49b44c
cmp dword [ebp + 0x10], 2
jb 0x49b45d
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x68], 0x20
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x3c]
call fcn.004310b0
mov eax, dword [eax]
push 0x25
push eax
call fcn.004ce890
pop ecx
mov esi, eax
pop ecx
lea eax, [esp + 0x3c]
call fcn.0042afc0
test esi, esi
je 0x49b25b
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x38]
call fcn.004310b0
mov byte [esp + 0x68], 0x21
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
call fcn.00466a28
mov byte [esp + 0x68], 0x22
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49b24c
cmp dword [esi + 0xc], 0
jl 0x49b23f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49b23f
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49b24c
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
call fcn.0042afc0
lea eax, [esp + 0x38]
jmp 0x49b2b0
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x3c]
call fcn.004310b0
mov byte [esp + 0x68], 0x23
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x49b2ac
cmp dword [esi + 0xc], 0
jl 0x49b29f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49b29f
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x49b2ac
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x3c]
call fcn.0042afc0
cmp dword [ebp + 0x10], 3
mov esi, 0x100
jb 0x49b2ca
mov ecx, dword [ebx + 0x1c]
call fcn.0040c5b0
mov esi, eax
push 0x54cfe0
push esi
mov byte [esp + 0x70], 0x24
call fcn.004cc21d
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x28], edi
test edi, edi
je 0x49b2ee
push 0
call fcn.004cb380
pop ecx
mov dword [esp + 0x40], edi
test edi, edi
je 0x49b437
push esi
push 0
push edi
call fcn.004d7710
mov ebx, dword [ebx + 4]
add esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, ebx
call fcn.004310b0
push dword [esp + 0x14]
mov eax, dword [eax]
push esi
push edi
push 0x514d70
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea eax, [esp + 0x3c]
call fcn.0042afc0
add esi, 0xfffffffe
cmp ebx, esi
je 0x49b437
push 0x54cfe0
push 0x20
mov ebx, edi
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x68], 0x25
test eax, eax
je 0x49b368
mov esi, eax
call fcn.00460b7c
mov edi, eax
jmp 0x49b36a
xor edi, edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x68], 0x26
test edi, edi
je 0x49b420
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
je 0x49b3f3
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x68], 0x27
test esi, esi
je 0x49b3ab
and dword [esi], 0
call fcn.0040c040
jmp 0x49b3ad
xor esi, esi
push esi
lea esi, [esp + 0x48]
mov byte [esp + 0x6c], 0x26
call fcn.0040ec70
mov byte [esp + 0x68], 0x28
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov byte [esp + 0x68], 0x26
mov ecx, esi
mov dword [esp + 0x44], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b3e2
sub eax, esi
lea ebx, [ebx + eax + 1]
cmp byte [ebx], cl
jne 0x49b384
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x49b415
and dword [esp + 0x20], 0
mov dword [eax + 8], edi
mov dword [eax], 5
jmp 0x49b417
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040ed50
mov byte [esp + 0x68], 0x24
cmp dword [esp + 0x20], 0
je 0x49b437
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
push dword [esp + 0x28]
call fcn.004cb380
pop ecx
lea eax, [esp + 0x14]
call fcn.0042afc0
jmp 0x49b45d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0046626b
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10