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

Disassembly:
push 0xffffffffffffffff
push 0x55353b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6397d4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6397d4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov ebp, ecx
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
test eax, eax
jbe 0x42296b
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
cmp esi, eax
jae 0x42296b
push esi
push 0x26
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
jl 0x42296b
push 2
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push ebx
push 0
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 1
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
mov edi, eax
add esp, 4
cmp edi, 0x45
ja 0x42293c
push edi
mov ecx, 0x648290
call fcn.00425640
cmp dword [eax + 8], 1
jle 0x4229a4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [ebp + 0x618]
je 0x422887
mov esi, dword [ebp + 0x614]
push edi
mov ecx, 0x648290
call fcn.00425640
mov eax, dword [eax + 8]
imul eax, eax, 0x32
sub eax, 5
cmp esi, eax
jb 0x422876
mov dword [ebp + 0x614], 0
jmp 0x422887
add esi, 5
mov dword [ebp + 0x614], esi
call ebx
mov dword [ebp + 0x618], eax
mov eax, 0x51eb851f
mul dword [ebp + 0x614]
mov esi, edx
shr esi, 4
mov ecx, esi
shl ecx, 5
lea ebx, [ecx + ebp]
push edi
mov ecx, 0x648290
call fcn.00425640
shl esi, 4
lea edx, [eax + esi + 0xc]
push edx
lea esi, [ebx + 0x394]
push esi
push edi
mov ecx, 0x648290
call fcn.00425640
mov eax, dword [eax + 4]
push eax
mov ecx, 0x648290
call fcn.00425500
cmp dword [ebx + 0x398], 0
je 0x422938
fild dword [esp + 0x98]
lea ecx, [esp + 0x48]
fsub qword [0x564998]
fstp dword [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
lea ecx, [eax + eax*2]
add ecx, ecx
test ecx, ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
jge 0x42290d
fadd dword [0x562930]
fild dword [esp + 0x94]
push 0xffffffffffffffff
lea edx, [esp + 0x28]
push edx
fadd qword [0x5641c8]
push ecx
mov ecx, esi
faddp st(1)
fstp dword [esp + 0x30]
fldz
fstp dword [esp]
push 0
push 0
call fcn.0041ff10
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x48]
lea esi, [ebx + 2]
mov byte [esp + 0x8c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test esi, esi
jge 0x4227a4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0055160d
add esp, 0x7c
ret 0xc
push edi
mov ecx, 0x648290
call fcn.00425640
test eax, eax
je 0x42293c
push edi
mov ecx, 0x648290
lea esi, [ebp + 0x394]
call fcn.00425640
add eax, 0xc
push eax
push esi
push edi
mov ecx, 0x648290
call fcn.00425640
mov eax, dword [eax + 4]
push eax
mov ecx, 0x648290
call fcn.00425500
cmp dword [ebp + 0x398], 0
je 0x42293c
fild dword [esp + 0x98]
lea ecx, [esp + 0x48]
fsub qword [0x564998]
fstp dword [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
lea ecx, [eax + eax*2]
add ecx, ecx
test ecx, ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
jge 0x422a21
fadd dword [0x562930]
fild dword [esp + 0x94]
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edx
fadd qword [0x5641c8]
push ecx
mov ecx, esi
faddp st(1)
fstp dword [esp + 0x28]
fldz
fstp dword [esp]
push 0
push 0
call fcn.0041ff10
jmp 0x42293c