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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49004c
push eax
mov dword fs:[0], esp
sub esp, 0x280
push edi
mov edi, dword [esp + 0x294]
test edi, edi
jne 0x476fef
xor eax, eax
pop edi
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
add esp, 0x28c
ret
mov ecx, 0x4ab078
mov dword [esp + 0x64], 1
call fcn.0047be50
test eax, eax
je 0x47701e
lea ecx, [esp + 0x64]
push ecx
push 1
push str.Version
push str.ShortcutSet
mov ecx, eax
call dword [0x4910c8]
mov edx, dword [esp + 0x64]
push ebx
push ebp
push esi
push edx
push str.Version
push str.ScriptAuto
mov ecx, edi
call dword [0x491150]
mov eax, dword [0x4ab050]
mov ebp, dword [0x491314]
xor ebx, ebx
test eax, eax
jle 0x4770b3
xor esi, esi
push ebx
lea eax, [esp + 0x1c]
push 0x49f1e0
push eax
call ebp
mov eax, dword [0x4ab04c]
add esp, 0xc
lea ecx, [esi + eax + 0x24]
lea edx, [esi + eax + 4]
mov eax, dword [esi + eax]
push ecx
push edx
push eax
call fcn.004783d0
add esp, 4
lea ecx, [esp + 0x98]
push eax
push str.AddCommand___s_____s_____s__
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
mov ecx, edi
push edx
push eax
push str.ScriptAuto
call dword [0x49114c]
mov eax, dword [0x4ab050]
inc ebx
add esi, 0xa4
cmp ebx, eax
jl 0x47704b
mov ecx, dword [0x4aafc4]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x54], eax
je 0x47723b
push ebx
lea ecx, [esp + 0x1c]
push 0x49f1e0
push ecx
call ebp
mov ecx, dword [esp + 0x60]
mov esi, dword [0x491258]
add esp, 0xc
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x4770ea
mov eax, esi
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x4770f3
mov edx, esi
mov ecx, dword [ecx + 0x2c]
push ecx
push eax
push edx
lea edx, [esp + 0x9c]
push str.RegisterFunctionAlias___s_____s____d
push edx
call ebp
mov edi, eax
mov eax, dword [esp + 0x68]
add esp, 0x14
mov eax, dword [eax + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x4771d0
mov cl, byte [esi + 8]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
call dword [0x491248]
mov edx, dword [0x491230]
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
lea eax, [esi + 8]
push 0
push eax
call dword [0x491234]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x298], 0
test eax, eax
je 0x477196
lea ecx, [esp + 0x2c]
push 0x4a63b4
push ecx
call dword [0x491224]
add esp, 8
test al, al
jne 0x477196
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x477181
mov eax, dword [0x491258]
push eax
lea edx, [esp + edi + 0x94]
push str.____s_
push edx
call ebp
add esp, 0xc
jmp 0x4771a8
lea eax, [esp + edi + 0x90]
push 0x4a65b4
push eax
call ebp
add esp, 8
mov esi, dword [esi]
push 1
lea ecx, [esp + 0x30]
add edi, eax
mov dword [esp + 0x29c], 0xffffffff
call dword [0x491248]
mov ecx, dword [esp + 0x54]
cmp esi, dword [ecx + 0x34]
jne 0x47711e
lea edx, [esp + edi + 0x90]
mov edi, 0x4a65b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x90]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2a8]
push str.ScriptAuto
call dword [0x49114c]
lea ecx, [esp + 0x54]
call fcn.00479ab0
mov eax, dword [0x4aafc4]
mov ecx, dword [esp + 0x54]
inc ebx
cmp ecx, eax
jne 0x4770c7
mov edi, dword [esp + 0x2a0]
push ebx
push str.ScriptAuto
push edi
mov ecx, 0x4a90b8
call fcn.0044c6e0
mov ebx, eax
mov eax, dword [0x4aa700]
xor esi, esi
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x477319
push ebx
lea edx, [esp + 0x1c]
push 0x49f1e0
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410a10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
push 0x4a6318
lea ecx, [esp + 0x9c]
push str.MoveWindow___s____d___d_
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
mov ecx, edi
push edx
push eax
push str.ScriptAuto
call dword [0x49114c]
inc ebx
lea ecx, [esp + 0x18]
push ebx
push 0x49f1e0
push ecx
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.00410c40
neg eax
sbb eax, eax
lea edx, [esp + 0x90]
neg eax
push eax
push 0x4a6318
push str.ShowWindow___s____d_
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
mov eax, dword [0x4aa644]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x4773db
push ebx
lea edx, [esp + 0x1c]
push 0x49f1e0
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410a10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
push str.statustool
lea ecx, [esp + 0x9c]
push str.MoveWindow___s____d___d_
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
mov ecx, edi
push edx
push eax
push str.ScriptAuto
call dword [0x49114c]
inc ebx
lea ecx, [esp + 0x18]
push ebx
push 0x49f1e0
push ecx
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.00410c40
neg eax
sbb eax, eax
lea edx, [esp + 0x90]
neg eax
push eax
push str.statustool
push str.ShowWindow___s____d_
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
mov eax, dword [0x4aa65c]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x47749d
push ebx
lea edx, [esp + 0x1c]
push 0x49f1e0
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410a10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
push str.normaltool
lea ecx, [esp + 0x9c]
push str.MoveWindow___s____d___d_
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
mov ecx, edi
push edx
push eax
push str.ScriptAuto
call dword [0x49114c]
inc ebx
lea ecx, [esp + 0x18]
push ebx
push 0x49f1e0
push ecx
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.00410c40
neg eax
sbb eax, eax
lea edx, [esp + 0x90]
neg eax
push eax
push str.normaltool
push str.ShowWindow___s____d_
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
mov eax, dword [0x4aa650]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x477c8c
push ebx
lea edx, [esp + 0x1c]
push 0x49f1e0
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410a10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
push str.chatroom
lea ecx, [esp + 0x9c]
push str.MoveWindow___s____d___d_
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
mov ecx, edi
push edx
push eax
push str.ScriptAuto
call dword [0x49114c]
inc ebx
lea ecx, [esp + 0x18]
push ebx
push 0x49f1e0
push ecx
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x88]
lea eax, [esp + 0x84]
push edx
push eax
call fcn.00410a80
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push ecx
push edx
push str.chatroom
lea eax, [esp + 0x9c]
push str.SizeWindow___s____d___d_
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x90]
lea edx, [esp + 0x18]
push ecx
push edx
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
lea eax, [esp + 0x18]
push ebx
push 0x49f1e0
push eax
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.00410c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x90]
neg eax
push eax
push str.chatroom
push str.ShowWindow___s____d_
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
push edx
push eax
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
lea ecx, [esp + 0x18]
push ebx
push 0x49f1e0
push ecx
call ebp
call fcn.00456060
push eax
lea edx, [esp + 0xa0]
push str.SetChatFontSize__d_
push edx
call ebp
add esp, 0x18
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.ScriptAuto
mov ecx, edi
call dword [0x49114c]
inc ebx
xor eax, eax
mov ecx, eax
inc eax
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call fcn.004560e0
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x58], eax
je 0x4777da
push ebx
lea ecx, [esp + 0x1c]
push 0x49f1e0
push ecx
call ebp
mov edx, dword [esp + 0x30]
push edx
call fcn.004116f0
add esp, 0x10
mov edi, eax
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x44]
push esi
mov dword [esp + 0x90], edi
mov byte [esp + 0x48], al
call dword [0x491248]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x4c]
call dword [0x49124c]
test al, al
je 0x4776bc
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x48]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
xor esi, esi
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x298], 1
cmp eax, esi
jne 0x4776db
mov edx, dword [0x491258]
mov dword [esp + 0x14], edx
jmp 0x4776df
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004116f0
mov cl, byte [esp + 0x17]
mov edx, eax
mov byte [esp + 0x30], cl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [0x491264]
mov eax, dword [esp + 0x30]
cmp eax, esi
jne 0x477727
mov eax, dword [0x491258]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x90]
push edx
push eax
mov eax, dword [esp + 0x60]
push eax
push str.SetChannelTextColor___s_____s_____s__
push ecx
call ebp
mov eax, dword [esp + 0x44]
add esp, 0x14
cmp eax, esi
je 0x477769
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477760
cmp al, 0xff
je 0x477760
dec al
mov byte [ecx], al
jmp 0x477769
push ecx
call fcn.00483008
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], esi
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x298], 0xffffffff
je 0x4777a5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47779c
cmp al, 0xff
je 0x47779c
dec al
mov byte [ecx], al
jmp 0x4777a5
push ecx
call fcn.00483008
add esp, 4
mov ecx, dword [esp + 0x2a0]
lea edx, [esp + 0x90]
lea eax, [esp + 0x18]
push edx
push eax
push str.ScriptAuto
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call dword [0x49114c]
mov eax, dword [esp + 0x5c]
inc ebx
jmp 0x47760c
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call fcn.00456200
push ebx
lea eax, [esp + 0x28]
push 0x49f1e0
push eax
call ebp
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004116f0
mov edx, eax
mov al, byte [esp + 0x2f]
mov byte [esp + 0x60], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x4c]
call dword [0x491264]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x298], 2
cmp eax, esi
jne 0x477859
mov ecx, dword [0x491258]
mov dword [esp + 0x14], ecx
jmp 0x47785d
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x28]
push edx
call fcn.004116f0
mov edx, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x30], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [0x491264]
mov eax, dword [esp + 0x30]
cmp eax, esi
jne 0x4778a5
mov eax, dword [0x491258]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x90]
push ecx
push eax
push str.SetMeTextColor___s_____s__
push edx
call ebp
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, esi
je 0x4778e2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4778d9
cmp al, 0xff
je 0x4778d9
dec al
mov byte [ecx], al
jmp 0x4778e2
push ecx
call fcn.00483008
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], esi
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x298], 0xffffffff
je 0x47791e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477915
cmp al, 0xff
je 0x477915
dec al
mov byte [ecx], al
jmp 0x47791e
push ecx
call fcn.00483008
add esp, 4
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x2a8]
push str.ScriptAuto
call dword [0x49114c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push 1
inc ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call fcn.00456200
push ebx
lea ecx, [esp + 0x28]
push 0x49f1e0
push ecx
call ebp
mov edx, dword [esp + 0x3c]
push edx
call fcn.004116f0
mov edx, eax
mov al, byte [esp + 0x2f]
mov byte [esp + 0x60], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x4c]
call dword [0x491264]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x298], 3
cmp eax, esi
jne 0x4779be
mov ecx, dword [0x491258]
mov dword [esp + 0x14], ecx
jmp 0x4779c2
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x28]
push edx
call fcn.004116f0
mov edx, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x30], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [0x491264]
mov eax, dword [esp + 0x30]
cmp eax, esi
jne 0x477a0a
mov eax, dword [0x491258]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x90]
push ecx
push eax
push str.SetFriendTextColor___s_____s__
push edx
call ebp
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, esi
je 0x477a47
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477a3e
cmp al, 0xff
je 0x477a3e
dec al
mov byte [ecx], al
jmp 0x477a47
push ecx
call fcn.00483008
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], esi
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x298], 0xffffffff
je 0x477a83
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477a7a
cmp al, 0xff
je 0x477a7a
dec al
mov byte [ecx], al
jmp 0x477a83
push ecx
call fcn.00483008
add esp, 4
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x2a8]
push str.ScriptAuto
call dword [0x49114c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push 2
inc ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call fcn.00456200
push ebx
lea ecx, [esp + 0x28]
push 0x49f1e0
push ecx
call ebp
mov edx, dword [esp + 0x3c]
push edx
call fcn.004116f0
mov cl, byte [esp + 0x2f]
mov dword [esp + 0x74], eax
mov byte [esp + 0x90], cl
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x7c]
call dword [0x49124c]
test al, al
je 0x477b3e
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x78]
mov ecx, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
call dword [0x491228]
xor esi, esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x298], 4
cmp eax, esi
jne 0x477b56
mov eax, dword [0x491258]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
push ecx
call fcn.004116f0
mov dl, byte [esp + 0x17]
mov dword [esp + 0x5c], eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov byte [esp + 0x60], dl
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x68]
call dword [0x49124c]
test al, al
je 0x477bca
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
xor esi, esi
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x64]
cmp eax, esi
jne 0x477bd7
mov eax, dword [0x491258]
mov edx, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x98]
push str.SetStrangerTextColor___s_____s__
push eax
call ebp
mov eax, dword [esp + 0x74]
add esp, 0x10
cmp eax, esi
je 0x477c14
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477c0b
cmp al, 0xff
je 0x477c0b
dec al
mov byte [ecx], al
jmp 0x477c14
push ecx
call fcn.00483008
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], esi
cmp eax, esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x298], 0xffffffff
je 0x477c50
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x477c47
cmp al, 0xff
je 0x477c47
dec al
mov byte [ecx], al
jmp 0x477c50
push ecx
call fcn.00483008
add esp, 4
lea ecx, [esp + 0x90]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2a4]
push edx
push str.ScriptAuto
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call dword [0x49114c]
mov edi, dword [esp + 0x2a0]
inc ebx
push ebx
push str.ScriptAuto
push edi
call fcn.00471610
mov ecx, dword [esp + 0x29c]
add esp, 0xc
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x28c
ret