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

Disassembly:
push 0x8c
mov eax, 0x445ff7
call fcn.0043fef0
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.00422446
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.0040f6ab
mov ecx, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ecx + 0x14], 8
jb 0x422842
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.0042c394
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.00435932
lea ecx, [ebp - 0x8c]
call fcn.00402286
push dword [ebp - 0x90]
lea ecx, [ebp - 0x24]
call fcn.0042c394
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.00435932
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 + 0x4576b0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4576a0]
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.00435932
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.00435c31
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 0x42297f
push ebx
push esi
mov ecx, edi
call fcn.00422060
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 0x4229c9
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.0040ce86
test al, al
jne 0x4229cb
xor bl, bl
and dword [ebp - 4], 0
test byte [ebp - 0x94], 1
je 0x4229e0
lea ecx, [ebp - 0x44]
call fcn.00402286
test bl, bl
je 0x422ad0
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 0x422a30
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412fc2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x422a24
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 0x422a60
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412d38
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x422a54
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 0x422a99
lea ecx, [edi + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x422aa4
mov ecx, dword [ecx]
jmp 0x422aa4
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.00434ebb
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.0043fe9f
ret 8