Function at 0x409e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x455090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
lea eax, [esp + 0x154]
push str.CInstall::Install_ENTRY_n
mov esi, ecx
push eax
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea ecx, [esp + 0x150]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov eax, dword [0x471df4]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x358], ebp
mov dword [esp + 0x4c], eax
mov ebx, 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
push 0xa
lea ecx, [esp + 0x7c]
mov byte [esp + 0x35c], 6
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x98]
mov byte [esp + 0x35c], 7
mov dword [esp + 0x30], ebp
call fcn.00449a9b
mov eax, dword [esp + 0x360]
lea edx, [eax + 0x6c]
mov dword [esi + 0x9a0], edx
mov edi, dword [eax + 0x78]
mov dword [esp + 0x30], edi
lea eax, [edi + 0x18]
mov dword [esi + 0xa0c], eax
mov eax, dword [0x471df4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push ebp
lea ecx, [esp + 0x54]
push ebp
push ecx
push ebp
push ebp
lea ecx, [esp + 0xc4]
mov byte [esp + 0x36c], 9
call fcn.00435e50
lea edx, [esp + 0x40]
mov byte [esp + 0x358], 0xa
push edx
call fcn.0043af20
add esp, 4
call fcn.004089d0
test eax, eax
je 0x40a378
mov eax, dword [esi + 0x9a0]
mov ecx, dword [eax]
add ecx, 0xa
mov dword [eax], ecx
mov eax, dword [esi + 0xd64]
cmp eax, ebp
je 0x40a0cf
mov eax, dword [esi + 0x5dc]
not eax
test al, 0x40
je 0x40a0cf
test eax, 0x40000
je 0x40a0cf
mov ecx, esi
mov dword [esi + 0xc], 4
call fcn.0040bf40
mov ecx, esi
mov dword [esi + 0xb64], ebx
call fcn.00412f90
mov eax, dword [esi + 0xb74]
mov edi, dword [esi + 0xb6c]
mov ebx, dword [esi + 0xa18]
mov ebp, dword [esi + 0x844]
test eax, eax
jbe 0x40a0c2
mov dword [esp + 0x14], eax
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x20]
push eax
call fcn.0044a4c1
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [esp + 0x24]
push eax
call fcn.0044a4c1
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.0044a4c1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
push 1
push ecx
push edx
push 0
call fcn.00421fa0
add esp, 0x14
test eax, eax
je 0x40a092
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], 1
call fcn.00449d49
test eax, eax
jne 0x40a080
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00449c44
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40a098
mov dword [esp + 0x2c], 1
jmp 0x40a098
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x409ff8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a0c2
test dword [esi + 0x5dc], 0x1000000
je 0x40a0c2
mov ecx, esi
call fcn.00412c70
mov edi, dword [esp + 0x30]
mov dword [esi + 0x14], 0
xor ebp, ebp
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.00409d60
test eax, eax
je 0x40a339
mov ecx, esi
call fcn.0040c220
mov eax, dword [esi + 0x9a0]
mov ecx, dword [eax]
add ecx, 2
mov dword [eax], ecx
lea eax, [esi + 0x878]
push eax
push str.m_cslDeviceID
call fcn.004134f0
mov eax, dword [esi + 0xd64]
add esp, 8
lea ecx, [esi + 0xb84]
cmp eax, ebp
mov dword [esp + 0x6c], ecx
mov dword [esi + 0xc], 2
je 0x40a133
test byte [esi + 0x5dc], 0x40
je 0x40a234
mov edx, dword [esi + 0x5dc]
not edx
test edx, 0x40000
je 0x40a234
mov eax, dword [esi + 0x884]
mov ecx, dword [esi + 0x8b4]
mov edi, dword [esi + 0x87c]
mov ebp, dword [esi + 0x860]
mov ebx, dword [esi + 0x844]
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
jbe 0x40a22e
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x58]
push eax
call fcn.0044a4c1
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x54]
push eax
call fcn.0044a4c1
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [esp + 0x50]
push eax
call fcn.0044a4c1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
mov edx, dword [eax]
add eax, 8
push eax
mov dword [esp + 0x18], edx
call fcn.0044a4c1
mov eax, dword [esp + 0x28]
push str.INSTALL_STATUS_UPGRADED
push eax
call fcn.0043aac0
add esp, 8
test eax, eax
je 0x40a219
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, eax
jne 0x40a1fd
mov edx, dword [esi + 0x5dc]
or edx, 0x1004
mov dword [esp + 0x5c], edx
jmp 0x40a209
mov eax, dword [esi + 0x5dc]
or al, 4
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0042a1a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40a17d
mov edi, dword [esp + 0x30]
xor ebp, ebp
mov edx, dword [esi + 0x5dc]
not edx
test dl, 0x40
je 0x40a248
mov ecx, esi
call fcn.00407410
mov ecx, esi
call fcn.00411350
test eax, eax
je 0x40a312
mov ecx, dword [esi + 0xdbc]
call fcn.0041d540
mov ecx, esi
call fcn.0040d1a0
test byte [esi + 0x95c], 4
je 0x40a293
mov edx, dword [esi + 0x5dc]
lea eax, [esi + 0x5e4]
or dh, 0x20
push eax
lea ecx, [esi + 0x444]
mov dword [esi + 0x5dc], edx
call fcn.00439190
mov eax, dword [esi + 0x5dc]
test al, 0x40
je 0x40a2a1
mov dword [esp + 0x38], ebp
test eax, 0x10000
je 0x40a2b2
mov dword [esp + 0x2c], 1
jmp 0x40a318
cmp dword [esp + 0x38], ebp
je 0x40a318
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043af20
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
add esp, 4
sub edx, eax
lea eax, [esp + 0x150]
push edx
push str.About_to_Enumerate_System_:_Time_Elapsed___d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x150]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00412f90
mov ecx, esi
call fcn.00407c50
jmp 0x40a321
mov eax, dword [esi + 0x5dc]
or ah, 0x20
mov dword [esi + 0x5dc], eax
mov eax, dword [esi + 0x9a0]
mov ecx, dword [eax]
add ecx, 2
mov dword [eax], ecx
mov ecx, esi
call fcn.0040b730
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x5dc]
mov dword [esi + 0x14], ebp
not edx
test dl, 0x40
je 0x40a350
mov ecx, esi
call fcn.00413020
cmp dword [esp + 0x2c], ebp
je 0x40a365
mov eax, dword [esi + 0x5dc]
not eax
test eax, 0x40000000
jne 0x40a371
test dword [esi + 0x5dc], 0x400000
je 0x40a378
or dword [edi + 0xc], 0x200000
push 0x4b0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x9a0]
lea edx, [esp + 0x1c]
push edx
mov dword [ecx], 0x6e
call fcn.0043af20
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
add esp, 4
sub eax, ebx
lea ecx, [esp + 0x250]
push eax
push str.CInstall::Install_EXIT_:_Device_Installation_Elapsed_Time___d_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x250]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x358], 9
call fcn.0044b98e
lea ecx, [esp + 0x74]
mov byte [esp + 0x358], 0xf
call fcn.0044a3d4
lea ecx, [esp + 0x70]
mov byte [esp + 0x358], 0xe
call fcn.0044a3d4
lea ecx, [esp + 0x64]
mov byte [esp + 0x358], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x358], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x358], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x358], 8
call fcn.0044a3d4
lea ecx, [esp + 0x94]
mov byte [esp + 0x358], 7
call fcn.00449b0f
lea ecx, [esp + 0x78]
mov byte [esp + 0x358], 6
call fcn.00449b0f
lea ecx, [esp + 0x28]
mov byte [esp + 0x358], 5
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x358], 4
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x358], 3
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x358], 2
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x358], 1
call fcn.0044a3d4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x358], 0
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov dword [esp + 0x358], 0xffffffff
call fcn.0044a3d4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
add esp, 0x34c
ret 4