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

Disassembly:
push 0xffffffffffffffff
push 0x42c28c
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 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.0040b3f0
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 0x40c300
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x98]
call fcn.00403ad0
mov eax, dword [esp + 0x94]
mov ebp, 0x10
cmp dword [esp + 0xa8], ebp
jae 0x40c335
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xb0]
call fcn.0040f490
test al, al
je 0x40caaf
lea ecx, [esp + 0xac]
call fcn.0040dcc0
test al, al
je 0x40caaf
push 0x4307f4
lea ecx, [esp + 0xb0]
call fcn.0040e020
test al, al
je 0x40caaf
lea ecx, [esp + 0xac]
call fcn.0040d9a0
test al, al
je 0x40caaf
push str.install
lea ecx, [esp + 0xb0]
call fcn.0040e020
test al, al
je 0x40ca59
lea ecx, [esp + 0xac]
call fcn.0040d9a0
push str.system
lea ecx, [esp + 0xb0]
call fcn.0040e020
test al, al
je 0x40ca59
lea esp, [esp]
push str.version
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00402fc0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov eax, dword [0x43900c]
cmp eax, 2
mov byte [esp + 0x140], 3
je 0x40c44f
cmp eax, 3
je 0x40c44f
cmp eax, 1
je 0x40c44f
cmp eax, 4
je 0x40c43f
cmp eax, 5
je 0x40c43f
cmp eax, 6
je 0x40c42f
cmp eax, 7
jne 0x40c46c
push str.Win7
lea ecx, [esp + 0x78]
call fcn.004040a0
jmp 0x40c45f
push str.WinVista
lea ecx, [esp + 0x78]
call fcn.004040a0
jmp 0x40c45f
push 5
push str.WinXp
lea ecx, [esp + 0x7c]
call fcn.00403630
cmp dword [esp + 0x8c], ebp
mov eax, dword [esp + 0x78]
jae 0x40c470
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.004021c0
test eax, eax
jne 0x40c9dd
lea ecx, [esp + 0xac]
call fcn.0040d9a0
push str.parameter
lea ecx, [esp + 0xb0]
call fcn.0040e020
test al, al
je 0x40c9dd
lea ecx, [esp + 0xac]
call fcn.0040d9a0
push str.registry
lea ecx, [esp + 0xb0]
call fcn.0040e020
test al, al
je 0x40c9dd
mov ecx, dword [esp + 0x38]
imul edi, edi, 0x210
lea esi, [edi + ecx + 0x44]
mov dword [esp + 0x14], esi
jmp 0x40c500
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.00402fc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 5
call fcn.004033d0
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40c55e
mov eax, dword [esp + 0x20]
push eax
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40c56c
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 0x40c570
push str.root
lea ecx, [esp + 0xb0]
call fcn.0040e0a0
test al, al
je 0x40c663
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 6
call fcn.004033d0
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40c5d8
mov edx, dword [esp + 0x20]
push edx
call fcn.0040f57f
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov edx, dword [esp + 0x5c]
mov esi, edx
jae 0x40c5ea
lea esi, [esp + 0x5c]
mov edi, str.HKEY_CURRENT_USER
mov ecx, 0x12
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40c60c
mov esi, dword [esp + 0x14]
mov dword [esi - 0x44], 0x80000001
mov ebp, 0x10
jmp 0x40c663
cmp eax, 0x10
mov esi, edx
jae 0x40c617
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 0x40c639
mov esi, dword [esp + 0x14]
mov dword [esi - 0x44], 0x80000000
jmp 0x40c663
cmp eax, ebp
mov esi, edx
jae 0x40c643
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.0040e0a0
test al, al
je 0x40c6de
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 7
call fcn.004033d0
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40c6b9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40c6c7
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 0x40c6d0
push 0x430760
lea ecx, [esp + 0xb0]
call fcn.0040e0a0
test al, al
je 0x40c756
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 8
call fcn.004033d0
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40c734
mov eax, dword [esp + 0x20]
push eax
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40c742
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 0x40c748
push str.type
lea ecx, [esp + 0xb0]
call fcn.0040e0a0
test al, al
je 0x40c995
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 9
call fcn.004033d0
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x140], 4
jb 0x40c7b0
mov edx, dword [esp + 0x20]
push edx
call fcn.0040f57f
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov edx, dword [esp + 0x5c]
mov esi, edx
jae 0x40c7c2
lea esi, [esp + 0x5c]
mov edi, str.REG_DWORD
mov ecx, 0xa
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40c859
mov esi, dword [esp + 0x14]
push str.value
lea ecx, [esp + 0xb0]
mov dword [esi + 0x140], 4
call fcn.0040e0a0
test al, al
je 0x40c900
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xa
call fcn.004033d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 4
call fcn.00402b50
mov eax, dword [esp + 0x5c]
mov ebp, 0x10
cmp dword [esp + 0x70], ebp
jae 0x40c847
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 0x148], eax
jmp 0x40c905
mov ebp, 0x10
cmp eax, ebp
mov esi, edx
jae 0x40c868
lea esi, [esp + 0x5c]
mov edi, str.REG_SZ
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ca95
mov esi, dword [esp + 0x14]
push str.value
lea ecx, [esp + 0xb0]
mov dword [esi + 0x140], 1
call fcn.0040e0a0
test al, al
je 0x40c905
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xb
call fcn.004033d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 4
call fcn.00402b50
cmp dword [esp + 0x70], ebp
mov edx, dword [esp + 0x5c]
jae 0x40c8e4
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 0x40c8f0
jmp 0x40c905
mov ebp, 0x10
push str.delete
lea ecx, [esp + 0xb0]
call fcn.0040e0a0
test al, al
je 0x40c980
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00402fa0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14c], 0xc
call fcn.004033d0
cmp dword [esp + 0x54], ebp
jb 0x40c953
mov edx, dword [esp + 0x40]
push edx
call fcn.0040f57f
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 0x40c971
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [esi + 0x144], eax
jmp 0x40c986
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 0x40c9b0
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040f57f
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.0040e020
test al, al
jne 0x40c500
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x8c], ebp
jb 0x40c9f3
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0040f57f
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 0x40ca2b
mov edx, dword [esp + 0x11c]
push edx
call fcn.0040f57f
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.0040e020
test al, al
jne 0x40c3d0
lea ecx, [esp + 0x90]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x108], ebx
call fcn.00402b50
lea ecx, [esp + 0xac]
mov dword [esp + 0x140], 0xffffffff
call fcn.0040b4a0
mov eax, edi
jmp 0x40cafa
lea ecx, [esp + 0x58]
mov byte [esp + 0x140], 3
call fcn.00402b50
mov esi, dword [esp + 0x14]
jmp 0x40c9c0
cmp dword [esp + 0xa8], ebp
jb 0x40cac8
mov eax, dword [esp + 0x94]
push eax
call fcn.0040f57f
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.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