Function at 0x4397b0
Capabilities:
Check for time delay via gettickcount
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba807
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x4f0464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
push 0x4c2708
mov dword [ebp - 0x284], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x280], eax
test eax, eax
je 0x439ce7
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4398e4
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00411d10
mov byte [ebp - 4], 1
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x4d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004092d0
mov esi, eax
push str.CheckInstance_Exist
push esi
mov byte [ebp - 4], 2
call fcn.0040a600
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x230]
call fcn.00409da0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0
push eax
push dword [ebp - 0x280]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4399f0
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 4
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x52
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.exist_pid:
push esi
mov byte [ebp - 4], 5
call fcn.00407110
add esp, 8
mov ecx, esi
push dword [ebp - 0x27c]
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
push dword [ebp - 0x27c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x280], esi
test esi, esi
jne 0x439af7
call fcn.00445180
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x439af7
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 7
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x55
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.OpenProcess_failed
push esi
mov byte [ebp - 4], 8
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov esi, dword [ebp - 0x280]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x439c05
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x439c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0xa
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x58
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.TerminateProcess_failed__code:
push esi
mov byte [ebp - 4], 0xb
call fcn.00407110
add esp, 8
mov ecx, esi
push ebx
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov ebx, dword [ebp - 0x284]
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x439ce7
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0xd
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x5a
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push 0x4c8210
push esi
mov byte [ebp - 4], 0xe
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048c160
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x439d53
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x439d30
mov eax, dword [ebx]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x439e4a
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x439d26
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x439e4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0x10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x69
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.install_copy_file_failed_code_:
push esi
mov byte [ebp - 4], 0x11
call fcn.00407110
add esp, 8
mov ecx, esi
push ebx
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov eax, dword [ebp - 0x284]
cmp dword [eax + 0x14], 8
jb 0x439e58
mov eax, dword [eax]
push 0
push 1
push 1
push str.__no_check_upgrade
push eax
call fcn.00446430
add esp, 0x14
test eax, eax
jne 0x439f4f
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x439f4f
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.00411d10
mov byte [ebp - 4], 0x13
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x3b4]
push 0x6f
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004092d0
mov esi, eax
push str.install_run_failed
push esi
mov byte [ebp - 4], 0x14
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b4]
call fcn.0040a7e0
lea ecx, [ebp - 0x260]
call fcn.00409da0
lea ecx, [ebp - 0x278]
call fcn.00409da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670b3
mov esp, ebp
pop ebp
ret