Function at 0x4161c0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505d76
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov eax, 0x20119
mov edi, dword [ebp + 8]
mov ebx, 0x20019
cmovne ebx, eax
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4b4], ebx
call fcn.00406080
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41624f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x4f676552
push ecx
push eax
mov dword [ebp - 0x20], 0x4b6e6570
mov dword [ebp - 0x1c], 0x78457965
mov word [ebp - 0x18], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x4a4]
push eax
mov eax, dword [esi + 0x54]
push ebx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push edi
call eax
test eax, eax
jne 0x416691
cmp dword [ebp - 0x4a4], eax
je 0x416691
push 0x208
push eax
mov dword [ebp - 0x4ac], eax
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x252]
push eax
mov dword [ebp - 0x468], 0x104
call fcn.004e4b60
mov edi, dword [ebp + 0x10]
add esp, 0xc
jmp 0x4162b0
mov ebx, dword [ebp - 0x4a4]
call fcn.00406080
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4162ed
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x45676552
push ecx
push eax
mov dword [ebp - 0x3c], 0x4b6d756e
mov dword [ebp - 0x38], 0x78457965
mov word [ebp - 0x34], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x48], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x4ac]
mov eax, dword [esi + 0x48]
push ebx
call eax
cmp eax, 0x103
je 0x41664d
inc dword [ebp - 0x4ac]
lea ecx, [ebp - 0x254]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416330
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jb 0x4162b0
call fcn.00409f40
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416378
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x53727453
push ecx
push eax
mov dword [ebp - 0x2c], 0x57497274
mov byte [ebp - 0x28], 0
call ebx
mov dword [esi + 0x1c], eax
push str.microsoft
lea eax, [ebp - 0x254]
push eax
mov eax, dword [esi + 0x1c]
call eax
test eax, eax
jne 0x4162b0
call fcn.00409f40
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4163bb
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x53727453
push ecx
push eax
mov dword [ebp - 0x1c], 0x57497274
mov byte [ebp - 0x18], 0
call ebx
mov dword [esi + 0x1c], eax
push str..NET_Framework
lea eax, [ebp - 0x254]
push eax
mov eax, dword [esi + 0x1c]
call eax
test eax, eax
jne 0x4162b0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x480]
call fcn.00407600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x480]
push 1
push 0x529aa8
call fcn.00407b60
cmp word [ebp - 0x254], 0
jne 0x41640b
xor eax, eax
jmp 0x416423
lea eax, [ebp - 0x254]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416414
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x480]
call fcn.00407b60
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x4a8]
push ecx
push dword [ebp - 0x4b4]
lea eax, [ebp - 0x480]
mov dword [ebp - 0x4a8], 0
cmovae eax, dword [ebp - 0x480]
push ecx
push eax
push dword [ebp - 0x4b0]
push ecx
call fcn.00406080
add esp, 4
mov ecx, eax
call fcn.0043cfd0
test eax, eax
je 0x4164bd
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x46c], 8
jb 0x41649b
push dword [ebp - 0x480]
call fcn.004e03e4
add esp, 4
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
jmp 0x4162b0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x462]
push eax
call fcn.004e4b60
add esp, 0xc
mov dword [ebp - 0x488], 0x104
lea eax, [ebp - 0x488]
mov dword [ebp - 0x484], 1
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x484]
push eax
push ecx
push str.DisplayName
push dword [ebp - 0x4a8]
call fcn.00406080
mov ecx, eax
call fcn.0043cf50
push dword [ebp - 0x4a8]
push ecx
call fcn.00406080
add esp, 4
mov ecx, eax
call fcn.0043cef0
lea ecx, [ebp - 0x464]
lea edx, [ecx + 2]
jmp 0x416540
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416540
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jb 0x416616
mov ax, word [ebp - 0x464]
cmp ax, 0x4b
je 0x41656b
cmp ax, 0x6b
jne 0x416586
mov ax, word [ebp - 0x462]
cmp ax, 0x42
je 0x416616
cmp ax, 0x62
je 0x416616
lea eax, [ebp - 0x464]
push str.microsoft
push eax
call fcn.00409f40
mov ecx, eax
call fcn.0043ea00
test eax, eax
jne 0x416616
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x416616
lea esp, [esp]
push 0xfde9
lea edx, [esi + 8]
lea ecx, [ebp - 0x4a0]
call fcn.00453d50
add esp, 4
mov byte [ebp - 4], 1
cmp dword [esi + 4], 0
jne 0x4165ff
cmp dword [ebp - 0x48c], 8
lea ecx, [ebp - 0x464]
lea eax, [ebp - 0x4a0]
cmovae eax, dword [ebp - 0x4a0]
push ecx
push eax
call fcn.004e27d7
add esp, 8
test eax, eax
jne 0x4165ff
mov dword [esi + 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.004076a0
add esi, 0x20
cmp esi, dword [edi + 4]
jne 0x4165b0
push 0x20a
lea eax, [ebp - 0x254]
mov dword [ebp - 0x468], 0x104
push 0
push eax
call fcn.004e4b60
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.004076a0
jmp 0x4162b0
mov edi, dword [ebp - 0x4a4]
call fcn.00406080
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x416684
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x43676552
push ecx
push eax
mov dword [ebp - 0x20], 0x65736f6c
mov dword [ebp - 0x1c], 0x79654b
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
push edi
call eax
mov eax, 1
jmp 0x416693
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 0xc