Function at 0x413780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cd4f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1168
call fcn.00461c20
mov eax, dword [0x49b7f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x1144], esi
mov dword [ebp - 0x1158], ecx
mov dword [ebp - 0x1140], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x115c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1160], eax
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x1136], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1154], eax
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x1135], al
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1148], eax
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 0x1170], esi
mov dword [ebp - 0x1164], ebx
mov dword [ebp - 0x1168], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x113c], eax
mov ecx, esi
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413840
sub ecx, edx
sar ecx, 1
jne 0x4138d6
push str.Authenticate
lea ecx, [ebp - 0x113c]
call fcn.00413360
mov edx, ebx
lea ecx, [ebp - 0x1174]
call fcn.004120b0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
jne 0x4138b9
xor esi, esi
mov dword [ebp - 0x1144], esi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1174]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4138aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov dword [ebp - 0x1170], esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4138d9
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1144], esi
test esi, esi
jne 0x413884
push 0x8007000e
call fcn.0040fc70
or ebx, 0xffffffff
cmp edi, 3
je 0x4138ea
mov byte [ebp - 0x116c], 0
cmp edi, 2
jne 0x4138f1
mov byte [ebp - 0x116c], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1150], eax
push dword [ebp - 0x116c]
lea edx, [ebp - 0x113c]
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 4
call fcn.004124e0
add esp, 4
push eax
lea ecx, [ebp - 0x1150]
mov byte [ebp - 4], 5
call fcn.004142f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x114c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413958
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
jmp 0x41398f
mov esi, dword [ebp - 0x1150]
cmp dword [esi - 0xc], 0
je 0x4139a6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413a00
cmp byte [ebp - 0x116c], 0
je 0x413a00
push 0
lea edx, [ebp - 0x113c]
lea ecx, [ebp - 0x1168]
call fcn.004124e0
add esp, 4
push eax
lea ecx, [ebp - 0x1150]
mov byte [ebp - 4], 7
call fcn.004142f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1168]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4139f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1150]
xor edi, edi
push str.Start_Roblox.exe
lea ecx, [ebp - 0x113c]
call fcn.00413360
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push eax
call fcn.00454000
add esp, 0xc
cmp edi, 3
je 0x413a9d
cmp edi, 2
je 0x413a9d
push str._play
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp byte [ebp - 0x1135], 0
mov ecx, str.nonHidden
cmovne ecx, dword [ebp - 0x1148]
cmp byte [ebp - 0x1136], 0
push ecx
mov ecx, str.nonSilent
cmovne ecx, dword [ebp - 0x1154]
push ecx
push dword [ebp - 0x1144]
push dword [ebp - 0x1164]
push dword [ebp - 0x115c]
push eax
push esi
push str.__s___s__s__s__s__s__s
lea eax, [ebp - 0x1014]
push 0x800
push eax
call fcn.0040faf0
add esp, 0x28
jmp 0x414000
lea ecx, [ebp - 0x1134]
call fcn.00403a20
xor ecx, ecx
mov byte [ebp - 4], 8
cmp byte [str._build], cl
mov eax, 6
cmove eax, ecx
push eax
push str._build
lea ecx, [ebp - 0x10a4]
call fcn.004099a0
mov edi, dword [ebp - 0x115c]
xor eax, eax
mov dword [ebp - 0x1030], 7
mov dword [ebp - 0x1034], 0
mov word [ebp - 0x1044], ax
cmp word [edi], ax
jne 0x413af9
xor ecx, ecx
jmp 0x413b0f
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413b00
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1044]
call fcn.0040a280
lea edx, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 9
call fcn.0042f811
mov edi, eax
lea eax, [ebp - 0x10ec]
cmp eax, edi
je 0x413b7b
cmp dword [ebp - 0x10d8], 0x10
jb 0x413b54
push dword [ebp - 0x10ec]
call fcn.0044f82f
add esp, 4
push edi
lea ecx, [ebp - 0x10ec]
mov dword [ebp - 0x10d8], 0xf
mov dword [ebp - 0x10dc], 0
mov byte [ebp - 0x10ec], 0
call fcn.00408b10
cmp dword [ebp - 0x1018], 0x10
jb 0x413b92
push dword [ebp - 0x102c]
call fcn.0044f82f
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1030], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x413bc8
push dword [ebp - 0x1044]
call fcn.0044f82f
add esp, 4
mov edi, dword [ebp - 0x1164]
xor eax, eax
mov dword [ebp - 0x1030], 7
mov dword [ebp - 0x1034], 0
mov word [ebp - 0x1044], ax
cmp word [edi], ax
jne 0x413bf4
xor ecx, ecx
jmp 0x413c0f
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413c00
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1044]
call fcn.0040a280
lea edx, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xa
call fcn.0042f811
mov edi, eax
lea eax, [ebp - 0x111c]
cmp eax, edi
je 0x413c7b
cmp dword [ebp - 0x1108], 0x10
jb 0x413c54
push dword [ebp - 0x111c]
call fcn.0044f82f
add esp, 4
push edi
lea ecx, [ebp - 0x111c]
mov dword [ebp - 0x1108], 0xf
mov dword [ebp - 0x110c], 0
mov byte [ebp - 0x111c], 0
call fcn.00408b10
cmp dword [ebp - 0x1018], 0x10
jb 0x413c92
push dword [ebp - 0x102c]
call fcn.0044f82f
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1030], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x413cc8
push dword [ebp - 0x1044]
call fcn.0044f82f
add esp, 4
mov edx, dword [ebp - 0x1144]
xor eax, eax
mov dword [ebp - 0x1030], 7
mov dword [ebp - 0x1034], 0
mov word [ebp - 0x1044], ax
cmp word [edx], ax
jne 0x413cf4
xor ecx, ecx
jmp 0x413d0f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413d00
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1044]
call fcn.0040a280
lea edx, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xb
call fcn.0042f811
mov edi, eax
lea eax, [ebp - 0x1104]
cmp eax, edi
je 0x413d7b
cmp dword [ebp - 0x10f0], 0x10
jb 0x413d54
push dword [ebp - 0x1104]
call fcn.0044f82f
add esp, 4
push edi
lea ecx, [ebp - 0x1104]
mov dword [ebp - 0x10f0], 0xf
mov dword [ebp - 0x10f4], 0
mov byte [ebp - 0x1104], 0
call fcn.00408b10
cmp dword [ebp - 0x1018], 0x10
jb 0x413d92
push dword [ebp - 0x102c]
call fcn.0044f82f
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1030], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x413dc8
push dword [ebp - 0x1044]
call fcn.0044f82f
add esp, 4
xor ecx, ecx
cmp byte [str._avatar], cl
mov eax, 7
cmove eax, ecx
push eax
push str._avatar
lea ecx, [ebp - 0x108c]
call fcn.004099a0
cmp byte [ebp - 0x1136], 0
je 0x413eb3
push dword [ebp - 0x1154]
lea ecx, [ebp - 0x1044]
call fcn.00408580
lea edx, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xc
call fcn.0042f811
mov edi, eax
lea eax, [ebp - 0x10d4]
cmp eax, edi
je 0x413e66
cmp dword [ebp - 0x10c0], 0x10
jb 0x413e3f
push dword [ebp - 0x10d4]
call fcn.0044f82f
add esp, 4
push edi
lea ecx, [ebp - 0x10d4]
mov dword [ebp - 0x10c0], 0xf
mov dword [ebp - 0x10c4], 0
mov byte [ebp - 0x10d4], 0
call fcn.00408b10
cmp dword [ebp - 0x1018], 0x10
jb 0x413e7d
push dword [ebp - 0x102c]
call fcn.0044f82f
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1030], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x413eb3
push dword [ebp - 0x1044]
call fcn.0044f82f
add esp, 4
cmp byte [ebp - 0x1135], 0
je 0x413f7d
push dword [ebp - 0x1148]
lea ecx, [ebp - 0x1044]
call fcn.00408580
lea edx, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xd
call fcn.0042f811
mov edi, eax
lea eax, [ebp - 0x10bc]
cmp eax, edi
je 0x413f30
cmp dword [ebp - 0x10a8], 0x10
jb 0x413f09
push dword [ebp - 0x10bc]
call fcn.0044f82f
add esp, 4
push edi
lea ecx, [ebp - 0x10bc]
mov dword [ebp - 0x10a8], 0xf
mov dword [ebp - 0x10ac], 0
mov byte [ebp - 0x10bc], 0
call fcn.00408b10
cmp dword [ebp - 0x1018], 0x10
jb 0x413f47
push dword [ebp - 0x102c]
call fcn.0044f82f
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1030], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x413f7d
push dword [ebp - 0x1044]
call fcn.0044f82f
add esp, 4
lea edx, [ebp - 0x1134]
lea ecx, [ebp - 0x105c]
call fcn.004126e0
cmp dword [ebp - 0x1048], 8
lea eax, [ebp - 0x105c]
cmovae eax, dword [ebp - 0x105c]
push eax
push esi
push str.__s___s
lea eax, [ebp - 0x1014]
push 0x800
push eax
call fcn.00450e04
add esp, 0x14
cmp dword [ebp - 0x1048], 8
jb 0x413fd4
push dword [ebp - 0x105c]
call fcn.0044f82f
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x1134]
mov dword [ebp - 0x1048], 7
mov dword [ebp - 0x104c], 0
mov word [ebp - 0x105c], ax
mov byte [ebp - 4], 3
call fcn.00403af0
movzx eax, byte [ebp - 0x1135]
push eax
push dword [ebp - 0x1148]
lea eax, [ebp - 0x1014]
push eax
push str.Final_cmd___s__unideEventName___s__hidden___d
push dword [ebp - 0x1140]
call fcn.004087a0
lea ecx, [ebp - 0x1014]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414031
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x113c]
call fcn.004110a0
lea ecx, [ebp - 0x1014]
call fcn.00412600
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41419a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41419a
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x113c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4141be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044f834
mov esp, ebp
pop ebp
ret