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

Disassembly:
push 0x8c
mov eax, 0x4472e7
call fcn.00441060
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.00422bb0
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.0040fd78
mov ecx, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ecx + 0x14], 8
jb 0x422fac
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.0042ca50
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.00436ae6
lea ecx, [ebp - 0x8c]
call fcn.00402286
push dword [ebp - 0x90]
lea ecx, [ebp - 0x24]
call fcn.0042ca50
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.00436ae6
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 + 0x458e50]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x458e40]
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.00436ae6
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.00436de5
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 0x4230e9
push ebx
push esi
mov ecx, edi
call fcn.004227ca
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 0x423133
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.0040d63c
test al, al
jne 0x423135
xor bl, bl
and dword [ebp - 4], 0
test byte [ebp - 0x94], 1
je 0x42314a
lea ecx, [ebp - 0x44]
call fcn.00402286
test bl, bl
je 0x42323a
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 0x42319a
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.0041372c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x42318e
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 0x4231ca
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.004134a2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x4231be
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 0x423203
lea ecx, [edi + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x42320e
mov ecx, dword [ecx]
jmp 0x42320e
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.0043606f
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.0044100f
ret 8