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

Disassembly:
push 0xffffffffffffffff
push 0x45620b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x58
mov edi, ecx
call fcn.0044a436
add esp, 4
mov dword [esp + 0x1c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x44], ebx
je 0x422171
mov ecx, eax
call fcn.00422090
mov esi, eax
jmp 0x422173
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 + 0x128]
lea ecx, [esi + 0x40]
push ebp
mov dword [esp + 0x48], 0xffffffff
mov dword [esi + 8], 2
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 + 0x48], 1
call fcn.00402540
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42221c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x45c16c
lea ebx, [edi + 0x138]
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00402610
push ebp
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x5c], 2
call fcn.004213c0
add esp, 0x18
lea ecx, [esi + 0x4c]
push eax
mov byte [esp + 0x48], 3
call fcn.00402540
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42227a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4222a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esi + 0x50]
push ebp
call fcn.00402540
lea ecx, [esi + 0x48]
push ebx
call fcn.00402540
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], 2
mov dword [edi + 0x2d0], esi
call fcn.00421550
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.00419670
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x44], 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x422300
sub eax, edx
push eax
push ecx
lea ecx, [edi + 0x24c]
call fcn.00404d50
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [edi + 0x268], esi
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422342
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 + 0x20], eax
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 5
call fcn.00402540
mov ecx, dword [edi + 0x1f8]
push 0x1c
lea edx, [esp + 0x24]
push edx
mov edx, dword [edi + 0x2e4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [edi + 0x2e4]
dec eax
je 0x4223b3
dec eax
je 0x4223ab
dec eax
jne 0x4223fc
fld qword [0x45c0e0]
jmp 0x4223b9
fld qword [0x45c0d8]
jmp 0x4223b9
fld qword [0x458e60]
fmul qword [0x458e40]
call fcn.004341d4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
cmp esi, 0x2328
jge 0x4223e6
cmp esi, 0x64
jle 0x4223e6
call ebx
sub eax, dword [edi + 0x2ec]
cmp eax, 0x64
jb 0x4223fc
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 + 0x1c]
push eax
call fcn.00419670
mov ecx, dword [eax]
mov edx, dword [ebp]
push ecx
push edx
push 0x45c148
push 1
mov byte [esp + 0x54], 6
call fcn.00418800
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x44], 5
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 0x42244c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret