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

Disassembly:
push 0xffffffffffffffff
push 0x428d0c
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 eax, dword [esp + 0x14c]
mov esi, dword [esp + 0x148]
xor edi, edi
lea ecx, [esp + 0xac]
mov dword [esp + 0x38], eax
xor ebx, ebx
mov dword [esp + 0x18], edi
call fcn.00409be0
mov dword [esp + 0x140], ebx
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov eax, esi
mov byte [esp + 0x140], 1
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x409e70
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x98]
call fcn.00402f80
mov eax, dword [esp + 0x94]
mov ebp, 0x10
cmp dword [esp + 0xa8], ebp
jae 0x409ea5
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xb0]
call fcn.0040d080
test al, al
je 0x40a61f
lea ecx, [esp + 0xac]
call fcn.0040b800
test al, al
je 0x40a61f
push 0x42c240
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
je 0x40a61f
lea ecx, [esp + 0xac]
call fcn.0040b480
test al, al
je 0x40a61f
push str.install
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
je 0x40a5c9
lea ecx, [esp + 0xac]
call fcn.0040b480
push str.system
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
je 0x40a5c9
lea esp, [esp]
push str.version
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00402bd0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov eax, dword [0x434008]
cmp eax, 2
mov byte [esp + 0x140], 3
je 0x409fbf
cmp eax, 3
je 0x409fbf
cmp eax, 1
je 0x409fbf
cmp eax, 4
je 0x409faf
cmp eax, 5
je 0x409faf
cmp eax, 6
je 0x409f9f
cmp eax, 7
jne 0x409fdc
push str.Win7
lea ecx, [esp + 0x78]
call fcn.00403870
jmp 0x409fcf
push str.WinVista
lea ecx, [esp + 0x78]
call fcn.00403870
jmp 0x409fcf
push 5
push str.WinXp
lea ecx, [esp + 0x7c]
call fcn.00403070
cmp dword [esp + 0x8c], ebp
mov eax, dword [esp + 0x78]
jae 0x409fe0
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push edx
push eax
mov eax, dword [esp + 0x134]
push eax
push ebx
lea ecx, [esp + 0x128]
call fcn.004022c0
test eax, eax
jne 0x40a54d
lea ecx, [esp + 0xac]
call fcn.0040b480
push str.parameter
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
je 0x40a54d
lea ecx, [esp + 0xac]
call fcn.0040b480
push str.registry
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
je 0x40a54d
mov ecx, dword [esp + 0x38]
imul edi, edi, 0x210
lea esi, [edi + ecx + 0x44]
mov dword [esp + 0x14], esi
jmp 0x40a070
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push str.desc
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xb4]
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
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40a0ce
mov eax, dword [esp + 0x20]
push eax
call fcn.0040d16a
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40a0dc
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x40]
nop
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40a0e0
push str.root
lea ecx, [esp + 0xb0]
call fcn.0040bbe0
test al, al
je 0x40a1d3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 6
call fcn.00402e20
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40a148
mov edx, dword [esp + 0x20]
push edx
call fcn.0040d16a
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov edx, dword [esp + 0x5c]
mov esi, edx
jae 0x40a15a
lea esi, [esp + 0x5c]
mov edi, str.HKEY_CURRENT_USER
mov ecx, 0x12
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a17c
mov esi, dword [esp + 0x14]
mov dword [esi - 0x44], 0x80000001
mov ebp, 0x10
jmp 0x40a1d3
cmp eax, 0x10
mov esi, edx
jae 0x40a187
lea esi, [esp + 0x5c]
xor ebp, ebp
mov edi, str.HKEY_CLASSES_ROOT
mov ecx, 0x12
repe cmpsb byte [esi], byte es:[edi]
mov ebp, 0x10
jne 0x40a1a9
mov esi, dword [esp + 0x14]
mov dword [esi - 0x44], 0x80000000
jmp 0x40a1d3
cmp eax, ebp
mov esi, edx
jae 0x40a1b3
lea esi, [esp + 0x5c]
xor eax, eax
mov edi, str.HKEY_USERS
mov ecx, 0xb
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x14]
mov edx, eax
sete dl
add edx, 0x80000002
mov dword [esi - 0x44], edx
push str.path
lea ecx, [esp + 0xb0]
call fcn.0040bbe0
test al, al
je 0x40a24e
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 7
call fcn.00402e20
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40a229
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040d16a
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40a237
lea edx, [esp + 0x5c]
mov ecx, esi
lea esp, [esp]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40a240
push 0x42c1ac
lea ecx, [esp + 0xb0]
call fcn.0040bbe0
test al, al
je 0x40a2c6
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 8
call fcn.00402e20
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40a2a4
mov eax, dword [esp + 0x20]
push eax
call fcn.0040d16a
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40a2b2
lea edx, [esp + 0x5c]
lea ecx, [esi + 0x100]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40a2b8
push str.type
lea ecx, [esp + 0xb0]
call fcn.0040bbe0
test al, al
je 0x40a505
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 9
call fcn.00402e20
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40a320
mov edx, dword [esp + 0x20]
push edx
call fcn.0040d16a
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov edx, dword [esp + 0x5c]
mov esi, edx
jae 0x40a332
lea esi, [esp + 0x5c]
mov edi, str.REG_DWORD
mov ecx, 0xa
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a3c9
mov esi, dword [esp + 0x14]
push str.value
lea ecx, [esp + 0xb0]
mov dword [esi + 0x140], 4
call fcn.0040bbe0
test al, al
je 0x40a470
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xa
call fcn.00402e20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 4
call fcn.004027d0
mov eax, dword [esp + 0x5c]
mov ebp, 0x10
cmp dword [esp + 0x70], ebp
jae 0x40a3b7
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 0x148], eax
jmp 0x40a475
mov ebp, 0x10
cmp eax, ebp
mov esi, edx
jae 0x40a3d8
lea esi, [esp + 0x5c]
mov edi, str.REG_SZ
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a605
mov esi, dword [esp + 0x14]
push str.value
lea ecx, [esp + 0xb0]
mov dword [esi + 0x140], 1
call fcn.0040bbe0
test al, al
je 0x40a475
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xb
call fcn.00402e20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 4
call fcn.004027d0
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40a454
lea edx, [esp + 0x5c]
lea ecx, [esi + 0x14c]
lea ebx, [ebx]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
cmp al, bl
jne 0x40a460
jmp 0x40a475
mov ebp, 0x10
push str.delete
lea ecx, [esp + 0xb0]
call fcn.0040bbe0
test al, al
je 0x40a4f0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402bb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xc
call fcn.00402e20
cmp dword [esp + 0x54], ebp
jb 0x40a4c3
mov edx, dword [esp + 0x40]
push edx
call fcn.0040d16a
add esp, 4
cmp dword [esp + 0x70], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jae 0x40a4e1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 0x144], eax
jmp 0x40a4f6
mov dword [esi + 0x144], ebx
add dword [esp + 0x18], 1
add esi, 0x210
mov dword [esp + 0x14], esi
cmp dword [esp + 0x70], ebp
mov byte [esp + 0x140], 3
jb 0x40a520
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040d16a
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push str.registry
lea ecx, [esp + 0xb0]
call fcn.0040bb60
test al, al
jne 0x40a070
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x8c], ebp
jb 0x40a563
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0040d16a
add esp, 4
cmp dword [esp + 0x130], ebp
mov esi, 0xf
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x140], 1
jb 0x40a59b
mov edx, dword [esp + 0x11c]
push edx
call fcn.0040d16a
add esp, 4
push str.system
lea ecx, [esp + 0xb0]
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
call fcn.0040bb60
test al, al
jne 0x409f40
lea ecx, [esp + 0x90]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x108], ebx
call fcn.004027d0
lea ecx, [esp + 0xac]
mov dword [esp + 0x140], 0xffffffff
call fcn.00409c90
mov eax, edi
jmp 0x40a66a
lea ecx, [esp + 0x58]
mov byte [esp + 0x140], 3
call fcn.004027d0
mov esi, dword [esp + 0x14]
jmp 0x40a530
cmp dword [esp + 0xa8], ebp
jb 0x40a638
mov eax, dword [esp + 0x94]
push eax
call fcn.0040d16a
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], 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