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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x481748
push eax
mov eax, 0x1e70
mov dword fs:[0], esp
call fcn.004660e0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x14], ebx
call fcn.00441cf0
test eax, eax
je 0x40b361
mov eax, dword [esp + 0x1e90]
lea edx, [esp + 0x5e4]
mov ecx, dword [eax]
push ecx
push str.CInstall::SetupFilesForPreInstall_:_csTempInstallPath___s_n
push edx
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x7e8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x7e8]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea ecx, [esp + 0xae8]
call fcn.00422380
mov eax, dword [0x4a6844]
mov dword [esp + 0x1e88], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
push 0x403560
push 0x403540
push 5
lea ecx, [esp + 0xa0]
push 8
push ecx
mov byte [esp + 0x1e9c], 7
call fcn.00466040
mov eax, dword [0x4a6844]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
push 0xa
lea ecx, [esp + 0x60]
mov byte [esp + 0x1e8c], 8
call fcn.00475669
mov eax, dword [0x4a6844]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x6e4]
push 1
push edx
mov byte [esp + 0x1e90], 0xc
call fcn.004605c0
add esp, 8
call fcn.00441cf0
test eax, eax
je 0x40b459
lea eax, [esp + 0x6e4]
lea ecx, [esp + 0x5e4]
push eax
push str.szLocalPath___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x5e4]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [esp + 0x1e94]
mov esi, dword [eax + 4]
cmp esi, ebx
je 0x40b8f2
jmp 0x40b471
mov esi, dword [esp + 0x28]
mov ecx, dword [esi]
add esi, 8
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.00475f95
lea edx, [esi + 4]
lea ecx, [esp + 0x7c]
push edx
call fcn.00475f95
lea eax, [esi + 8]
lea ecx, [esp + 0x80]
push eax
call fcn.00475f95
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x88]
call fcn.00475f95
lea edx, [esi + 0x10]
lea ecx, [esp + 0x88]
push edx
call fcn.00475f95
lea eax, [esi + 0x14]
lea ecx, [esp + 0x8c]
push eax
call fcn.00475f95
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x94]
call fcn.00475f95
mov eax, esi
lea edx, [esp + 0x78]
sub eax, edx
lea ebp, [esi + 0x1c]
lea edi, [esp + 0x98]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 5
push ebp
lea ecx, [edi - 4]
call fcn.00475f95
mov eax, dword [esp + 0x38]
mov ecx, edi
add eax, edi
push eax
call fcn.00475f95
mov eax, dword [esp + 0x24]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x24], eax
jne 0x40b4ff
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00475f95
lea edx, [esi + 0x48]
lea ecx, [esp + 0xc0]
push edx
call fcn.00475f95
lea eax, [esi + 0x4c]
lea ecx, [esp + 0xc4]
push eax
call fcn.00475f95
mov ecx, dword [esi + 0x50]
add esi, 0x54
mov dword [esp + 0xc8], ecx
mov ecx, 0x146
lea edi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
call fcn.004756a8
mov edi, dword [esp + 0x1e90]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x90]
push edi
push eax
lea ecx, [esp + 0xaf4]
call fcn.00428180
test eax, eax
je 0x40b8e6
mov eax, dword [esp + 0x60]
test eax, eax
mov ebp, eax
je 0x40b8e6
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x40b5fb
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x5e4]
push ecx
push str.csInstallAppPath___s_n
push edx
call fcn.00465850
add esp, 0xc
lea eax, [esp + 0x5e4]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x5c
jne 0x40b64b
lea edx, [esp + 0x6e4]
lea ecx, [esp + 0x2c]
push edx
call fcn.00475f16
or ebx, 1
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0x1e94], 0xd
call fcn.0047608b
or ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e88], 0xe
jmp 0x40b6d0
push 0x49b19c
lea ecx, [esp + 0x44]
call fcn.00475f16
or ebx, 4
mov esi, eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x6e4]
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0x1e8c], 0xf
call fcn.00475f16
or ebx, 8
mov dword [esp + 0x14], ebx
push esi
lea ecx, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x1e94], 0x10
call fcn.0047608b
or ebx, 0x10
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x1e88], 0x11
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0047608b
or ebx, 0x20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e88], 0x12
push eax
lea ecx, [esp + 0x24]
call fcn.00475f95
test bl, 0x20
mov dword [esp + 0x1e88], 0x11
je 0x40b6fa
and ebx, 0xffffffdf
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 0x10
mov dword [esp + 0x1e88], 0x10
je 0x40b71a
and ebx, 0xffffffef
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 8
mov dword [esp + 0x1e88], 0xf
je 0x40b73a
and ebx, 0xfffffff7
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 4
mov dword [esp + 0x1e88], 0xe
je 0x40b75a
and ebx, 0xfffffffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 2
mov dword [esp + 0x1e88], 0xd
je 0x40b77a
and ebx, 0xfffffffd
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
mov esi, 0xc
test bl, 1
mov dword [esp + 0x1e88], esi
je 0x40b79b
and ebx, 0xfffffffe
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x5c
jne 0x40b7c5
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push edi
push eax
call fcn.0047608b
or ebx, 0x40
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1e88], 0x13
jmp 0x40b825
push 0x49b19c
lea ecx, [esp + 0x50]
call fcn.00475f16
or bl, 0x80
mov dword [esp + 0x14], ebx
push eax
lea ecx, [esp + 0x48]
push edi
push ecx
mov dword [esp + 0x1e94], 0x14
call fcn.0047608b
or bh, 1
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x1e88], 0x15
push edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0047608b
or bh, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e88], 0x16
push eax
lea ecx, [esp + 0x20]
call fcn.00475f95
test bh, 2
mov dword [esp + 0x1e88], 0x15
je 0x40b84f
and bh, 0xfd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bh, 1
mov dword [esp + 0x1e88], 0x14
je 0x40b86f
and bh, 0xfe
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 0x80
mov dword [esp + 0x1e88], 0x13
je 0x40b88f
and bl, 0x7f
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
test bl, 0x40
mov dword [esp + 0x1e88], esi
je 0x40b8ab
and ebx, 0xffffffbf
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.00475ea8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.00419bb0
test eax, eax
jne 0x40b8de
call fcn.00441cf0
test eax, eax
je 0x40b8de
push str.Failed_to_Copy_Folder_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
test ebp, ebp
jne 0x40b5b2
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40b46d
call fcn.00441cf0
test eax, eax
je 0x40b992
push 0
lea eax, [esp + 0x9ec]
push str.CInstall::SetupFilesForPreInstall_:_bRetVal___d_n
push eax
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x8e8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x8e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x9e8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x8e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e88], 0xb
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e88], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e88], 9
call fcn.00475ea8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e88], 8
call fcn.004756dd
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1e88], 0x20
call fcn.00475ea8
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1e88], 0x1f
call fcn.00475ea8
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1e88], 0x1e
call fcn.00475ea8
push 0x403560
push 5
lea ecx, [esp + 0x9c]
push 8
push ecx
mov byte [esp + 0x1e98], 0x1d
call fcn.00465d50
lea ecx, [esp + 0x90]
mov byte [esp + 0x1e88], 0x1c
call fcn.00475ea8
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1e88], 0x1b
call fcn.00475ea8
lea ecx, [esp + 0x88]
mov byte [esp + 0x1e88], 0x1a
call fcn.00475ea8
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e88], 0x19
call fcn.00475ea8
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e88], 0x18
call fcn.00475ea8
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1e88], 0x17
call fcn.00475ea8
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e88], 0
call fcn.00475ea8
lea ecx, [esp + 0xae8]
lea edx, [esp + 0xd58]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x1e88], 0x22
and ecx, edx
call fcn.0041a660
lea ecx, [esp + 0xae8]
lea eax, [esp + 0xd28]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x1e88], 0x21
and ecx, eax
call fcn.00414250
lea ecx, [esp + 0xae8]
lea edx, [esp + 0xaec]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x1e88], 0xffffffff
and ecx, edx
call fcn.00414250
mov ecx, dword [esp + 0x1e80]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e7c
ret 8