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

Disassembly:
push 0x8c
mov eax, 0x446bd8
call fcn.00440a50
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.00422975
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.0040fb3a
mov ecx, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ecx + 0x14], 8
jb 0x422d71
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.0042c4a3
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.004364ce
lea ecx, [ebp - 0x8c]
call fcn.00402286
push dword [ebp - 0x90]
lea ecx, [ebp - 0x24]
call fcn.0042c4a3
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.004364ce
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 + 0x457be0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x457bc8]
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.004364ce
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.004367cd
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 0x422eae
push ebx
push esi
mov ecx, edi
call fcn.0042258f
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 0x422ef8
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.0040d400
test al, al
jne 0x422efa
xor bl, bl
and dword [ebp - 4], 0
test byte [ebp - 0x94], 1
je 0x422f0f
lea ecx, [ebp - 0x44]
call fcn.00402286
test bl, bl
je 0x422fff
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 0x422f5f
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.004134f2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x422f53
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 0x422f8f
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00413264
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x422f83
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 0x422fc8
lea ecx, [edi + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x422fd3
mov ecx, dword [ecx]
jmp 0x422fd3
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.00435a57
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.004409ff
ret 8