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

Disassembly:
push 0xffffffffffffffff
push 0x4562cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x58
mov edi, ecx
call fcn.0044a436
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x40], ebx
je 0x422891
mov ecx, eax
call fcn.00422090
mov esi, eax
jmp 0x422893
xor esi, esi
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
lea ebp, [edi + 0x134]
lea ecx, [esi + 0x40]
push ebp
mov dword [esp + 0x44], 0xffffffff
mov dword [esi + 8], 1
mov dword [esi + 4], ebx
call fcn.00402540
push ebx
lea ecx, [esi + 0x3c]
push 0x458d58
call fcn.00402300
lea ebx, [edi + 0x120]
lea ecx, [esi + 0x38]
push ebx
call fcn.00402540
lea ecx, [esi + 0x34]
push ebx
call fcn.00402540
lea edx, [esp + 0x14]
lea ecx, [edi + 0x108]
push edx
mov byte [esi + 0x54], 0
mov dword [esp + 0x14], ecx
call fcn.00419670
lea ecx, [esi + 0x44]
push eax
mov dword [esp + 0x44], 1
call fcn.00402540
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42293c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esi + 0x4c]
push ebp
call fcn.00402540
lea ecx, [esi + 0x50]
push ebp
call fcn.00402540
push 0
lea ecx, [esi + 0x48]
push 0x458d58
call fcn.00402300
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.0041f090
push esi
mov ecx, ebx
call fcn.0041fb70
xor esi, esi
mov ecx, edi
mov dword [edi + 0x2e4], 1
mov dword [edi + 0x2d0], esi
call fcn.00421550
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
call fcn.00419670
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x40], 2
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4229a5
sub eax, edx
push eax
push ecx
lea ecx, [edi + 0x24c]
call fcn.00404d50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x268], esi
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 3
call fcn.00402540
mov ecx, dword [edi + 0x1f8]
push 0x1c
lea edx, [esp + 0x20]
push edx
mov edx, dword [edi + 0x2e4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [edi + 0x2e4]
dec eax
je 0x422a58
dec eax
je 0x422a50
dec eax
jne 0x422aa1
fld qword [0x45c0e0]
jmp 0x422a5e
fld qword [0x45c0d8]
jmp 0x422a5e
fld qword [0x458e60]
fmul qword [0x458e40]
call fcn.004341d4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
cmp esi, 0x2328
jge 0x422a8b
cmp esi, 0x64
jle 0x422a8b
call ebx
sub eax, dword [edi + 0x2ec]
cmp eax, 0x64
jb 0x422aa1
call ebx
push esi
push 0xa
lea ecx, [edi + 0x104]
mov dword [edi + 0x2ec], eax
call fcn.0041c170
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.00419670
mov ecx, dword [eax]
mov edx, dword [ebp]
push ecx
push edx
push 0x45c1a0
push 1
mov byte [esp + 0x50], 4
call fcn.00418800
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x422af1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret