Function at 0x407030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.0040aae0
or ebx, 0xffffffff
mov edi, 0x43e7b0
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x43e7b0
mov ecx, esi
call fcn.0040ad80
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push str.Path
mov dword [esp + 0x74], 0
call fcn.0040a5a0
sub esp, 0x10
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
push str.SoftwareWindowsTab
mov byte [esp + 0x84], 1
call fcn.0040a5a0
lea ecx, [esp + 0x54]
push SysReAllocStringLen
push ecx
mov dword [esp + 0x84], ebx
call fcn.00417b60
add esp, 0x38
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], 2
test eax, eax
jbe 0x40715a
lea edx, [esp + 0x24]
push 0x438430
lea eax, [esp + 0x38]
push edx
push eax
call fcn.0040bbd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [esp + 0x4c], 3
test eax, eax
jne 0x407114
mov eax, 0x4313b4
push eax
call fcn.004185a0
add esp, 4
mov byte [esp + 0x4c], 2
test eax, eax
push 1
lea ecx, [esp + 0x38]
je 0x407155
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.0040aae0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.0040aae0
mov cl, byte [esp + 0x14]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x30], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.0040aae0
mov edi, 0x43e7b0
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x43e7b0
mov ecx, esi
call fcn.0040ad80
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push str.Path
mov dword [esp + 0x74], 4
call fcn.0040a5a0
sub esp, 0x10
lea eax, [esp + 0x43]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push str.SoftwareWindowsTaba
mov byte [esp + 0x84], 5
call fcn.0040a5a0
lea ecx, [esp + 0x54]
push SysReAllocStringLen
push ecx
mov dword [esp + 0x84], ebx
call fcn.00417b60
add esp, 0x38
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], 6
test eax, eax
jbe 0x407274
lea edx, [esp + 0x24]
push 0x438430
lea eax, [esp + 0x38]
push edx
push eax
call fcn.0040bbd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [esp + 0x4c], 7
test eax, eax
jne 0x40722e
mov eax, 0x4313b4
push eax
call fcn.004185a0
add esp, 4
mov byte [esp + 0x4c], 6
test eax, eax
push 1
lea ecx, [esp + 0x38]
je 0x40726f
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.0040aae0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.0040aae0
mov cl, byte [esp + 0x14]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x30], esp
push 0
mov byte [ebp], cl
mov ecx, ebp
call fcn.0040aae0
mov edi, 0x43e7b0
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040af60
test al, al
je 0x4072da
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x43e7b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040af40
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push str.Path
mov dword [esp + 0x74], 8
call fcn.0040a5a0
sub esp, 0x10
lea edx, [esp + 0x43]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push str.SoftwareWindowsTab0
mov byte [esp + 0x84], 9
call fcn.0040a5a0
lea eax, [esp + 0x54]
or esi, 0xffffffff
push SysReAllocStringLen
push eax
mov dword [esp + 0x84], esi
call fcn.00417b60
add esp, 0x38
mov eax, dword [esp + 0x2c]
mov ebx, 0xa
test eax, eax
mov dword [esp + 0x4c], ebx
jbe 0x4073b5
lea ecx, [esp + 0x24]
push 0x438430
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.0040bbd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [esp + 0x4c], 0xb
test eax, eax
jne 0x407370
mov eax, 0x4313b4
push eax
call fcn.004185a0
add esp, 4
mov byte [esp + 0x4c], bl
test eax, eax
push 1
lea ecx, [esp + 0x38]
je 0x4073b0
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], esi
call fcn.0040aae0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], esi
call fcn.0040aae0
mov al, byte [esp + 0x14]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x30], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.0040aae0
mov edi, 0x43e7b0
mov ecx, esi
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040af60
test al, al
je 0x40741b
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x43e7b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040af40
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push str.Path
mov dword [esp + 0x74], 0xc
call fcn.0040a5a0
sub esp, 0x10
lea edx, [esp + 0x43]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push str.SoftwareWindowsTab1
mov byte [esp + 0x84], 0xd
call fcn.0040a5a0
lea eax, [esp + 0x54]
or esi, 0xffffffff
push SysReAllocStringLen
push eax
mov dword [esp + 0x84], esi
call fcn.00417b60
add esp, 0x38
mov eax, dword [esp + 0x2c]
xor ebp, ebp
mov ebx, 0xe
cmp eax, ebp
mov dword [esp + 0x4c], ebx
jbe 0x40751c
lea ecx, [esp + 0x24]
push 0x438430
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.0040bbd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [esp + 0x4c], 0xf
cmp eax, ebp
jne 0x4074b7
mov eax, 0x4313b4
push eax
call fcn.004185a0
add esp, 4
test eax, eax
je 0x4074f7
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], bl
call fcn.0040aae0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], esi
call fcn.0040aae0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40751c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407513
cmp al, 0xff
je 0x407513
dec al
mov byte [ecx], al
jmp 0x40751c
push ecx
call fcn.00420ca8
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], esi
cmp eax, ebp
je 0x407545
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40753c
cmp al, 0xff
je 0x40753c
dec al
mov byte [ecx], al
jmp 0x407545
push ecx
call fcn.00420ca8
add esp, 4
mov edi, 0x438124
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x43d0f4]
not ecx
dec ecx
push ecx
push 0x438124
push eax
push ebp
mov ecx, 0x43d0ec
call fcn.0040c0c0
cmp eax, ebp
jne 0x40764f
mov cl, byte [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov edi, 0x43e7b0
xor eax, eax
mov dword [esp + 0x30], esp
mov byte [edx], cl
mov ecx, esi
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x43e7b0
mov ecx, edx
call fcn.0040ad80
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push str.ProgramFolder
mov dword [esp + 0x74], 0x10
call fcn.0040a5a0
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], esi
push eax
call fcn.00413fc0
mov eax, dword [esp + 0x60]
add esp, 0x24
cmp eax, ebp
jbe 0x40762a
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x407615
mov al, byte [ecx - 1]
test al, al
je 0x40760b
cmp al, 0xff
je 0x40760b
dec al
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
dec ecx
push ecx
call fcn.00420ca8
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40764f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407646
cmp al, 0xff
je 0x407646
dec al
mov byte [ecx], al
jmp 0x40764f
push ecx
call fcn.00420ca8
add esp, 4
call fcn.00415800
mov dl, byte [0x43d1fc]
sub esp, 0x10
mov ecx, esp
mov esi, eax
mov dword [esp + 0x30], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov eax, dword [0x4313b0]
push eax
push ebp
push 0x43d1fc
call fcn.0040a8e0
call fcn.00415500
mov ebx, esp
mov dword [esp + 0x30], esp
sub esp, 0x10
lea edx, [esp + 0x35]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push 0x4382d8
mov edi, eax
call fcn.0040a5a0
sub esp, 0x10
lea eax, [esp + 0x46]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push str.uninstall
mov dword [esp + 0x84], 0x11
call fcn.0040a5a0
sub esp, 0x10
lea ecx, [esp + 0x57]
mov ebp, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, 0x43e6e0
mov byte [esp + 0x90], 0x12
call fcn.0040a7e0
push eax
mov ecx, ebp
call fcn.0040a5a0
push SysReAllocStringLen
push ebx
mov dword [esp + 0x94], 0xffffffff
call fcn.00417b60
add esp, 0x38
call fcn.00415500
mov ecx, dword [esp + 0x54]
add esp, 0x10
add eax, edi
xor edx, edx
cmp eax, esi
pop edi
setl dl
pop esi
pop ebp
mov eax, edx
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret