Function at 0x410d52
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
xor esi, esi
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0xc], esi
call fcn.0040e33e
lea ecx, [esp + 0x18]
call fcn.00411091
call fcn.0040e4d2
mov ebx, eax
test ebx, ebx
jne 0x411070
push 0x8000
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x4b0
xor ecx, ecx
call fcn.00407a4a
pop ecx
pop ecx
push 1
push ecx
mov ecx, esp
mov edi, str.bundles
push edi
call fcn.00402168
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0x2c]
push eax
call fcn.00414f63
lea ecx, [esp + 0x24]
call fcn.0041064e
push esi
push ecx
mov ecx, esp
push edi
call fcn.00402168
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0x2c]
push eax
call fcn.00414f63
lea ecx, [esp + 0x24]
mov ebx, dword [eax + 4]
sub ebx, dword [eax]
and ebx, 0xfffffff8
neg ebx
sbb bl, bl
call fcn.0041064e
inc bl
mov eax, 0x3ea
mov edi, str.df9e414d_88e5_4351_9a1d_0ff7c8544ae3
cmovne esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x410e87
push ecx
mov ecx, esp
push edi
call fcn.00402168
push ecx
mov ecx, esp
push str.INSTALLFLOW_GETREMOTEPRODUCTCONFIG
call fcn.00402168
push ecx
mov ecx, esp
push str.CRITICAL
call fcn.00402168
push ecx
mov ecx, esp
push str.AREA_EVALUATEINSTALL
call fcn.00402168
push ecx
mov ecx, esp
push str.CLARA
call fcn.00402168
mov ecx, esi
call fcn.0040e166
add esp, 0x14
push 0x8000
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x480
mov ecx, esi
call fcn.00407a4a
pop ecx
pop ecx
xor ebx, ebx
jmp 0x410fa4
lea ecx, [esp + 0x30]
call fcn.0040e560
mov esi, eax
test esi, esi
je 0x410eb6
push 0x8000
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x484
mov ecx, esi
call fcn.00407a4a
pop ecx
pop ecx
push ecx
push ecx
mov esi, esp
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
test edi, edi
je 0x410edb
xor ecx, ecx
lea eax, [edi + 4]
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x410ee7
call fcn.0040e13a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esi + 4], edi
mov dword [esi], eax
call fcn.0040f1e7
mov esi, eax
mov edi, 0x8000
test esi, esi
je 0x410f20
push edi
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x485
mov ecx, esi
call fcn.00407a4a
pop ecx
pop ecx
lea ecx, [esp + 0x30]
call fcn.0040f396
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x410f48
push edi
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x481
jmp 0x410f96
lea ecx, [esp + 0x30]
call fcn.0040fb52
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x410f70
push edi
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x482
jmp 0x410f96
lea ecx, [esp + 0x30]
call fcn.0040fc64
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x410f9f
push edi
push ecx
mov ecx, esp
push 0x43f73c
call fcn.00402168
mov edx, 0x483
mov ecx, esi
call fcn.00407a4a
pop ecx
pop ecx
mov edi, str.df9e414d_88e5_4351_9a1d_0ff7c8544ae3
sub esp, 0x18
mov esi, str.appkey
mov ecx, esp
push esi
call fcn.004022cc
call fcn.0040daf8
add esp, 0x18
test al, al
je 0x410fe3
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
inc ebx
push esi
call fcn.004022cc
lea ecx, [esp + 0x24]
call fcn.0040d88f
add esp, 0x18
mov ecx, eax
call fcn.0040227d
mov edi, eax
sub esp, 0x18
mov ecx, esp
push edi
call fcn.0040232d
lea ecx, [esp + 0x38]
call fcn.00404ba9
mov ecx, eax
call fcn.0040227d
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040232d
call fcn.004068cd
mov ecx, dword [esp + 0x50]
add esp, 0x30
lea ecx, [ecx - 0x10]
call fcn.004045c1
test bl, 1
je 0x41102e
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004045c1
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x41106c
mov ebx, 0x102
mov eax, dword [esi]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x411065
push 0x927c0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x411070
add esi, 4
cmp esi, edi
jne 0x411040
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41107d
call fcn.0040e13a
lea ecx, [esp + 0x30]
call fcn.0040e45f
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10