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

Disassembly:
push 0x8c
mov eax, 0x44600a
call fcn.0043feb0
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.004224df
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.0040f620
mov ecx, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ecx + 0x14], 8
jb 0x4228db
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.00435940
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.00435940
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 + 0x456640]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x456628]
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.00435940
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.00435c3f
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 0x422a18
push ebx
push esi
mov ecx, edi
call fcn.004220f9
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 0x422a62
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.0040cee6
test al, al
jne 0x422a64
xor bl, bl
and dword [ebp - 4], 0
test byte [ebp - 0x94], 1
je 0x422a79
lea ecx, [ebp - 0x44]
call fcn.00402286
test bl, bl
je 0x422b69
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 0x422ac9
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412fde
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x422abd
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 0x422af9
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00412d4d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x422aed
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 0x422b32
lea ecx, [edi + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x422b3d
mov ecx, dword [ecx]
jmp 0x422b3d
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.00434ec9
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.0043fe5f
ret 8