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

Disassembly:
push 0xffffffffffffffff
push 0x428e06
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e6bc]
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.00409be0
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 0x40a915
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00402f80
mov eax, dword [esp + 0x78]
mov edi, 0x10
cmp dword [esp + 0x8c], edi
jae 0x40a941
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xcc]
call fcn.0040d080
test al, al
je 0x40aeac
lea ecx, [esp + 0xc8]
call fcn.0040b800
test al, al
je 0x40aeac
push 0x42c240
lea ecx, [esp + 0xcc]
call fcn.0040bb60
test al, al
je 0x40aeac
lea ecx, [esp + 0xc8]
call fcn.0040b480
test al, al
je 0x40aeac
push str.install
lea ecx, [esp + 0xcc]
call fcn.0040bb60
test al, al
je 0x40ae52
lea ecx, [esp + 0xc8]
call fcn.0040b480
push str.system
lea ecx, [esp + 0xcc]
call fcn.0040bb60
test al, al
je 0x40ae52
jmp 0x40a9e0
push str.version
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0xd0]
call fcn.00402bd0
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov eax, dword [0x434008]
cmp eax, 2
mov byte [esp + 0x140], 3
je 0x40aa64
cmp eax, 3
je 0x40aa64
cmp eax, 1
je 0x40aa64
cmp eax, 4
je 0x40aa51
cmp eax, 5
je 0x40aa51
cmp eax, 6
je 0x40aa3e
cmp eax, 7
jne 0x40aa87
push str.Win7
lea ecx, [esp + 0x94]
call fcn.00403870
jmp 0x40aa77
push str.WinVista
lea ecx, [esp + 0x94]
call fcn.00403870
jmp 0x40aa77
push 5
push str.WinXp
lea ecx, [esp + 0x98]
call fcn.00403070
cmp dword [esp + 0xa8], edi
mov eax, dword [esp + 0x94]
jae 0x40aa8e
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.004022c0
test eax, eax
jne 0x40add5
lea ecx, [esp + 0xc8]
call fcn.0040b480
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xcc]
call fcn.0040bb60
test al, al
je 0x40add5
lea ecx, [esp + 0xc8]
call fcn.0040b480
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.0040bb60
test al, al
je 0x40add0
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.00402bd0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 5
call fcn.00402e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40ab7b
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 0x40ab81
mov ecx, dword [esp + 0x14c]
mov dword [esi], ecx
push str.name
lea ecx, [esp + 0xcc]
call fcn.0040bbe0
test al, al
je 0x40ac06
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 6
call fcn.00402e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40abf2
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 0x40abf8
push str.path
lea ecx, [esp + 0xcc]
call fcn.0040bbe0
test al, al
je 0x40ac74
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xcc]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 7
call fcn.00402e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40ac60
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 0x40ac66
push 0x42c24c
lea ecx, [esp + 0xcc]
call fcn.0040bbe0
test al, al
je 0x40acdf
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xcc]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 8
call fcn.00402e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x40acce
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 0x40acd1
push str.delete
lea ecx, [esp + 0xcc]
call fcn.0040bbe0
test al, al
je 0x40ad45
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 9
call fcn.00402e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40ad39
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 8], eax
jmp 0x40ad4c
mov dword [esi + 8], 1
push str.flag
lea ecx, [esp + 0xcc]
call fcn.0040bbe0
test al, al
je 0x40ada8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xcc]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xa
call fcn.00402e20
lea ecx, [esp + 0x3c]
call fcn.004027d0
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40ad9e
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.004027d0
add ebp, 1
cmp ebp, 0x40
jl 0x40ab00
mov ebp, 0xf
cmp dword [esp + 0xa8], edi
jb 0x40adee
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0040d16a
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 0x40ae24
mov edx, dword [esp + 0xb0]
push edx
call fcn.0040d16a
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.0040bb60
test al, al
jne 0x40a9e0
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x124], ebx
jb 0x40ae7d
mov eax, dword [esp + 0x78]
push eax
call fcn.0040d16a
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.00409c90
mov eax, dword [esp + 0x14]
jmp 0x40aeed
cmp dword [esp + 0x8c], edi
jb 0x40aec2
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0040d16a
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.00409c90
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.0041613d
add esp, 0x130
ret