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

Disassembly:
push 0x8c
mov eax, 0x445f5d
call fcn.0043fde0
mov edi, ecx
and dword [ebp - 0x94], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, edi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], ebx
call dword [eax + 0x28]
and dword [ebp - 4], 0
push esi
call fcn.004010d9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.0040294a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x68]
cmp dword [ebp - 0x60], 0x10
push 0
push eax
lea ecx, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x74]
push ebx
push ecx
mov ecx, edi
call fcn.00422400
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x74]
call fcn.0040294a
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x2c]
call fcn.0040f5c7
mov ecx, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ecx + 0x14], 8
jb 0x4227fc
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xa4]
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040253d
push esi
lea ecx, [ebp - 0x24]
call fcn.0042c2b2
push str.Category
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0040221e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
lea esi, [edi + 0x148]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0043585a
lea ecx, [ebp - 0x8c]
call fcn.00402286
push dword [ebp - 0x90]
lea ecx, [ebp - 0x24]
call fcn.0042c2b2
push str.Result
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040221e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0043585a
lea ecx, [ebp - 0x44]
call fcn.00402286
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x68]
mov dword [ebp - 0x18], 0x4206
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x456780]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x456768]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x24], xmm0
push str.Duration
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040221e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0043585a
lea ecx, [ebp - 0x44]
call fcn.00402286
push str.BootstrapperDuration
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0040221e
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00435b59
mov esi, eax
mov byte [ebp - 4], 9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
cmp dword [edi + 0x110], eax
jge 0x422939
push ebx
push esi
mov ecx, edi
call fcn.0042201a
lea ecx, [ebp - 0x8c]
call fcn.00402286
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00402286
mov esi, dword [ebp - 0x90]
cmp esi, str.Success
je 0x422983
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov byte [ebp - 4], 0xa
mov edx, str.Client
mov ecx, eax
mov dword [ebp - 0x94], ebx
call fcn.0040ce8d
test al, al
jne 0x422985
xor bl, bl
and dword [ebp - 4], 0
test byte [ebp - 0x94], 1
je 0x42299a
lea ecx, [ebp - 0x44]
call fcn.00402286
test bl, bl
je 0x422a8a
xor ebx, ebx
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov byte [ebp - 4], 0xb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x4229ea
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412f82
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x4229de
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402cbd
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00402286
cmp dword [ebp - 0x4c], 0
jne 0x422a1a
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412cf4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x422a0e
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402cbd
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00402286
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
call fcn.0040221e
push esi
mov byte [ebp - 4], 0xe
call fcn.004010d9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040294a
cmp dword [ebp - 0x4c], 0
jne 0x422a53
lea ecx, [edi + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x422a5e
mov ecx, dword [ecx]
jmp 0x422a5e
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 0x10
push ebx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
lea ecx, [edi + 0x150]
call fcn.00434de3
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00402286
lea ecx, [ebp - 0x5c]
call fcn.00402286
lea ecx, [ebp - 0x74]
call fcn.00402286
call fcn.0043fd8f
ret 8