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

Disassembly:
push 0xffffffffffffffff
push 0x48d9c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae8
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
call fcn.0044bde0
test eax, eax
je 0x40b62f
mov eax, dword [esp + 0xb08]
lea edx, [esp + 0x5f4]
mov ecx, dword [eax]
push ecx
push str.CInstall::SetupFilesForPreInstall_:_csTempInstallPath___s_n
push edx
call fcn.00471c30
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 + 0x7f8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7f8]
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 + 0x5f4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x7f8]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x78], eax
mov dword [esp + 0xb00], 0
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 0x403790
push 0x403770
push 5
lea ecx, [esp + 0xb0]
push 8
push ecx
mov byte [esp + 0xb14], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
push 0xa
lea ecx, [esp + 0x60]
mov dword [esp + 0xb04], 7
call fcn.00481a49
mov eax, dword [0x4b538c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x6f4]
push 1
push edx
mov byte [esp + 0xb08], 0xb
call fcn.0046c7d0
add esp, 8
call fcn.0044bde0
test eax, eax
je 0x40b722
lea eax, [esp + 0x6f4]
lea ecx, [esp + 0x5f4]
push eax
push str.szLocalPath___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x5f4]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea ecx, [ebp + 0x1b0]
mov dword [esp + 0x30], ecx
call fcn.00429fb0
mov eax, dword [esp + 0xb0c]
mov esi, dword [eax + 4]
test esi, esi
je 0x40bbf1
jmp 0x40b749
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
add esi, 8
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x7c]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x80]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x88]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x88]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x8c]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x94]
call fcn.00482375
lea edx, [esi + 0x1c]
lea ebp, [esi + 0x2c]
lea edi, [esp + 0xa8]
mov dword [esp + 0x20], 5
mov eax, dword [edx]
mov dword [esp + 0x94], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x98], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x9c], eax
mov eax, esi
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x78]
sub eax, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x50], eax
push ebp
lea ecx, [edi - 4]
call fcn.00482375
mov eax, dword [esp + 0x50]
mov ecx, edi
add eax, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x20]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x40b801
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0xd0]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0xd4]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0xd8], ecx
mov ecx, 0x146
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
call fcn.00481a88
mov edi, dword [esp + 0xb08]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x8c]
push edx
push edi
push eax
call fcn.0042fad0
test eax, eax
je 0x40bbe5
mov eax, dword [esp + 0x60]
test eax, eax
mov ebp, eax
je 0x40bbe5
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x14]
push eax
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x40b8fa
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x5f4]
push ecx
push str.csInstallAppPath___s_n
push edx
call fcn.00471c30
add esp, 0xc
lea eax, [esp + 0x5f4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0x5c
jne 0x40b94a
lea edx, [esp + 0x6f4]
lea ecx, [esp + 0x48]
push edx
call fcn.004822f6
or ebx, 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0xb0c], 0xc
call fcn.0048246b
or ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0xb00], 0xd
jmp 0x40b9cf
push 0x4a919c
lea ecx, [esp + 0x44]
call fcn.004822f6
or ebx, 4
mov esi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x6f4]
lea ecx, [esp + 0x54]
push eax
mov dword [esp + 0xb04], 0xe
call fcn.004822f6
or ebx, 8
mov dword [esp + 0x10], ebx
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0xb0c], 0xf
call fcn.0048246b
or ebx, 0x10
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x14]
mov dword [esp + 0xb00], 0x10
push edx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0048246b
or ebx, 0x20
mov dword [esp + 0x10], ebx
mov dword [esp + 0xb00], 0x11
push eax
lea ecx, [esp + 0x20]
call fcn.00482375
test bl, 0x20
mov dword [esp + 0xb00], 0x10
je 0x40b9f9
and ebx, 0xffffffdf
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 0x10
mov dword [esp + 0xb00], 0xf
je 0x40ba19
and ebx, 0xffffffef
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 8
mov dword [esp + 0xb00], 0xe
je 0x40ba39
and ebx, 0xfffffff7
lea ecx, [esp + 0x54]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 4
mov dword [esp + 0xb00], 0xd
je 0x40ba59
and ebx, 0xfffffffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 2
mov dword [esp + 0xb00], 0xc
je 0x40ba79
and ebx, 0xfffffffd
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.00482288
mov esi, 0xb
test bl, 1
mov dword [esp + 0xb00], esi
je 0x40ba9a
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call fcn.00482288
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0x5c
jne 0x40bac4
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push edi
push eax
call fcn.0048246b
or ebx, 0x40
mov dword [esp + 0x10], ebx
mov byte [esp + 0xb00], 0x12
jmp 0x40bb24
push 0x4a919c
lea ecx, [esp + 0x30]
call fcn.004822f6
or bl, 0x80
mov dword [esp + 0x10], ebx
push eax
lea ecx, [esp + 0x48]
push edi
push ecx
mov dword [esp + 0xb0c], 0x13
call fcn.0048246b
or bh, 1
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x14]
mov dword [esp + 0xb00], 0x14
push edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0048246b
or bh, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0xb00], 0x15
push eax
lea ecx, [esp + 0x1c]
call fcn.00482375
test bh, 2
mov dword [esp + 0xb00], 0x14
je 0x40bb4e
and bh, 0xfd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bh, 1
mov dword [esp + 0xb00], 0x13
je 0x40bb6e
and bh, 0xfe
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 0x80
mov dword [esp + 0xb00], 0x12
je 0x40bb8e
and bl, 0x7f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebx
call fcn.00482288
test bl, 0x40
mov dword [esp + 0xb00], esi
je 0x40bbaa
and ebx, 0xffffffbf
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebx
call fcn.00482288
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0041c480
test eax, eax
jne 0x40bbdd
call fcn.0044bde0
test eax, eax
je 0x40bbdd
push str.Failed_to_Copy_Folder_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
test ebp, ebp
jne 0x40b8b1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40b745
call fcn.0044bde0
test eax, eax
je 0x40bc91
push 0
lea eax, [esp + 0x9fc]
push str.CInstall::SetupFilesForPreInstall_:_bRetVal___d_n
push eax
call fcn.00471c30
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 + 0x8f8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x8f8]
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 + 0x9f8]
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 + 0x8f8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x18]
mov byte [esp + 0xb00], 0xa
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb00], 9
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0xb00], 8
call fcn.00482288
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb00], 7
call fcn.00481abd
lea ecx, [esp + 0xd4]
mov dword [esp + 0xb00], 0x1f
call fcn.00482288
lea ecx, [esp + 0xd0]
mov byte [esp + 0xb00], 0x1e
call fcn.00482288
lea ecx, [esp + 0xcc]
mov byte [esp + 0xb00], 0x1d
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0xac]
push 8
push ecx
mov byte [esp + 0xb10], 0x1c
call fcn.00472130
lea ecx, [esp + 0x90]
mov byte [esp + 0xb00], 0x1b
call fcn.00482288
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb00], 0x1a
call fcn.00482288
lea ecx, [esp + 0x88]
mov byte [esp + 0xb00], 0x19
call fcn.00482288
lea ecx, [esp + 0x84]
mov byte [esp + 0xb00], 0x18
call fcn.00482288
lea ecx, [esp + 0x80]
mov byte [esp + 0xb00], 0x17
call fcn.00482288
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb00], 0x16
call fcn.00482288
lea ecx, [esp + 0x78]
mov dword [esp + 0xb00], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0xaf8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xaf4
ret 8