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

Disassembly:
push 0xffffffffffffffff
push 0x4562cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [esp + 0x98]
push str.InstallTheFiles_ENTRY_n
mov esi, ecx
push eax
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea ecx, [esp + 0x94]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push 0xa
lea ecx, [esp + 0x7c]
mov dword [esp + 0x2c], ebx
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x60]
mov dword [esp + 0x2a0], ebx
call fcn.00449a9b
push 0xa
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a0], 1
call fcn.00449a9b
lea edx, [esp + 0x78]
lea eax, [esi + 0x8b0]
push edx
lea ecx, [esi + 0xa14]
push eax
push ecx
mov byte [esp + 0x2a8], 2
call fcn.00411280
add esp, 0xc
lea edx, [esp + 0x5c]
lea eax, [esp + 0x78]
lea edi, [esi + 0x2f8]
push edx
push eax
push 1
mov ecx, edi
call fcn.00418870
lea ecx, [esp + 0x5c]
push ecx
push str.cslSourceFiles
call fcn.004134f0
add esp, 8
lea edx, [esp + 0x40]
lea eax, [esp + 0x78]
mov ecx, edi
push edx
push eax
push 1
call fcn.00419e70
lea ecx, [esp + 0x40]
push ecx
push str.cslDestinationFiles
call fcn.004134f0
mov eax, dword [0x471df4]
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
mov byte [esp + 0x29c], 7
cmp eax, ebx
jbe 0x41168c
mov dword [esp + 0x20], eax
mov bl, 9
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x1c]
push eax
call fcn.0044a4c1
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call fcn.0044a4c1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00449442
cmp eax, 0xffffffff
je 0x4114c0
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.004490eb
push str.SERWAVE.VXD
lea ecx, [esp + 0x14]
mov edi, 1
call fcn.00449464
cmp eax, 0xffffffff
jne 0x4114fe
push str.SERWVDRV.DRV
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x4114fe
push str.VMODCTL.DLL
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
je 0x411500
xor edi, edi
push str.MSOPL.DRV
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
push str.MSJSTICK.DRV
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
push str.VJOYD.VXD
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
push str.MSANALOG.VXD
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
push str.GCHAND.DLL
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
push str.GCDEF.DLL
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41167d
test edi, edi
je 0x41167d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0044a149
mov ecx, esi
call fcn.00410f10
test eax, eax
je 0x41167d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x980]
call fcn.00449c44
mov eax, dword [esi + 0xd64]
push ecx
test eax, eax
mov ecx, esp
jne 0x411647
lea edx, [esp + 0x14]
mov dword [esp + 0x30], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 8
call fcn.0044a149
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2ac], bl
call fcn.0044a149
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x2b0], 0xa
call fcn.0044a149
mov ecx, esi
mov byte [esp + 0x2ac], 7
call fcn.004082c0
jmp 0x41167d
lea edx, [esp + 0x14]
mov dword [esp + 0x28], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x2a8], 0xb
call fcn.0044a149
mov ecx, esi
mov byte [esp + 0x2a4], 7
call fcn.00408850
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x411483
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x411886
mov ebp, dword [esp + 0x44]
jbe 0x411886
mov dword [esp + 0x20], eax
mov bl, 0xf
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0044a4c1
lea ecx, [esp + 0x18]
call fcn.0044a35f
push 0x2c
lea ecx, [esp + 0x18]
call fcn.0044a84f
mov edi, eax
cmp edi, 0xffffffff
je 0x41176b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a4c1
inc edi
lea ecx, [esp + 0x18]
push edi
push 0
call fcn.004490eb
push 0x2c
lea ecx, [esp + 0x1c]
call fcn.00449442
mov edi, eax
cmp edi, 0xffffffff
je 0x411727
lea edx, [edi + 1]
lea ecx, [esp + 0x18]
push edx
push 0
call fcn.004490eb
lea ecx, [esp + 0x18]
call fcn.00449849
lea ecx, [esp + 0x18]
call fcn.004497fd
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.004493ca
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a0], 0xc
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x29c], 7
call fcn.0044a3d4
lea ecx, [esp + 0x14]
call fcn.00449849
lea ecx, [esp + 0x14]
call fcn.004497fd
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a4c1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00449442
cmp eax, 0xffffffff
je 0x411796
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.004490eb
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0044a149
mov ecx, esi
call fcn.00411160
test eax, eax
je 0x411877
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x980]
call fcn.00449c44
mov eax, dword [esi + 0xd64]
push ecx
test eax, eax
mov ecx, esp
jne 0x411841
lea edx, [esp + 0x14]
mov dword [esp + 0x28], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x2a8], 0xd
call fcn.0044a149
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x2ac], 0xe
call fcn.0044a149
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x2b0], bl
call fcn.0044a149
mov ecx, esi
mov byte [esp + 0x2ac], 7
call fcn.004082c0
jmp 0x411877
lea edx, [esp + 0x14]
mov dword [esp + 0x3c], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x2a8], 0x10
call fcn.0044a149
mov ecx, esi
mov byte [esp + 0x2a4], 7
call fcn.00408850
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x4116a8
mov ecx, dword [esi + 0x5dc]
not ecx
test ecx, 0x40000
je 0x4118c3
mov eax, dword [esi + 0xd64]
test eax, eax
je 0x4118ad
mov ecx, esi
call fcn.00407ea0
mov dword [esp + 0x28], eax
jmp 0x4118c3
lea edx, [esi + 0x808]
mov ecx, esi
push edx
mov dword [esp + 0x2c], 1
call fcn.00407cb0
push 0
lea eax, [esp + 0x198]
push str.InstallTheFiles_EXIT_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x194]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x29c], 6
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x29c], 5
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x29c], 4
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 3
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], 2
call fcn.0044a3d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x29c], 1
call fcn.00449b0f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x29c], 0
call fcn.00449b0f
lea ecx, [esp + 0x78]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00449b0f
mov ecx, dword [esp + 0x294]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x290
ret