Function at 0x457700
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4b8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00488481
add esp, 4
call fcn.004601e0
test eax, eax
jne 0x45773b
push str.Failed_to_load_settings
call fcn.00458060
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x5e759a], 0
je 0x45774b
call fcn.00456680
jmp 0x457770
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x45fd50
push 0
push 0
mov dword [0x4f629c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2e53
call fcn.00478b29
add esp, 4
mov esi, eax
mov ecx, esi
call fcn.00405400
push 0x403910
push 0x4038e0
lea eax, [esi + 0x9ff]
mov dword [esi], vtable.RakClient.1.0
push 0x20
mov dword [esi + 0x9fa], eax
lea edi, [esi + 0x9ea]
push 0x11a
lea eax, [esi + 0xaff]
mov dword [edi], vtable.RakClient.0
push eax
mov dword [esi + 0x9ee], 0
mov dword [esi + 0x9f2], 0x800
mov dword [esi + 0x9f6], 0
mov byte [esi + 0x9fe], 1
call fcn.00478c8a
lea eax, [esi + 0xc18]
mov ecx, 0x20
mov byte [eax], 0
lea eax, [eax + 0x11a]
sub ecx, 1
jne 0x4577f1
mov dword [esi + 0x2e47], ecx
mov dword [0x4f5eb4], edi
test edi, edi
jne 0x457819
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi]
mov ecx, edi
push 0x240
call dword [eax + 0xb8]
xor ecx, ecx
call fcn.0045aea0
call fcn.0045ea30
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x4babd0
call fcn.00458060
add esp, 4
push 0x4bf228
call fcn.00458060
movzx eax, word [esp + 0x44]
add esp, 4
push eax
movzx eax, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x44]
push eax
movzx eax, word [esp + 0x40]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x4e]
push eax
push str.__RakSAMP_Lite__v0.9.1_Beta__Build_at_May_15_2024_23:06:31__initialized_on__02d__02d__02d__02d:_02d:_02d
call fcn.00458060
add esp, 0x1c
push str.__Authors:_jlfm__bartekdvd__P3ti__Rei
call fcn.00458060
add esp, 4
push str.__Visit_t.me_reiscripts
call fcn.00458060
add esp, 4
push 0x4bf228
call fcn.00458060
add esp, 4
push 0x4babd0
call fcn.00458060
mov eax, dword [0x4f6290]
add esp, 4
mov edi, dword [0x4f6184]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esp + 0x24], eax
mov eax, dword fs:[0x2c]
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
mov eax, dword [0x5e87ac]
cmp eax, dword [ecx + 4]
jg 0x457f39
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5e87d4]
cmp eax, dword [ecx + 4]
jg 0x457f72
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5e87b0]
cmp eax, dword [ecx + 4]
jg 0x457fab
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5e87e0]
cmp eax, dword [ecx + 4]
jg 0x457fd9
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5e87d0]
cmp eax, dword [ecx + 4]
jg 0x458012
push str._LUA__Loading_scripts...
call fcn.00458060
add esp, 4
call fcn.00422ed0
mov ecx, dword [0x5e75b5]
cmp ecx, 0x10
jge 0x457982
test ecx, ecx
mov eax, 1
cmovg eax, ecx
push eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call fcn.004576a0
cmp byte [0x4f60b9], 0
jne 0x45804b
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
nop word [eax + eax]
cmp byte [0x4f60b8], 0
je 0x457d95
cmp byte [0x4f60d8], 0
je 0x457d95
cmp byte [0x5e759a], 0
jne 0x457b8c
cmp byte [0x4f60bb], 0
jne 0x457b8c
call esi
xor ecx, ecx
sub eax, dword [0x5e87b8]
sbb ecx, dword [0x5e87bc]
mov dword [esp + 0x2c], ecx
jne 0x4579f5
cmp eax, 0x14d
jb 0x457b8c
movss xmm0, dword [0x5e7629]
lea eax, [esp + 0x60]
comiss xmm0, dword [0x4c03b0]
jbe 0x457a1c
push 0x4bf350
push 0x10
push eax
call fcn.00457410
add esp, 0xc
jmp 0x457a37
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.0f
push 0x10
push eax
call fcn.00457410
add esp, 0x14
movss xmm0, dword [0x5e762d]
lea eax, [esp + 0x50]
comiss xmm0, dword [0x4c03b0]
jbe 0x457a5e
push 0x4bf350
push 0x10
push eax
call fcn.00457410
add esp, 0xc
jmp 0x457a79
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.0f
push 0x10
push eax
call fcn.00457410
add esp, 0x14
call fcn.004593f0
sub esp, 0x20
lea eax, [esp + 0x70]
cvtss2sd xmm0, xmm0
xor cl, cl
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [0x5e7615]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x5e7611]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x5e760d]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x4f6184]
push dword [0x4f618c]
push eax
lea eax, [esp + 0x8c]
push eax
movzx eax, word [0x4f60c8]
imul eax, eax, 0x161
push str.jlfm__bartekdvd__P3ti__Rei
push dword [eax + 0x50b33f]
call fcn.00459450
movzx eax, ax
push eax
push 0x4f6190
push str.Hostname:__s_____Players:__d_____Ping:__d_____Authors:__s_nHealth:__s_____Armour:__s_____Skin:__d_____Money:___d_____X:__.2f_____Y:__.2f_____Z:__.2f______Angle:__.1f
lea eax, [esp + 0x1e4]
push 0x190
push eax
call fcn.00457410
add esp, 0x4c
lea ecx, [esp + 0x330]
lea eax, [esp + 0x1a0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x457b46
test dl, dl
je 0x457b42
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x457b46
add eax, 2
add ecx, 2
test dl, dl
jne 0x457b26
xor eax, eax
jmp 0x457b4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457b7b
lea eax, [esp + 0x1a0]
push eax
push dword [0x4f62a8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x334]
push eax
call fcn.004582b0
add esp, 8
call esi
mov dword [0x5e87b8], eax
mov dword [0x5e87bc], 0
cmp byte [0x4f60be], 0
je 0x457c85
cmp byte [0x5e75ac], 0
je 0x457c85
call esi
xor ecx, ecx
sub eax, dword [0x5e87d8]
sbb ecx, dword [0x5e87dc]
test ecx, ecx
ja 0x457bdb
jb 0x457bc3
cmp eax, 0x3e8
jae 0x457bdb
cmp dword [0x4f6184], edi
jne 0x457bdb
mov eax, dword [esp + 0x24]
cmp dword [0x4f6290], eax
je 0x457c85
lea ecx, [esp + 0x88]
call fcn.00401f20
push 0xcd
call fcn.0040dd10
call fcn.00488460
cdq
mov ecx, 0
idiv dword [0x5e75b1]
mov eax, dword [0x4f6290]
add edx, dword [0x5e75ad]
push dword [0x4f6184]
sub eax, edx
cmovs eax, ecx
lea ecx, [esp + 0x8c]
mov dword [0x4f6290], eax
call fcn.004199d0
push dword [0x4f6290]
lea ecx, [esp + 0x8c]
call fcn.004199d0
mov ecx, dword [0x4f5eb4]
lea edx, [esp + 0x88]
push 1
push 0
push 8
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x18]
mov eax, dword [0x4f6184]
mov dword [esp + 0x20], eax
mov eax, dword [0x4f6290]
mov dword [esp + 0x24], eax
call esi
lea ecx, [esp + 0x88]
mov dword [0x5e87d8], eax
mov dword [0x5e87dc], 0
call fcn.00401fd0
call esi
xor ecx, ecx
cmp ecx, dword [0x4f60d4]
jb 0x457d76
ja 0x457ca3
cmp eax, dword [0x4f60d0]
jb 0x457d76
cmp byte [0x4f60ba], cl
je 0x457eb3
cmp byte [0x4f60be], cl
je 0x457eb3
push 0x5e7318
mov ecx, 0x5e760d
call fcn.0041c070
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [0x5e7650]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4c0338]
comisd xmm0, xmm1
jbe 0x457d1e
mov ecx, 0x5e7318
call fcn.00459280
push str._COORD__Done_
mov byte [0x4f60ba], 0
call fcn.00458060
sub esp, 0x14
mov ecx, esp
push str.onCoordStop
call fcn.00405070
call fcn.0042a520
add esp, 0x18
jmp 0x457d71
call fcn.004592d0
mov esi, eax
mov ecx, 0x5e7318
push esi
lea eax, [esp + 0x48]
push eax
call fcn.004567f0
lea ecx, [esp + 0x44]
call fcn.00457430
lea eax, [esp + 0x70]
movaps xmm2, xmm0
push eax
lea ecx, [esp + 0x48]
call fcn.00456830
movss xmm2, dword [0x5e7650]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.00457480
push eax
mov ecx, esi
call fcn.004574b0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call fcn.00458310
call esi
xor ecx, ecx
cmp ecx, dword [0x4f60ec]
jb 0x457d91
ja 0x457d8c
cmp eax, dword [0x4f60e8]
jb 0x457d91
call fcn.00456860
mov edi, dword [esp + 0x20]
cmp byte [0x4f60bf], 0
jne 0x457e35
call esi
xor ecx, ecx
cmp ecx, dword [0x4f60c4]
jb 0x457e35
ja 0x457dbc
cmp eax, dword [0x4f60c0]
jb 0x457e35
sub esp, 0x18
mov ecx, esp
push str.onRequestConnect
call fcn.00405070
call fcn.0042a520
add esp, 0x18
test al, al
je 0x457e17
mov edx, dword [0x5e7560]
push ecx
push 0x5e757a
mov ecx, 0x5e7360
call fcn.004589b0
add esp, 8
test eax, eax
jne 0x457e35
mov eax, 0x10624dd3
imul dword [0x5e75b9]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str._NET__Connection_request_attempt_failed._Reconnecting_in__d_seconds.
call fcn.00458060
add esp, 8
mov byte [0x4f60bf], 0
call esi
add eax, dword [0x5e75b9]
mov dword [0x4f60c4], 0
mov dword [0x4f60c0], eax
call fcn.0045afa0
call esi
xor ecx, ecx
cmp ecx, dword [0x5e87cc]
jb 0x457e7e
ja 0x457e50
cmp eax, dword [0x5e87c8]
jb 0x457e7e
sub esp, 0x18
mov ecx, esp
push str.onUpdate
call fcn.00405070
call fcn.0042a520
add esp, 0x18
call esi
add eax, dword [0x5e75c5]
mov dword [0x5e87c8], eax
mov dword [0x5e87cc], 0
call fcn.004576a0
cmp byte [0x4f60b9], 0
jne 0x45804b
push dword [0x5e75b5]
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004576a0
cmp byte [0x4f60b9], 0
jne 0x45804b
jmp 0x4579a0
cmp byte [0x5e75ab], cl
je 0x457d71
call esi
xor ecx, ecx
sub eax, dword [0x5e87c0]
sbb ecx, dword [0x5e87c4]
mov dword [esp + 0x2c], ecx
jne 0x457ee0
cmp eax, 0x3e8
jbe 0x457d71
xor edi, edi
mov esi, 0x4f6329
cmp byte [esi - 9], 0
je 0x457f05
push esi
mov ecx, 0x5e760d
call fcn.0041c070
movss xmm1, dword [0x4c0318]
comiss xmm1, xmm0
ja 0x457f16
add esi, 0x15
inc edi
cmp esi, 0x50b329
jl 0x457ee7
jmp 0x457d6b
mov ecx, edi
call fcn.004590e0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov dword [0x5e87c0], eax
mov dword [0x5e87c4], 0
jmp 0x457d71
push 0x5e87ac
call fcn.004790a5
add esp, 4
cmp dword [0x5e87ac], 0xffffffff
jne 0x4578f0
call esi
push 0x5e87ac
mov dword [0x5e87b8], eax
mov dword [0x5e87bc], edx
call fcn.0047905b
add esp, 4
jmp 0x4578f0
push 0x5e87d4
call fcn.004790a5
add esp, 4
cmp dword [0x5e87d4], 0xffffffff
jne 0x457909
call esi
push 0x5e87d4
mov dword [0x5e87d8], eax
mov dword [0x5e87dc], edx
call fcn.0047905b
add esp, 4
jmp 0x457909
push 0x5e87b0
call fcn.004790a5
add esp, 4
cmp dword [0x5e87b0], 0xffffffff
jne 0x457922
call esi
push 0x5e87b0
call fcn.0047905b
add esp, 4
jmp 0x457922
push 0x5e87e0
call fcn.004790a5
add esp, 4
cmp dword [0x5e87e0], 0xffffffff
jne 0x45793b
call esi
push 0x5e87e0
mov dword [0x5e87c8], eax
mov dword [0x5e87cc], edx
call fcn.0047905b
add esp, 4
jmp 0x45793b
push 0x5e87d0
call fcn.004790a5
add esp, 4
cmp dword [0x5e87d0], 0xffffffff
jne 0x457954
call esi
push 0x5e87d0
mov dword [0x5e87c0], eax
mov dword [0x5e87c4], edx
call fcn.0047905b
add esp, 4
jmp 0x457954
call fcn.0045a0b0
int3