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

Disassembly:
push 0xffffffffffffffff
push 0x42c386
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
mov esi, dword [esp + 0x148]
mov dword [esp + 0x18], ecx
xor ebx, ebx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
call fcn.0040b3f0
mov ebp, 0xf
mov dword [esp + 0x140], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov eax, esi
mov byte [esp + 0x140], 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40cda5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00403ad0
mov eax, dword [esp + 0x78]
mov edi, 0x10
cmp dword [esp + 0x8c], edi
jae 0x40cdd1
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xcc]
call fcn.0040f490
test al, al
je 0x40d33c
lea ecx, [esp + 0xc8]
call fcn.0040dcc0
test al, al
je 0x40d33c
push 0x4307f4
lea ecx, [esp + 0xcc]
call fcn.0040e020
test al, al
je 0x40d33c
lea ecx, [esp + 0xc8]
call fcn.0040d9a0
test al, al
je 0x40d33c
push str.install
lea ecx, [esp + 0xcc]
call fcn.0040e020
test al, al
je 0x40d2e2
lea ecx, [esp + 0xc8]
call fcn.0040d9a0
push str.system
lea ecx, [esp + 0xcc]
call fcn.0040e020
test al, al
je 0x40d2e2
jmp 0x40ce70
push str.version
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0xd0]
call fcn.00402fc0
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov eax, dword [0x43900c]
cmp eax, 2
mov byte [esp + 0x140], 3
je 0x40cef4
cmp eax, 3
je 0x40cef4
cmp eax, 1
je 0x40cef4
cmp eax, 4
je 0x40cee1
cmp eax, 5
je 0x40cee1
cmp eax, 6
je 0x40cece
cmp eax, 7
jne 0x40cf17
push str.Win7
lea ecx, [esp + 0x94]
call fcn.004040a0
jmp 0x40cf07
push str.WinVista
lea ecx, [esp + 0x94]
call fcn.004040a0
jmp 0x40cf07
push 5
push str.WinXp
lea ecx, [esp + 0x98]
call fcn.00403630
cmp dword [esp + 0xa8], edi
mov eax, dword [esp + 0x94]
jae 0x40cf1e
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xc0]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0xbc]
call fcn.004021c0
test eax, eax
jne 0x40d265
lea ecx, [esp + 0xc8]
call fcn.0040d9a0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xcc]
call fcn.0040e020
test al, al
je 0x40d265
lea ecx, [esp + 0xc8]
call fcn.0040d9a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ebp, ebp
imul ecx, ecx, 0x1cc
lea esi, [ecx + edx + 0x1c0]
lea esp, [esp]
push str.file
lea ecx, [esp + 0xcc]
call fcn.0040e020
test al, al
je 0x40d260
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push str.desc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x148], 4
call fcn.00402fc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 5
call fcn.004033d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40d00b
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x180]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40d011
mov ecx, dword [esp + 0x14c]
mov dword [esi], ecx
push str.name
lea ecx, [esp + 0xcc]
call fcn.0040e0a0
test al, al
je 0x40d096
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 6
call fcn.004033d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40d082
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x1c0]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40d088
push str.path
lea ecx, [esp + 0xcc]
call fcn.0040e0a0
test al, al
je 0x40d104
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xcc]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 7
call fcn.004033d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40d0f0
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x140]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40d0f6
push 0x430818
lea ecx, [esp + 0xcc]
call fcn.0040e0a0
test al, al
je 0x40d16f
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xcc]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 8
call fcn.004033d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40d15e
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x40]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40d161
push str.delete
lea ecx, [esp + 0xcc]
call fcn.0040e0a0
test al, al
je 0x40d1d5
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 9
call fcn.004033d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40d1c9
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 8], eax
jmp 0x40d1dc
mov dword [esi + 8], 1
push str.flag
lea ecx, [esp + 0xcc]
call fcn.0040e0a0
test al, al
je 0x40d238
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xcc]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xa
call fcn.004033d0
lea ecx, [esp + 0x3c]
call fcn.00402b50
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40d22e
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 4], eax
add dword [esp + 0x14], 1
lea ecx, [esp + 0x58]
add esi, 0x1cc
mov byte [esp + 0x140], 3
call fcn.00402b50
add ebp, 1
cmp ebp, 0x40
jl 0x40cf90
mov ebp, 0xf
cmp dword [esp + 0xa8], edi
jb 0x40d27e
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0xc4], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov byte [esp + 0x140], 1
jb 0x40d2b4
mov edx, dword [esp + 0xb0]
push edx
call fcn.0040f57f
add esp, 4
push str.system
lea ecx, [esp + 0xcc]
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.0040e020
test al, al
jne 0x40ce70
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x124], ebx
jb 0x40d30d
mov eax, dword [esp + 0x78]
push eax
call fcn.0040f57f
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x140], 0xffffffff
call fcn.0040b4a0
mov eax, dword [esp + 0x14]
jmp 0x40d37d
cmp dword [esp + 0x8c], edi
jb 0x40d352
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0040f57f
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x140], 0xffffffff
call fcn.0040b4a0
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0041811d
add esp, 0x130
ret