Function at 0x40cb67
Capabilities:
Check for time delay via gettickcount
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, dword [0x4c1280]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebx + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], ebx
call fcn.004389d2
push dword [ebx + 0x14]
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x184]
call fcn.0043849f
lea ecx, [esp + 0x118]
call fcn.00438cda
push 0xffffffffffffffff
lea ecx, [esp + 0x180]
call fcn.0043fcdc
push eax
lea ecx, [esp + 0x7c]
call fcn.00441d54
lea ecx, [esp + 0x74]
call fcn.0043fcdc
mov ecx, eax
call fcn.00433246
test al, al
jne 0x40cc60
push 0
push 0
push 0x354
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
lea ecx, [esp + 0x18c]
call fcn.0043fcdc
push eax
push str.download_domain_is_not_allowed:__s
lea eax, [esp + 0x78]
push 0x4a7dd8
push eax
call fcn.00436245
add esp, 0x10
push eax
lea eax, [esp + 0x140]
push eax
call fcn.004069d9
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043630b
lea ecx, [esp + 0x12c]
call fcn.0043634f
lea ecx, [esp + 0x60]
call fcn.0043634f
jmp 0x40d544
mov eax, dword [edi + 0x4c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x50]
push eax
call fcn.00407108
lea ecx, [esp + 0x1a4]
call fcn.00438a1f
push str.Requesting_specific_launch_information...
push 0x8d4d
lea ecx, [esp + 0x1ac]
call fcn.0043a888
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x2c]
lea ecx, [esp + 0x190]
call fcn.00438a1f
lea ecx, [esp + 0x140]
call fcn.00438a1f
cmp dword [ebx + 4], 0
je 0x40cd14
push dword [ebx + 4]
lea ecx, [esp + 0x11c]
call fcn.004389d2
push dword [ebx + 8]
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x134]
call fcn.0043849f
push eax
lea ecx, [esp + 0x194]
call fcn.00438cf3
lea ecx, [esp + 0x12c]
call fcn.00438cda
lea ecx, [esp + 0x118]
call fcn.00438cda
jmp 0x40cd93
mov eax, dword [ebx + 0xc]
sub eax, 3
je 0x40cd82
dec eax
je 0x40cd7b
push 0x4a7dd8
lea ecx, [esp + 0x11c]
call fcn.004362eb
push 0
push 0
push 0x372
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x140]
push eax
call fcn.004069d9
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043630b
lea ecx, [esp + 0x12c]
call fcn.0043634f
lea ecx, [esp + 0x118]
call fcn.0043634f
jmp 0x40d513
push 0x4a5fb8
jmp 0x40cd87
push str.http
lea ecx, [esp + 0x194]
call fcn.00438d6a
push dword [ebx + 0x2c]
lea ecx, [esp + 0x11c]
call fcn.004389d2
push dword [ebx + 0x30]
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x134]
call fcn.0043849f
push eax
lea ecx, [esp + 0x144]
call fcn.00438cf3
lea ecx, [esp + 0x12c]
call fcn.00438cda
lea ecx, [esp + 0x118]
call fcn.00438cda
cmp dword [ebx + 0x34], 0
je 0x40ce09
push 0xffffffffffffffff
push dword [ebx + 0x34]
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x14c]
call fcn.0043a082
lea ecx, [esp + 0x12c]
call fcn.0043634f
and dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
and dword [esp + 0x14], 0
call fcn.0040975f
push str.Accept
lea ecx, [esp + 0x11c]
mov dword [esp + 0x14], eax
call fcn.004389d2
push str.application_x_www_form_urlencoded
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
call fcn.00405630
mov ecx, eax
call fcn.00438d6a
lea ecx, [esp + 0x118]
call fcn.00438cda
push str.Accept_Charset
lea ecx, [esp + 0x11c]
call fcn.004389d2
push str.utf_8
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
call fcn.00405630
mov ecx, eax
call fcn.00438d6a
lea ecx, [esp + 0x118]
call fcn.00438cda
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x208]
mov dword [esp + 0x44], 0x4a7dd4
mov dword [esp + 0x48], eax
call fcn.00438a1f
lea ecx, [esp + 0x21c]
call fcn.00438a1f
lea ecx, [esp + 0xa0]
call fcn.004329e0
push dword [esp + 0x34]
lea eax, [esp + 0x20c]
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0x304]
lea eax, [esp + 0x220]
push 0x400800
mov dword [esp + 0xd8], eax
call fcn.00418d06
push 0x4a4694
lea ecx, [esp + 0x130]
mov dword [esp + 0x3cc], 0x4000
call fcn.004362eb
lea ecx, [esp + 0x12c]
call fcn.0043634f
mov eax, dword [edi]
lea ecx, [esp + 0x304]
push ecx
mov ecx, edi
call dword [eax + 0x30]
call sub.KERNEL32.DLL_GetTickCount
push str.en_US
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x44], eax
call fcn.004389d2
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
movzx ecx, ax
xor esi, esi
push esi
mov dword [esp + 0x24], ecx
mov ebx, str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push 0x396
push ebx
push ecx
lea ecx, [esp + 0x13c]
push ecx
mov ecx, edi
call dword [eax + 0x10]
push eax
push esi
call fcn.004364c3
add esp, 0x14
lea ecx, [esp + 0x12c]
call fcn.0043634f
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1f4]
push esi
push 0x397
push ebx
push eax
lea ecx, [esp + 0x13c]
call fcn.00406693
pop ecx
push eax
push esi
call fcn.004364c3
add esp, 0x14
lea ecx, [esp + 0x12c]
call fcn.0043634f
lea ecx, [esp + 0x1e0]
call fcn.00438a1f
push esi
push 0x39a
push ebx
push ecx
lea edx, [esp + 0x1f0]
lea ecx, [esp + 0x13c]
call fcn.0040657f
pop ecx
push eax
push esi
call fcn.004364c3
add esp, 0x14
lea ecx, [esp + 0x12c]
call fcn.0043634f
lea ecx, [esp + 0x1cc]
call fcn.00438a1f
lea eax, [esp + 0x1cc]
mov dword [esp + 0x18], 0x4a7f24
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x20]
call fcn.00417410
lea ecx, [esp + 0x8c]
cmp dword [eax + 0xc], 0x7d0
sete bl
call fcn.0043634f
test bl, bl
jne 0x40d099
push 0x4a7e68
lea ecx, [esp + 0x64]
call fcn.004362eb
push esi
push esi
push 0x23
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibUserIdUtils.cpp
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004069d9
add esp, 0x14
lea ecx, [esp + 0x11c]
push eax
call fcn.0043630b
lea ecx, [esp + 0x154]
call fcn.0043634f
lea ecx, [esp + 0x60]
call fcn.0043634f
jmp 0x40d0aa
push 0x4a4694
lea ecx, [esp + 0x11c]
call fcn.004362eb
push esi
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x134]
call fcn.0043630b
lea ecx, [esp + 0x118]
call fcn.0043634f
push esi
push 0x39d
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
lea eax, [esp + 0x138]
push eax
push esi
call fcn.004364c3
add esp, 0x14
lea ecx, [esp + 0x12c]
call fcn.0043634f
push str.locale
lea ecx, [esp + 0x234]
call fcn.004389d2
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x248]
call fcn.00438449
push str.machineId
lea ecx, [esp + 0x25c]
call fcn.004389d2
lea eax, [esp + 0x1e0]
push eax
lea ecx, [esp + 0x270]
call fcn.00438449
push 0x4a6078
lea ecx, [esp + 0x284]
call fcn.004389d2
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x298]
call fcn.00438449
push dword [esp + 0x28]
lea ecx, [esp + 0x2ac]
xor eax, eax
push ecx
lea ecx, [esp + 0x238]
mov dword [esp + 0x120], eax
push ecx
push eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
call fcn.00414a8f
push 2
lea esi, [esp + 0x2ac]
pop edi
sub esi, 0x28
lea ecx, [esi + 0x14]
call fcn.00438cda
mov ecx, esi
call fcn.00438cda
dec edi
jns 0x40d1a4
call fcn.004196cc
test al, al
je 0x40d210
push str.installType
lea ecx, [esp + 0x158]
call fcn.004389d2
push str.MultiUser
lea ecx, [esp + 0x16c]
call fcn.004389d2
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x11c]
call fcn.00413e8e
lea ecx, [esp + 0x168]
call fcn.00438cda
lea ecx, [esp + 0x154]
call fcn.00438cda
lea ecx, [esp + 0x1b8]
call fcn.00438a1f
lea eax, [esp + 0x1b8]
push eax
lea edx, [esp + 0x11c]
lea ecx, [esp + 0x158]
call fcn.0040678c
pop ecx
lea ecx, [esp + 0x154]
call fcn.0043634f
lea ecx, [esp + 0x1b8]
call fcn.0043ae73
cmp eax, 0x3e8
jne 0x40d2c4
mov esi, 0x4a60b4
lea ecx, [esp + 0x140]
push esi
call fcn.0043a243
cmp eax, 0x3e9
lea ecx, [esp + 0x140]
push 0xffffffffffffffff
lea eax, [esp + 0x158]
jne 0x40d287
push 0x4a4674
jmp 0x40d288
push esi
push eax
call fcn.0043a082
lea ecx, [esp + 0x154]
call fcn.0043634f
push 0xffffffffffffffff
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x14c]
call fcn.00439fdb
lea ecx, [esp + 0x154]
call fcn.0043634f
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x50]
push eax
call fcn.00407108
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.00408a2e
lea ecx, [esp + 0x230]
mov esi, dword [eax]
call fcn.00432a6d
mov edi, eax
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00438cf3
lea eax, [esp + 0x17c]
push eax
lea ecx, [edi + 0x14]
call fcn.00438cf3
mov ecx, dword [esp + 0x3c]
mov ax, word [ecx + 0x18]
lea ecx, [edi + 0x2c]
mov word [edi + 0x28], ax
lea eax, [esp + 0x140]
push eax
call fcn.00438cf3
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x68]
call fcn.00431c16
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
mov dword [edi + 0xb0], eax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [edi + 0xbc], eax
lea ecx, [esp + 0x300]
mov eax, dword [esp + 0x24]
mov dword [edi + 0xb8], esi
add eax, 0x13c
xor esi, esi
mov dword [edi + 0xc0], eax
push esi
push esi
push 0x3c5
lea eax, [esp + 0xac]
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
mov dword [edi + 0xc4], eax
lea eax, [esp + 0x9c]
push edi
push eax
call fcn.004190a8
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004158ac
add esp, 0x14
lea ecx, [esp + 0x50]
push eax
call fcn.0043630b
lea ecx, [esp + 0x154]
call fcn.0043634f
lea ecx, [esp + 0x8c]
call fcn.0043634f
lea ecx, [esp + 0x230]
call fcn.0040d58e
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40d3ea
call fcn.004074ed
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40d3f7
call fcn.004074ed
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esp + 0x2c]
mov ebx, eax
xor edi, edi
sub ebx, dword [esp + 0x40]
push esi
sbb edi, esi
mov edx, dword [ecx]
call dword [edx + 0x30]
push edi
push ebx
push 0x4a60b8
push esi
push esi
push 1
call fcn.00404b89
add esp, 0x18
lea ecx, [esp + 0x12c]
push str.argumentsRequestMetrics
call fcn.004389d2
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xa0]
push esi
push eax
lea eax, [esp + 0x134]
push eax
call fcn.00413317
lea ecx, [esp + 0x12c]
call fcn.00438cda
lea ecx, [esp + 0x4c]
call fcn.0043fe40
cmp eax, 0x7dd
jne 0x40d484
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0
mov dword [esp + 0x5c], 0x7ec
call fcn.0041586b
xor esi, esi
push esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.0043630b
lea ecx, [esp + 0x4c]
call fcn.0043634f
lea ecx, [esp + 0x1b8]
call fcn.00438cda
lea ecx, [esp + 0x118]
call fcn.00413ef1
lea ecx, [esp + 0x1cc]
call fcn.00438cda
lea ecx, [esp + 0x1e0]
call fcn.00438cda
lea ecx, [esp + 0x1f4]
call fcn.00438cda
lea ecx, [esp + 0x300]
call fcn.0042e9b7
lea ecx, [esp + 0xa0]
call fcn.0040d572
lea ecx, [esp + 0x21c]
call fcn.00438cda
lea ecx, [esp + 0x208]
call fcn.00438cda
lea ecx, [esp + 0x10]
call fcn.004074c0
lea ecx, [esp + 0x140]
call fcn.00438cda
lea ecx, [esp + 0x190]
call fcn.00438cda
lea ecx, [esp + 0x1a4]
call fcn.00438cda
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40d544
call fcn.004074ed
lea ecx, [esp + 0x74]
call fcn.0043fa59
lea ecx, [esp + 0x17c]
call fcn.00438cda
mov ecx, dword [esp + 0x4d4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret 0x10