Function at 0x4564c0
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4b8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
call fcn.00468ba7
add esp, 4
call fcn.0045eb00
test eax, eax
jne 0x4564fd
push str.Failed_to_load_settings
call fcn.00456d60
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x5bd2fa], 0
je 0x45650d
call fcn.00455460
jmp 0x456532
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x45e680
push 0
push 0
mov dword [0x4d5884], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2e53
call fcn.00461102
add esp, 4
mov esi, eax
mov ecx, esi
call fcn.00405200
push 0x403810
push 0x4037e0
lea eax, [esi + 0x9ff]
mov dword [esi], vtable.RakClient.1.0
push 0x20
mov dword [esi + 0x9fa], eax
lea eax, [esi + 0xaff]
push 0x11a
push eax
mov dword [esi + 0x9ea], 0x49d0f0
mov dword [esi + 0x9ee], 0
mov dword [esi + 0x9f2], 0x800
mov dword [esi + 0x9f6], 0
mov byte [esi + 0x9fe], 1
call fcn.00461263
lea eax, [esi + 0xc18]
mov ecx, 0x20
mov byte [eax], 0
lea eax, [eax + 0x11a]
sub ecx, 1
jne 0x4565b1
mov dword [esi + 0x2e47], ecx
lea ecx, [esi + 0x9ea]
mov dword [0x4d56b4], ecx
test ecx, ecx
jne 0x4565df
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
push 0x240
call dword [eax + 0xb8]
xor ecx, ecx
call fcn.00459a20
call fcn.0045d380
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x49d580
call fcn.00456d60
add esp, 4
push 0x4a1aec
call fcn.00456d60
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_initialized_on__02d__02d__02d__02d:_02d:_02d
call fcn.00456d60
add esp, 0x1c
push str.__Authors:_jlfm__bartekdvd__P3ti__Rei
call fcn.00456d60
add esp, 4
push str.__Visit_t.me_reiscripts
call fcn.00456d60
add esp, 4
push 0x4a1aec
call fcn.00456d60
add esp, 4
push 0x49d580
call fcn.00456d60
mov eax, dword [0x4d5768]
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [0x4d5764]
mov dword [esp + 0x2c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5be50c]
cmp eax, dword [ecx + 4]
jg 0x456c5d
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5be528]
cmp eax, dword [ecx + 4]
jg 0x456c90
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5be514]
cmp eax, dword [ecx + 4]
jg 0x456cc3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5be52c]
cmp eax, dword [ecx + 4]
jg 0x456cf1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5be524]
cmp eax, dword [ecx + 4]
jg 0x456d24
push str._LUA__Loading_scripts...
call fcn.00456d60
add esp, 4
call fcn.00422440
mov ecx, dword [0x5bd311]
cmp ecx, 0x10
jge 0x45673f
test ecx, ecx
mov eax, 1
cmovg eax, ecx
push eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp byte [0x4d4309], 0
je 0x456768
mov ecx, 0x4b1df4
call fcn.00426740
mov dl, 1
mov ecx, eax
call fcn.004534a0
mov byte [0x4d4309], 0
cmp byte [0x4d430a], 0
jne 0x456c58
cmp byte [0x4d56ab], 0
je 0x456b23
cmp byte [0x4d56aa], 0
je 0x456b23
cmp byte [0x5bd2fa], 0
jne 0x45694c
cmp byte [0x4d56c1], 0
jne 0x45694c
call esi
sub eax, dword [0x5be520]
cmp eax, 0x14d
jb 0x45694c
movss xmm0, dword [0x5bd385]
lea eax, [esp + 0x60]
comiss xmm0, dword [0x4a2b78]
jbe 0x4567e3
push 0x4a1b68
push 0x10
push eax
call fcn.00456210
add esp, 0xc
jmp 0x4567fe
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.0f
push 0x10
push eax
call fcn.00456210
add esp, 0x14
movss xmm0, dword [0x5bd389]
lea eax, [esp + 0x50]
comiss xmm0, dword [0x4a2b78]
jbe 0x456825
push 0x4a1b68
push 0x10
push eax
call fcn.00456210
add esp, 0xc
jmp 0x456840
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.0f
push 0x10
push eax
call fcn.00456210
add esp, 0x14
call fcn.004581d0
sub esp, 0x20
lea eax, [esp + 0x70]
cvtss2sd xmm0, xmm0
xor cl, cl
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [0x5bd371]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x5bd36d]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x5bd369]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x4d5768]
push dword [0x4d576c]
push eax
lea eax, [esp + 0x8c]
push eax
movzx eax, word [0x4d56a8]
imul eax, eax, 0x15e
push str.jlfm__bartekdvd__P3ti__Rei
push dword [eax + 0x4ea90f]
call fcn.00458230
movzx eax, ax
push eax
push 0x4d5770
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.00456210
add esp, 0x4c
lea ecx, [esp + 0x330]
lea eax, [esp + 0x1a0]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456910
test dl, dl
je 0x45690c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456910
add eax, 2
add ecx, 2
test dl, dl
jne 0x4568f0
xor eax, eax
jmp 0x456915
sbb eax, eax
or eax, 1
test eax, eax
je 0x456945
lea eax, [esp + 0x1a0]
push eax
push dword [0x4d5874]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x334]
push eax
call fcn.00456f80
add esp, 8
call esi
mov dword [0x5be520], eax
cmp byte [0x4d56c8], 0
je 0x456a31
cmp byte [0x5bd308], 0
je 0x456a31
call esi
sub eax, dword [0x5be51c]
cmp eax, 0x3e8
jae 0x456991
mov eax, dword [esp + 0x28]
cmp dword [0x4d5768], eax
jne 0x456991
mov eax, dword [esp + 0x2c]
cmp dword [0x4d5764], eax
je 0x456a31
lea ecx, [esp + 0x88]
call fcn.00401e50
push 0xcd
call fcn.0040db30
call fcn.00468b86
cdq
mov ecx, 0
idiv dword [0x5bd30d]
mov eax, dword [0x4d5764]
add edx, dword [0x5bd309]
push dword [0x4d5768]
sub eax, edx
cmovs eax, ecx
lea ecx, [esp + 0x8c]
mov dword [0x4d5764], eax
call fcn.00419840
push dword [0x4d5764]
lea ecx, [esp + 0x8c]
call fcn.00419840
mov ecx, dword [0x4d56b4]
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 [0x4d5768]
mov dword [esp + 0x28], eax
mov eax, dword [0x4d5764]
mov dword [esp + 0x2c], eax
call esi
lea ecx, [esp + 0x88]
mov dword [0x5be51c], eax
call fcn.00401f00
call esi
cmp eax, dword [0x4d56b8]
jb 0x456b14
cmp byte [0x4d56c0], 0
je 0x456be9
cmp byte [0x4d56c8], 0
je 0x456be9
push 0x5bd084
mov ecx, 0x5bd369
call fcn.0041be10
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [0x5bd3af]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a2af8]
comisd xmm0, xmm1
jbe 0x456abc
mov ecx, 0x5bd084
call fcn.00458080
push str._COORD__Done_
mov byte [0x4d56c0], 0
call fcn.00456d60
sub esp, 0x14
mov ecx, esp
push str.onCoordStop
call fcn.00404f30
call fcn.004297d0
add esp, 0x18
jmp 0x456b0f
call fcn.004580c0
mov esi, eax
mov ecx, 0x5bd084
push esi
lea eax, [esp + 0x48]
push eax
call fcn.004555d0
lea ecx, [esp + 0x44]
call fcn.00456230
lea eax, [esp + 0x70]
movaps xmm2, xmm0
push eax
lea ecx, [esp + 0x48]
call fcn.00455610
movss xmm2, dword [0x5bd3af]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.00456280
push eax
mov ecx, esi
call fcn.004562b0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call fcn.00456fe0
call esi
cmp eax, dword [0x4d56b0]
jb 0x456b23
call fcn.00455640
cmp byte [0x4d430b], 0
jne 0x456ba5
call esi
cmp eax, dword [0x4d56c4]
jb 0x456ba5
sub esp, 0x18
mov ecx, esp
push str.onRequestConnect
call fcn.00404f30
call fcn.004297d0
add esp, 0x18
test al, al
je 0x456b91
mov edx, dword [0x5bd2c0]
push ecx
push 0x5bd2da
mov ecx, 0x5bd0c0
call fcn.004576a0
add esp, 8
test eax, eax
jne 0x456ba5
mov eax, 0x10624dd3
imul dword [0x5bd315]
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.00456d60
add esp, 8
mov byte [0x4d430b], 0
call esi
add eax, dword [0x5bd315]
mov dword [0x4d56c4], eax
call fcn.00459b20
call esi
cmp eax, dword [0x5be510]
jb 0x456bd8
sub esp, 0x18
mov ecx, esp
push str.onUpdate
call fcn.00404f30
call fcn.004297d0
add esp, 0x18
call esi
add eax, dword [0x5bd321]
mov dword [0x5be510], eax
push dword [0x5bd311]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x456745
cmp byte [0x5bd307], 0
je 0x456b0f
call esi
sub eax, dword [0x5be518]
cmp eax, 0x3e8
jbe 0x456b0f
xor edi, edi
mov esi, 0x4d58f9
cmp byte [esi - 9], 0
je 0x456c2e
push esi
mov ecx, 0x5bd369
call fcn.0041be10
movss xmm1, dword [0x4a2ad8]
comiss xmm1, xmm0
ja 0x456c3f
add esi, 0x15
inc edi
cmp esi, 0x4ea8f9
jl 0x456c10
jmp 0x456b09
mov ecx, edi
call fcn.00457ee0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov dword [0x5be518], eax
jmp 0x456b0f
call fcn.00458ee0
push 0x5be50c
call fcn.0046167e
add esp, 4
cmp dword [0x5be50c], 0xffffffff
jne 0x4566ad
call edi
push 0x5be50c
mov dword [0x5be520], eax
call fcn.00461634
add esp, 4
jmp 0x4566ad
push 0x5be528
call fcn.0046167e
add esp, 4
cmp dword [0x5be528], 0xffffffff
jne 0x4566c6
call edi
push 0x5be528
mov dword [0x5be51c], eax
call fcn.00461634
add esp, 4
jmp 0x4566c6
push 0x5be514
call fcn.0046167e
add esp, 4
cmp dword [0x5be514], 0xffffffff
jne 0x4566df
call edi
push 0x5be514
call fcn.00461634
add esp, 4
jmp 0x4566df
push 0x5be52c
call fcn.0046167e
add esp, 4
cmp dword [0x5be52c], 0xffffffff
jne 0x4566f8
call edi
push 0x5be52c
mov dword [0x5be510], eax
call fcn.00461634
add esp, 4
jmp 0x4566f8
push 0x5be524
call fcn.0046167e
add esp, 4
cmp dword [0x5be524], 0xffffffff
jne 0x456711
call edi
push 0x5be524
mov dword [0x5be518], eax
call fcn.00461634
add esp, 4
jmp 0x456711