Function at 0x417046
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x46c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
call fcn.004217c1
pop ecx
call fcn.0041d941
test eax, eax
jne 0x41707e
push str.Failed_to_load_settings
call fcn.00416d2c
pop ecx
call fcn.00421802
xor eax, eax
jmp 0x4170df
push esi
xor esi, esi
cmp dword [0x4e2f40], esi
je 0x417090
call fcn.0041623e
jmp 0x4170a5
push dword [ebp + 0x70]
call fcn.0041d904
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4e2f44], esi
jne 0x4170ce
call fcn.0041cb13
test eax, eax
je 0x4170ce
mov eax, dword [0x4e256c]
cmp eax, esi
je 0x4170dc
push eax
call fcn.0041fa13
pop ecx
mov dword [0x4e256c], esi
jmp 0x4170dc
call fcn.004033ab
mov dword [0x4e2550], eax
cmp eax, esi
jne 0x4170e7
xor eax, eax
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10
mov edx, dword [eax]
push 0x240
mov ecx, eax
call dword [edx + 0xb8]
xor edi, edi
push esi
inc edi
push edi
call fcn.00418e9d
push dword [0x4e2550]
call fcn.0041c7b8
add esp, 0xc
lea eax, [ebp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [0x4e2f40], esi
je 0x41717c
mov edi, 0x434ae8
push edi
call fcn.00416d2c
mov esi, 0x436ca8
push esi
call fcn.00416d2c
movzx eax, word [ebp + 0x5c]
push eax
movzx eax, word [ebp + 0x5a]
push eax
movzx eax, word [ebp + 0x58]
push eax
movzx eax, word [ebp + 0x50]
push eax
movzx eax, word [ebp + 0x52]
push eax
movzx eax, word [ebp + 0x56]
push eax
push str.__RakSAMP_v0.8.6_0.3.DL_initialized_on__02d__02d__02d__02d:_02d:_02d
call fcn.00416d2c
push 0x436c38
call fcn.00416d2c
push esi
call fcn.00416d2c
push edi
call fcn.00416d2c
xor edi, edi
add esp, 0x30
inc edi
xor esi, esi
mov eax, dword [0x4e25c0]
mov dword [ebp + 0x70], eax
mov eax, dword [0x4e2704]
mov dword [ebp + 0x60], eax
call ebx
mov dword [ebp + 0x64], eax
push dword [0x4e2550]
call fcn.0041a1d4
cmp byte [0x4e2f80], 0
pop ecx
je 0x4171ab
call fcn.00417b42
cmp byte [0x4e2f81], 0
je 0x4171b9
call fcn.0041856f
cmp byte [0x4e2f82], 0
je 0x4171c7
call fcn.00418cf6
cmp byte [0x4e2f83], 0
je 0x4171d5
call fcn.00418604
cmp byte [0x4e2f84], 0
je 0x4171e3
call fcn.00418e5f
cmp byte [0x4e2f85], 0
je 0x4171f1
call fcn.004187f7
call fcn.00417d1a
call fcn.00417dfa
cmp dword [0x4e2558], esi
jne 0x41723c
cmp byte [0x4e2ba0], 0
push dword [0x4e2550]
push 0x4e2cf8
jne 0x41721e
push 0x4e2ce4
jmp 0x417223
push 0x485768
push dword [0x4e2ce0]
push 0x4e2be0
call fcn.00417999
add esp, 0x14
mov dword [0x4e2558], edi
cmp dword [0x4e2554], esi
je 0x417627
cmp dword [0x4e2560], esi
je 0x417627
test byte [0x4e2580], 1
jne 0x41726a
or dword [0x4e2580], edi
call ebx
mov dword [0x4e257c], eax
cmp dword [0x4e257c], esi
je 0x4173d9
call ebx
sub eax, 0x3e8
cmp dword [0x4e257c], eax
jae 0x4173d9
fld dword [0x4e2ffc]
fcom qword [0x436c30]
fnstsw ax
test ah, 0x41
lea eax, [ebp + 0x30]
jne 0x4172b3
push 0x436c28
fstp st(0)
push 0x10
push eax
call fcn.0041f1a4
add esp, 0xc
jmp 0x4172c8
push ecx
push ecx
fstp qword [esp]
push str._.2f
push 0x10
push eax
call fcn.0041f1a4
add esp, 0x14
fld dword [0x4e3000]
fcom qword [0x436c30]
fnstsw ax
test ah, 0x41
lea eax, [ebp + 0x40]
jne 0x4172f2
push 0x436c28
fstp st(0)
push 0x10
push eax
call fcn.0041f1a4
add esp, 0xc
jmp 0x417307
push ecx
push ecx
fstp qword [esp]
push str._.2f
push 0x10
push eax
call fcn.0041f1a4
add esp, 0x14
fld dword [0x4e2feb]
sub esp, 0x20
fstp qword [esp + 0x18]
lea eax, [ebp + 0x40]
fld dword [0x4e2fe7]
fstp qword [esp + 0x10]
fld dword [0x4e2fe3]
fstp qword [esp + 8]
fld dword [0x4e2fdf]
fstp qword [esp]
push dword [0x4e26f8]
push eax
lea eax, [ebp + 0x30]
push eax
movzx eax, word [0x4d890c]
imul eax, eax, 0x153
push str.jlfm__bartekdvd__P3ti
push dword [eax + 0x4857ac]
call fcn.00417bee
movzx eax, ax
push eax
push 0x4e25c8
push str.Hostname:__s_____Players:__d_____Ping:__d_____Authors:__s_nHealth:__s_____Armour:__s_____Skin:__d_____X:__.4f_____Y:__.4f_____Z:__.4f_____Rotation:__.4f
lea eax, [ebp - 0x274]
push 0x190
push eax
call fcn.0041f1a4
add esp, 0x48
lea ecx, [ebp - 0x404]
lea eax, [ebp - 0x274]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4173a8
test dl, dl
je 0x4173a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4173a8
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x41738a
xor eax, eax
jmp 0x4173ad
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4173d9
lea eax, [ebp - 0x274]
push eax
push dword [0x4e2bcc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0041702b
pop ecx
pop ecx
cmp dword [0x4e2f5c], esi
je 0x4174b6
call ebx
sub eax, dword [ebp + 0x64]
cmp eax, 0x3e8
jae 0x41740b
mov eax, dword [ebp + 0x70]
cmp dword [0x4e25c0], eax
jne 0x41740b
mov eax, dword [ebp + 0x60]
cmp dword [0x4e2704], eax
je 0x4174b6
lea ecx, [ebp - 0xe4]
call fcn.0040104b
push edi
push 8
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp + 0x70], 0xcd
call fcn.0040155c
call fcn.004217d3
cdq
idiv dword [0x4e2f64]
add edx, dword [0x4e2f60]
sub dword [0x4e2704], edx
jns 0x41744c
mov dword [0x4e2704], esi
mov eax, dword [0x4e25c0]
push edi
mov dword [ebp + 0x70], eax
push 0x20
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040155c
mov eax, dword [0x4e2704]
push edi
mov dword [ebp + 0x70], eax
push 0x20
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040155c
mov ecx, dword [0x4e2550]
mov eax, dword [ecx]
push esi
push 8
push edi
lea edx, [ebp - 0xe4]
push edx
call dword [eax + 0x18]
mov eax, dword [0x4e25c0]
mov dword [ebp + 0x70], eax
mov eax, dword [0x4e2704]
mov dword [ebp + 0x60], eax
call ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp + 0x64], eax
call fcn.00401110
mov eax, dword [0x4e2f44]
cmp eax, edi
je 0x417627
cmp dword [0x4e255c], esi
jne 0x417523
cmp dword [0x4e2f54], esi
je 0x417501
cmp dword [0x4e2568], esi
jne 0x417627
push dword [0x4e2f50]
call fcn.004184e7
mov dword [esp], str.Please_write__spawn_into_the_console_when_youre_ready_to_spawn.
call fcn.00416d2c
mov dword [0x4e2568], edi
jmp 0x417626
push dword [0x4e2f50]
call fcn.004184e7
pop ecx
call fcn.00417a2d
mov dword [0x4e255c], edi
mov dword [0x4e2568], edi
jmp 0x417627
cmp eax, 3
jne 0x417572
cmp dword [0x4e2bb0], esi
jne 0x41756d
cmp byte [0x5075a7], 0
je 0x417566
cmp byte [0x507596], 0
je 0x417566
fld dword [0x507597]
fstp dword [0x4e2fdf]
fld dword [0x50759b]
fstp dword [0x4e2fe3]
fld dword [0x50759f]
fstp dword [0x4e2fe7]
call fcn.00417719
jmp 0x417572
call fcn.004178fd
cmp dword [0x4e2f48], esi
je 0x4175ce
cmp dword [0x4e2574], esi
je 0x4175ce
call ebx
sub eax, 0x7d0
cmp dword [0x4e2574], eax
jae 0x4175ce
cmp dword [0x4e2578], esi
jne 0x4175ce
push str.Loading_autorun...
call fcn.00416d2c
pop ecx
mov esi, 0x4e3016
cmp dword [esi - 4], 0
je 0x4175b8
push edi
push esi
call fcn.00414ba4
pop ecx
pop ecx
add esi, 0x204
cmp esi, 0x4e7096
jl 0x4175a9
mov dword [0x4e2578], edi
xor esi, esi
cmp dword [0x4e2f44], 4
jne 0x4175f6
push 0x4e2fbb
call fcn.00417b9b
movzx eax, ax
pop ecx
mov ecx, 0xffff
cmp ax, cx
je 0x4175f6
push eax
call fcn.004177de
pop ecx
cmp dword [0x4e2f44], 5
jne 0x417627
push 0x4e2fbb
call fcn.00417b9b
movzx eax, ax
pop ecx
mov ecx, 0xffff
cmp ax, cx
je 0x417627
movzx ecx, word [0x4e2fcf]
push ecx
push eax
call fcn.00417810
pop ecx
pop ecx
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417191