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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push ecx
mov dword [esp + 0x30], 1
call fcn.00408b60
add esp, 4
lea eax, [esp + 0x50]
xor edi, edi
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404ff0
push 8
call fcn.00409e93
add esp, 4
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00405a40
mov edi, eax
push 0x4a
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0x24
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], ecx
push 0xffffffffffffffff
push str.iWinPrerequisites_started:__s___s__r_n
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x24]
add esp, 0x14
xor edx, edx
test eax, eax
cmovne ecx, edx
push edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
push esi
call fcn.004059b0
push eax
lea eax, [esp + 0x14]
push eax
push 0x19
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push 0
call fcn.00408070
mov eax, dword [esp + 0x28]
add esp, 0x1c
test eax, eax
je 0x405084
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
test eax, eax
je 0x40509f
push 2
push eax
call fcn.00409c3a
add esp, 8
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
lea ecx, [esp + 0x18]
call fcn.004059b0
push eax
call fcn.004091a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4050cc
push 2
push eax
call fcn.00409c3a
add esp, 8
push ecx
call fcn.004093d0
test eax, eax
je 0x40579f
push ecx
xor edi, edi
call fcn.004093d0
test eax, eax
je 0x4050e9
lea edi, [eax + 8]
push 0x18
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0xb
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], ecx
push 0xffffffffffffffff
push str.CmdFile:__s
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x24]
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0xc]
cmovne ecx, edx
push edi
push eax
push 0x22
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x28], ecx
call fcn.00408070
mov eax, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x405169
push 2
push eax
call fcn.00409c3a
add esp, 8
xor esi, esi
test edi, edi
je 0x40574f
mov ecx, edi
call fcn.00406990
mov ebx, eax
test ebx, ebx
je 0x40574f
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4051c9
push 0xc
call fcn.00409e93
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esi], vtable.OFileInputStream.0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
jmp 0x405251
push 0x66
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 0x32
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], ecx
push 0xffffffffffffffff
push str.OFIS___Unable_to_open_file__s_due_to_win32_code__X
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x24]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [esp + 0x14]
push eax
push 0x1b
push str.OFileInputStream::open
push str.d:jenkinsworkspaceclient3.lib.platformlibplatformlib_srcofileinputstream.cpp
push 0
call fcn.00408070
mov eax, dword [esp + 0x28]
add esp, 0x1c
test eax, eax
je 0x40524d
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
push 2
push ebx
call fcn.00409c3a
add esp, 8
test esi, esi
je 0x40574f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
je 0x40581f
push 8
call fcn.00409e93
mov ebx, eax
add esp, 4
mov ecx, esi
mov dword [esp + 0x30], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
je 0x4052fa
nop dword [eax + eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
movzx eax, al
test ax, ax
je 0x4052fa
cmp dword [ebx + 4], 0xffffffff
jae 0x4052fa
mov word [esp + 0x44], ax
xor eax, eax
push 8
mov word [esp + 0x4a], ax
call fcn.00409e93
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.00405a40
mov edi, eax
test edi, edi
je 0x4052ef
push edi
mov ecx, ebx
call fcn.00406660
push ecx
mov ecx, edi
call fcn.004058d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jne 0x4052a0
push 0x2a
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0x14
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], ecx
push 0xffffffffffffffff
push str.CmdFile_Contents:__s
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x24]
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0xc]
cmovne ecx, edx
push ebx
push eax
push 0x29
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x28], ecx
call fcn.00408070
mov eax, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x40537a
push 2
push eax
call fcn.00409c3a
add esp, 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0
push eax
push ecx
mov ecx, ebx
call fcn.00406c00
xor esi, esi
mov ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], esi
cmp dword [esp + 0x1c], esi
jbe 0x40550e
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [eax + eax]
test ecx, ecx
je 0x405725
cmp dword [esp + 0x2c], 0
jne 0x40550a
mov ebx, dword [ecx + esi*4]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4054fb
mov ecx, ebx
call fcn.00406d60
cmp dword [ebx], 0
je 0x4054ef
mov eax, dword [ebx + 4]
test eax, eax
je 0x4054ef
cmp eax, 5
jl 0x4054ef
push 0x2a
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0x14
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x34], ecx
push 0xffffffffffffffff
push str.Running_Command___s_
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x4c]
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0x34]
cmovne ecx, edx
push ebx
push eax
push 0x39
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x50], ecx
call fcn.00408070
add esp, 0x18
lea ecx, [esp + 0x34]
call fcn.00405b50
push ecx
mov ecx, ebx
call fcn.00406fd0
mov esi, eax
add esp, 4
test esi, esi
je 0x4054eb
nop dword [eax]
mov eax, dword [esi + 0x38]
mov bl, byte [esi + 0x44]
test eax, eax
je 0x405526
lea ecx, [esp + 0x48]
mov byte [esi + 0x44], 0
push ecx
push eax
call edi
test eax, eax
je 0x405595
cmp dword [esp + 0x48], 0x103
je 0x405595
mov eax, dword [esi + 0x38]
mov edi, 0x103
mov dword [esp + 0x24], edi
test eax, eax
je 0x4055a5
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call eax
mov edi, dword [esp + 0x24]
cmp edi, 0xc0000005
jne 0x4055d0
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004058d0
mov ecx, dword [esp + 0xc]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x1c]
jb 0x4053b0
mov ebx, dword [esp + 0x30]
test ecx, ecx
je 0x405729
push 4
push ecx
call fcn.00409c3a
add esp, 8
jmp 0x405729
mov eax, dword [esi + 0x90]
test eax, eax
je 0x40555e
lea ecx, [esp + 0x4c]
mov byte [esi + 0x44], 0
push ecx
push eax
call edi
test eax, eax
je 0x405595
cmp dword [esp + 0x4c], 0x103
jne 0x4054b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405480
cmp dword [esi + 0x20], 0x20
jle 0x4054b0
cmp dword [esi + 0x48], 0
jne 0x405579
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
jmp 0x40558d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x48]
cmp eax, 0x7530
ja 0x4054b0
test bl, bl
je 0x4054b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405480
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4054c4
cmp dword [esi + 0x48], eax
je 0x4055d8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x48]
cmp eax, 0x7530
ja 0x4054e1
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4054e1
push 0x36
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0x1a
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x3c], ecx
push 0xffffffffffffffff
push str.Command___s__returned___d_
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.0040f0b2
mov ebx, dword [esp + 0x3c]
add esp, 0x14
mov ecx, dword [esp + 0x40]
xor edx, edx
test eax, eax
lea eax, [esp + 0x3c]
push edi
push ebx
push eax
push 0x49
push str.WinMain
cmovne ecx, edx
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x5c], ecx
call fcn.00408070
add esp, 0x1c
lea ecx, [esp + 0x3c]
call fcn.00405b50
mov edx, dword [ebx]
test edx, edx
je 0x405696
mov eax, dword [ebx + 4]
test eax, eax
je 0x405696
mov ecx, dword [0x426948]
test ecx, ecx
je 0x405696
cmp dword [0x42694c], 0
jbe 0x405696
test eax, eax
je 0x405696
push ecx
push edx
call fcn.0040aac4
add esp, 8
test eax, eax
je 0x405696
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x405696
cmp edi, 0x643
je 0x4056a3
mov dword [esp + 0x2c], 2
jmp 0x4054e5
push 0xcc
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x65
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], ecx
push 0xffffffffffffffff
push str._d_is_an_acceptable_return_code__newer_version_of_Windows_Imaging_Component_installed__continuing_...
push eax
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x2c]
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
cmovne ecx, edx
push 0x643
push eax
push 0x50
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x30], ecx
call fcn.00408070
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.00405b50
jmp 0x4054e5
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x405740
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [ebx], 0
push 8
mov dword [ebx + 4], 0
push ebx
jmp 0x405817
push 0x2e
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0x16
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], ecx
push 0xffffffffffffffff
push str.CmdFile:_Error_Opening
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.0040f0b2
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
push eax
push 0x67
jmp 0x4057ed
push 0x3a
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0x1c
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], ecx
push 0xffffffffffffffff
push str.CmdFile:__parameter_missing_
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.0040f0b2
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
push eax
push 0x6c
mov ecx, dword [esp + 0x20]
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
cmovne ecx, edx
push 0
mov dword [esp + 0x2c], ecx
call fcn.00408070
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x40581f
push 2
push eax
call fcn.00409c3a
add esp, 8
push 0x16
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0xa
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], ecx
push 0xffffffffffffffff
push str._s___END_r_n
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.0040f0b2
mov ecx, dword [esp + 0x2c]
add esp, 0x14
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
cmovne ecx, edx
push 0x426998
push eax
push 0x70
push str.WinMain
push str.d:jenkinsworkspaceclient3.exe.iwinprerequisitesugmtoolprerequisites_srcmain.cpp
push edx
mov dword [esp + 0x30], ecx
call fcn.00408070
mov ecx, dword [esp + 0x2c]
add esp, 0x18
test ecx, ecx
je 0x4058a3
push 2
push ecx
call fcn.00409c3a
add esp, 8
call fcn.00408dd0
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00409891
mov esp, ebp
pop ebp
ret 0x10