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

Disassembly:
push 0xffffffffffffffff
push 0x454f52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [esp + 0xe0]
push str.SetupInstallEnviroment_ENTRY_n
mov esi, ecx
push eax
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea ecx, [esp + 0xdc]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov eax, dword [0x471df4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x3e8], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x3f0]
push 0xa
lea ecx, [esp + 0xc4]
mov byte [esp + 0x3ec], 3
mov edx, dword [edi + 0x1c]
mov dword [esi + 0xdbc], edx
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3ec], 4
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x70]
mov byte [esp + 0x3ec], 5
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x38]
mov byte [esp + 0x3ec], 6
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0xa8]
mov byte [esp + 0x3ec], 7
call fcn.00449a9b
lea eax, [esp + 0x2dc]
push 0x104
push eax
push ebx
mov byte [esp + 0x3f4], 8
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [esi + 0x99c], ebx
jne 0x40999e
mov eax, dword [edi + 0xc]
lea ebp, [esi + 0x5dc]
test eax, 0x8000000
mov dword [ebp], eax
je 0x409462
add edi, 0x20
push 0x46af68
mov ecx, edi
call fcn.00449464
cmp eax, 0xffffffff
je 0x409376
push 0x46a404
lea ecx, [esp + 0x1c]
call fcn.0044a442
push eax
lea ecx, [esp + 0x14]
mov bl, 9
push edi
push ecx
mov byte [esp + 0x3f4], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ec], 0xa
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e8], bl
call fcn.0044a3d4
mov byte [esp + 0x3e8], 8
lea ecx, [esp + 0x18]
jmp 0x409446
lea edx, [esp + 0x2dc]
lea ecx, [esp + 0x14]
push edx
call fcn.0044a511
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00449442
cmp eax, 0xffffffff
je 0x4093ca
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004493ca
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ec], 0xb
call fcn.0044a4c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e8], 8
call fcn.0044a3d4
push 0x46a404
lea ecx, [esp + 0x24]
call fcn.0044a442
mov ebx, eax
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x3f4], 0xc
call fcn.0044a5b7
push ebx
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x3f0], 0xd
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ec], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e8], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e8], 0xc
call fcn.0044a3d4
mov byte [esp + 0x3e8], 8
lea ecx, [esp + 0x20]
call fcn.0044a3d4
lea ecx, [esp + 0x14]
lea edi, [esi + 0x940]
push ecx
mov ecx, edi
call fcn.00449c44
jmp 0x40958b
test al, 0x10
je 0x4094df
push str.PREV_
lea ecx, [esp + 0x24]
call fcn.0044a442
push eax
lea edx, [esi + 0x5e0]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x3f4], 0xf
call fcn.0044a5b7
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e8], 0x11
call fcn.0044a3d4
lea ecx, [esp + 0x10]
lea edi, [esi + 0x940]
push ecx
mov ecx, edi
call fcn.00449c44
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0044a149
mov ecx, esi
call fcn.0040faa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e8], 8
call fcn.0044a3d4
jmp 0x40958b
push 0xa
lea ecx, [esp + 0x54]
call fcn.00449a9b
mov eax, dword [0x471df4]
mov dword [esp + 0x10], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x50]
lea ebx, [esi + 0x2f8]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x3f0], 0x13
call fcn.00418320
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esi + 0xa30]
call fcn.0041cdc0
test eax, eax
je 0x409538
lea edx, [esp + 0x10]
lea ecx, [esp + 0x50]
push edx
call fcn.00449c44
cmp dword [esi + 0x18], 3
jne 0x409556
lea eax, [esi + 0xb38]
push ebp
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esi + 0xdbc]
call fcn.0041d140
lea edi, [esi + 0x940]
lea edx, [esp + 0x50]
push edi
push edx
mov ecx, ebx
call fcn.00418150
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e8], 0x12
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x3e8], 8
call fcn.00449b0f
push edi
push str.m_cslInstallPaths
call fcn.004134f0
mov eax, dword [esi + 0x94c]
mov edi, dword [esi + 0x944]
add esp, 8
test eax, eax
jbe 0x409643
lea ebx, [esi + 0x2f8]
mov dword [esp + 0x10], eax
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0044a4c1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0044a149
mov ecx, ebx
call fcn.00418e90
mov ecx, dword [ebp]
push 1
or ecx, eax
mov eax, ecx
mov dword [ebp], ecx
push eax
mov ecx, ebx
call fcn.00415ac0
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x90]
push eax
lea edx, [esp + 0xcc]
push ecx
push edx
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0044a149
mov ecx, esi
call fcn.00408dd0
mov dword [esi + 0x95c], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4095b7
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jne 0x4098c9
mov eax, dword [esp + 0x78]
cmp ecx, eax
jne 0x4098c9
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x4098c9
cmp ecx, dword [esp + 0xb0]
jne 0x4098c9
mov ecx, esi
call fcn.004091a0
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.004090e0
lea edx, [esp + 0xa4]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0xcc]
push edx
push eax
mov ecx, esi
call fcn.00408aa0
mov eax, dword [esi + 0xd64]
mov dword [esi + 0x10], 0
test eax, eax
mov eax, dword [esi + 0x884]
je 0x4097f1
mov edi, dword [esi + 0x87c]
mov ebp, dword [esp + 0x70]
test eax, eax
jbe 0x40980c
mov ebx, eax
mov eax, edi
mov edi, dword [edi]
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 + 0x28]
push eax
call fcn.0044a4c1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x3f8], 0x14
call fcn.0044a149
mov ecx, esi
mov byte [esp + 0x3f4], 8
call fcn.0040c7b0
test eax, eax
je 0x40975a
mov dword [esi + 0xb5c], 1
jmp 0x409768
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044a4c1
lea edx, [esp + 0x28]
push 0x46a404
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0044a61d
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x3f4], 0x15
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3ec], 0x16
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e8], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e8], 8
call fcn.0044a3d4
lea eax, [esp + 0x1c]
lea ecx, [esi + 0xb68]
push eax
call fcn.00449c44
push str.INSTALL_STATUS_INSTALLING
lea ecx, [esi + 0x8b0]
call fcn.00449c01
dec ebx
jne 0x4096e9
jmp 0x40980c
test eax, eax
jbe 0x40980c
lea ebx, [esi + 0x8b0]
mov edi, eax
push str.INSTALL_STATUS_INSTALLING
mov ecx, ebx
call fcn.00449c01
dec edi
jne 0x4097fd
mov eax, dword [esi + 0xd64]
test eax, eax
je 0x409845
mov eax, dword [esi + 0xb5c]
test eax, eax
je 0x409845
mov eax, dword [esi + 0xb60]
test eax, eax
je 0x409845
mov ecx, esi
call fcn.00412880
test eax, eax
je 0x409845
call fcn.0042fb20
test eax, eax
je 0x409845
mov ecx, esi
call fcn.00412ec0
mov ecx, dword [esi + 0x5dc]
not ecx
test ecx, 0x40000
je 0x40985c
mov ecx, esi
call fcn.00410cf0
lea edx, [esi + 0x894]
mov edi, 1
push edx
mov ecx, esi
mov dword [esi + 0x99c], edi
call fcn.004089e0
mov dword [esi + 0x97c], eax
mov eax, dword [esi + 0x884]
test eax, eax
jle 0x40989e
mov eax, dword [esp + 0x3f0]
mov edx, dword [esi + 0x5dc]
mov dword [esp + 0x2c], edi
mov dword [eax + 0xc], edx
jmp 0x4099a6
mov ecx, dword [esp + 0x3f0]
lea eax, [esi + 0xb3c]
push eax
add ecx, 0x24
call fcn.0044a4c1
mov eax, dword [esp + 0x3f0]
mov edx, dword [esi + 0x5dc]
mov dword [eax + 0xc], edx
jmp 0x4099a6
push 0
lea ecx, [esp + 0xe0]
push str.ERROR_:_Array_Size_Mismatch_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0xdc]
mov ecx, 0x475b68
push edx
call fcn.0042f820
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3e8], 7
call fcn.00449b0f
lea ecx, [esp + 0x34]
mov byte [esp + 0x3e8], 6
call fcn.00449b0f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3e8], 5
call fcn.00449b0f
lea ecx, [esp + 0x88]
mov byte [esp + 0x3e8], 4
call fcn.00449b0f
lea ecx, [esp + 0xc0]
mov byte [esp + 0x3e8], 3
call fcn.00449b0f
lea ecx, [esp + 0x28]
mov byte [esp + 0x3e8], 2
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e8], 1
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e8], 0
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.0044a3d4
xor eax, eax
jmp 0x409a83
mov dword [esp + 0x2c], 1
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x1dc]
push esi
push str.SetupInstallEnviroment_EXIT_:_bRetVal___d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x1dc]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3e8], 7
call fcn.00449b0f
lea ecx, [esp + 0x34]
mov byte [esp + 0x3e8], 6
call fcn.00449b0f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3e8], 5
call fcn.00449b0f
lea ecx, [esp + 0x88]
mov byte [esp + 0x3e8], 4
call fcn.00449b0f
lea ecx, [esp + 0xc0]
mov byte [esp + 0x3e8], 3
call fcn.00449b0f
lea ecx, [esp + 0x28]
mov byte [esp + 0x3e8], 2
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e8], 1
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e8], 0
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.0044a3d4
mov eax, esi
mov ecx, dword [esp + 0x3e0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3dc
ret 4