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

Disassembly:
push 0xffffffffffffffff
push 0x4726c7
mov eax, dword fs:[0]
push eax
mov eax, 0x10e4
call fcn.00440680
mov eax, dword [0x48dd78]
xor eax, esp
mov dword [esp + 0x10e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x10f8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1108]
push 0x48
mov esi, ecx
call fcn.00428d90
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x1100], 0
test eax, eax
je 0x40cbe1
push edi
mov ecx, eax
call fcn.00420aa0
mov edi, eax
jmp 0x40cbe3
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x1100], ebx
test edi, edi
jne 0x40cbf8
xor al, al
jmp 0x40dc26
push 0
mov ecx, edi
call fcn.00422560
test al, al
je 0x40cbf1
push str.SetupInfo
mov ecx, edi
call fcn.0041f770
test eax, eax
je 0x40cbf1
mov byte [esi + 0x2c], 1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ebp, eax
push str.Product
mov ecx, ebp
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.DefaultDir
mov ecx, ebp
mov edi, eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.Links
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.OnInit
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.InstallPre
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.Install
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.InstallEnd
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0041f770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push str.Name
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.004207c0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040aba0
push eax
mov ecx, esi
mov dword [esp + 0x1104], 1
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push str.Main
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040aba0
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x1104], 2
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push str.NTMin
mov ecx, edi
call fcn.004207c0
push str.NTMax
mov ecx, edi
mov dword [esi + 0x30], eax
call fcn.004207c0
push 0x475da4
mov ecx, edi
mov dword [esi + 0x34], eax
call fcn.004207c0
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040aba0
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x1104], 3
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push str.Publisher
mov ecx, edi
call fcn.004207c0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040aba0
lea ecx, [esi + 0x18]
push eax
mov dword [esp + 0x1104], 4
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push 0x475d94
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040aba0
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x1104], 5
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push 0x475d90
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040aba0
mov dword [esp + 0x1100], 6
push eax
lea ecx, [esi + 0x20]
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
push 0x475d8c
mov ecx, edi
mov dword [esi + 0x24], 0x20
call fcn.004207c0
test eax, eax
je 0x40ce8b
push 0x475d8c
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esi + 0x24], eax
mov edi, dword [esp + 0x20]
push str.Path
mov ecx, edi
call fcn.004207c0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040aba0
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x1104], 7
call fcn.00404fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1100], ebx
call fcn.00403820
mov ecx, edi
call fcn.0041f8d0
mov edi, eax
test edi, edi
je 0x40d058
lea ecx, [ecx]
push 0x618
lea edx, [esp + 0x90]
push 0
push edx
call fcn.0043e9f0
add esp, 0xc
push 0x475d80
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40cf57
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40cf57
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Name
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0x29c]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x30]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40cfb1
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40cfb1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push 0x475d7c
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d01b
push 0x475d7c
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0x4a4]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x34]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40d01b
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40d01b
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
mov ebp, dword [esi + 0x4c]
mov edx, dword [ebp + 4]
lea ecx, [esi + 0x38]
lea eax, [esp + 0x8c]
push eax
push edx
push ebp
call fcn.004093a0
push 1
lea ecx, [esi + 0x38]
mov ebx, eax
call fcn.0040b900
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, edi
mov dword [eax], ebx
call fcn.0041f940
mov edi, eax
test edi, edi
jne 0x40cee0
mov edi, dword [esp + 0x1c]
push str.Group
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d09f
push str.Group
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040aba0
push eax
lea ecx, [esi + 0x28]
mov dword [esp + 0x1104], 8
call fcn.00404fd0
lea ecx, [esp + 0x14]
jmp 0x40d0e7
push 0x475814
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040a490
push esi
push eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x110c], 9
call fcn.0040a410
push eax
lea ecx, [esi + 0x28]
mov byte [esp + 0x1104], 0xa
call fcn.00404fd0
lea ecx, [esp + 0x14]
call fcn.00403820
lea ecx, [esp + 0x20]
mov dword [esp + 0x1100], 0xffffffff
call fcn.00403820
mov ecx, edi
call fcn.0041f8d0
mov edi, eax
test edi, edi
je 0x40d354
jmp 0x40d110
push 0x828
lea eax, [esp + 0x90]
push 0
push eax
call fcn.0043e9f0
add esp, 0xc
push str.Name
mov ecx, edi
call fcn.004207c0
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea edx, [esp + 0x9c]
push edx
call fcn.0043fecb
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d187
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40d187
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push 0x475d7c
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0x2a4]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x30]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d1e1
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40d1e1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Path
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0x4ac]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d23b
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40d23b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Param
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d2a5
push str.Param
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0x6b4]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d2a5
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40d2a5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Platform
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d2d3
push str.Platform
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440389
fstp dword [esp + 0x90]
add esp, 4
jmp 0x40d2e0
fld dword [0x4758dc]
fstp dword [esp + 0x8c]
push str.Condition
mov ecx, edi
mov dword [esp + 0x94], 0
call fcn.004207c0
test eax, eax
je 0x40d317
push str.Condition
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x90], eax
mov ebp, dword [esi + 0x68]
mov eax, dword [ebp + 4]
lea ecx, [esi + 0x54]
lea edx, [esp + 0x8c]
push edx
push eax
push ebp
call fcn.00409420
push 1
lea ecx, [esi + 0x54]
mov ebx, eax
call fcn.0040b9a0
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, edi
mov dword [eax], ebx
call fcn.0041f940
mov edi, eax
test edi, edi
jne 0x40d110
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
lea ecx, [esi + 0x8c]
lea edx, [esi + 0xa8]
lea eax, [esi + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], 0
jmp 0x40d3a0
mov ecx, dword [esp + 0x18]
mov ecx, dword [esp + ecx + 0x80]
call fcn.0041f8d0
mov edi, eax
test edi, edi
je 0x40d717
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx + 0x74]
mov dword [esp + 0x14], eax
jmp 0x40d3d0
push 0x834
xor ebx, ebx
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.0043e9f0
add esp, 0xc
push str.File
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0x2b0]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d448
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d448
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Type
mov ecx, edi
mov dword [esp + 0x98], ebx
call fcn.004207c0
test eax, eax
je 0x40d47b
push str.Type
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x94], eax
push str.Name
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d4e5
push str.Name
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x34]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d4e5
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d4e5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Mode
mov ecx, edi
mov dword [esp + 0x9c], ebx
call fcn.004207c0
test eax, eax
je 0x40d518
push str.Mode
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x98], eax
xor edx, edx
push str.Param
mov ecx, edi
mov word [esp + 0x4b4], dx
call fcn.004207c0
test eax, eax
je 0x40d58c
push str.Param
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0x4b8]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x30]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40d58c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d58c
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Wait
mov ecx, edi
mov byte [esp + 0x90], 0
call fcn.004207c0
test eax, eax
je 0x40d5c5
push str.Wait
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
test eax, eax
setne al
mov byte [esp + 0x8c], al
push str.Return
mov ecx, edi
mov byte [esp + 0x91], 0
call fcn.004207c0
test eax, eax
je 0x40d5fe
push str.Return
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
test eax, eax
setne cl
mov byte [esp + 0x8d], cl
push str.Silent
mov ecx, edi
mov dword [esp + 0x94], ebx
call fcn.004207c0
test eax, eax
je 0x40d631
push str.Silent
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x90], eax
push str.TimeOut
mov ecx, edi
mov dword [esp + 0xa0], ebx
call fcn.004207c0
test eax, eax
je 0x40d664
push str.TimeOut
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x9c], eax
xor edx, edx
push str.Display
mov ecx, edi
mov word [esp + 0x6bc], dx
call fcn.004207c0
test eax, eax
je 0x40d6d8
push str.Display
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0x6c0]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x2c]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40d6d8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d6d8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + 0x14]
mov edx, dword [ebp + 4]
lea eax, [esp + 0x8c]
push eax
push edx
push ebp
call fcn.00409320
mov ecx, dword [esp + 0x14]
push 1
mov ebx, eax
call fcn.0040b7c0
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, edi
mov dword [eax], ebx
call fcn.0041f940
mov edi, eax
test edi, edi
jne 0x40d3d0
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x18], eax
jl 0x40d3a0
mov ecx, dword [esp + 0x30]
call fcn.0041f8d0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x40dc24
jmp 0x40d754
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x58]
call fcn.0040b320
push str.ResID
mov ecx, edi
mov dword [esp + 0x1104], 0xb
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
push str.FileSize
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
push 0x475cf8
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
test eax, eax
setg al
push str.Platform
mov ecx, edi
mov byte [esp + 0x50], al
call fcn.004207c0
test eax, eax
je 0x40d7e3
push str.Platform
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440389
fstp dword [esp + 0x54]
add esp, 4
jmp 0x40d7ed
fld dword [0x4758dc]
fstp dword [esp + 0x50]
push str.Condition
mov ecx, edi
mov dword [esp + 0x58], 0
call fcn.004207c0
test eax, eax
je 0x40d81e
push str.Condition
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x54], eax
mov ecx, edi
call fcn.0041f8d0
mov edi, eax
test edi, edi
je 0x40db7a
nop
push 0x834
xor ebx, ebx
lea ecx, [esp + 0x8c4]
push ebx
push ecx
call fcn.0043e9f0
add esp, 0xc
push str.File
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0xae4]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d8a8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d8a8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Type
mov ecx, edi
mov dword [esp + 0x8cc], ebx
call fcn.004207c0
test eax, eax
je 0x40d8db
push str.Type
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x8c8], eax
push str.Name
mov ecx, edi
call fcn.004207c0
test eax, eax
je 0x40d945
push str.Name
mov ecx, edi
call fcn.004207c0
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea eax, [esp + 0x8dc]
push eax
call fcn.0043fecb
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x48d12c]
je 0x40d945
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d945
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Mode
mov ecx, edi
mov dword [esp + 0x8d0], ebx
call fcn.004207c0
test eax, eax
je 0x40d978
push str.Mode
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x8cc], eax
xor edx, edx
push str.Param
mov ecx, edi
mov word [esp + 0xce8], dx
call fcn.004207c0
test eax, eax
je 0x40d9ec
push str.Param
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0xcec]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x28]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40d9ec
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40d9ec
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
push str.Wait
mov ecx, edi
mov byte [esp + 0x8c4], 0
call fcn.004207c0
test eax, eax
je 0x40da25
push str.Wait
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
test eax, eax
setne al
mov byte [esp + 0x8c0], al
push str.Return
mov ecx, edi
mov byte [esp + 0x8c5], 0
call fcn.004207c0
test eax, eax
je 0x40da5e
push str.Return
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
test eax, eax
setne cl
mov byte [esp + 0x8c1], cl
push str.Silent
mov ecx, edi
mov dword [esp + 0x8c8], ebx
call fcn.004207c0
test eax, eax
je 0x40da91
push str.Silent
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x8c4], eax
push str.TimeOut
mov ecx, edi
mov dword [esp + 0x8d4], ebx
call fcn.004207c0
test eax, eax
je 0x40dac4
push str.TimeOut
mov ecx, edi
call fcn.004207c0
push eax
call fcn.00440634
add esp, 4
mov dword [esp + 0x8d0], eax
xor edx, edx
push str.Display
mov ecx, edi
mov word [esp + 0xef0], dx
call fcn.004207c0
test eax, eax
je 0x40db38
push str.Display
mov ecx, edi
call fcn.004207c0
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0040aba0
mov eax, dword [eax]
push 0x104
push eax
lea ecx, [esp + 0xef4]
push ecx
call fcn.0043fecb
mov eax, dword [esp + 0x38]
lea edx, [eax - 0xc]
add esp, 0xc
cmp edx, dword [0x48d12c]
je 0x40db38
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40db38
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 4]
lea ebx, [eax + 4]
lea ecx, [esp + 0x8c0]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
call fcn.00409320
push 1
lea ecx, [esp + 0x5c]
mov ebp, eax
call fcn.0040b7c0
mov dword [ebx], ebp
mov eax, dword [ebp + 4]
mov ecx, edi
mov dword [eax], ebp
call fcn.0041f940
mov edi, eax
test edi, edi
jne 0x40d830
mov eax, dword [esp + 0x70]
mov edi, dword [esi + 0xd8]
lea ebx, [esi + 0xc4]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x4c], eax
mov edx, dword [edi + 4]
push edx
push edi
mov ecx, ebx
call fcn.0040c8c0
push 1
mov ecx, ebx
mov ebp, eax
call fcn.0040ba40
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
call fcn.0041f940
mov ecx, dword [esp + 0x6c]
mov ebx, eax
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1100], 0xffffffff
mov dword [esp + 0x70], ebp
cmp eax, ecx
je 0x40dc05
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, edi
cmp edi, ecx
jne 0x40dbf0
push ecx
call fcn.00428dc0
mov eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x74], ebp
call fcn.00428dc0
add esp, 8
cmp ebx, ebp
jne 0x40d750
mov al, 1
mov ecx, dword [esp + 0x10f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10e0]
xor ecx, esp
call fcn.0043e9e1
add esp, 0x10f0
ret 4