Function at 0x41ba80
Capabilities:
Check os version
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x47a7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4921bc]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x184]
mov dword [esp + 0x20], eax
xor edi, edi
lea esi, [esp + 0x9c]
mov eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov byte [esp + 0x17], 0
call fcn.0040a3b0
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x41baf9
mov ecx, dword [eax + 4]
jmp 0x41bafc
lea ecx, [eax + 4]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x24]
push edx
push 0x20019
push edi
push ecx
push eax
mov byte [esp + 0x2a], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub eax, edi
je 0x41bb2e
sub eax, 2
je 0x41bb27
mov byte [esp + 0x16], 0
jmp 0x41bb3e
mov byte [esp + 0x17], 0
jmp 0x41bb3e
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x17], 1
cmp byte [esp + 0x16], 0
sete byte [esp + 0x16]
cmp dword [esp + 0xb4], ebp
jb 0x41bb61
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0046207a
add esp, 4
cmp byte [esp + 0x16], 0
je 0x41bbc5
push edi
push 0x47d1ec
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], edi
mov word [esp + 0x70], di
call fcn.00401890
mov edx, esi
mov dword [esp + 0x178], 1
mov esi, dword [esp + 0x20]
push edx
push esi
mov edx, Ordinal_4
call fcn.0040a040
cmp dword [esp + 0x7c], ebp
jb 0x41bbbe
mov eax, dword [esp + 0x68]
push eax
call fcn.0046207a
add esp, 4
mov eax, esi
jmp 0x41c389
cmp byte [ebx + 0x40], 0
je 0x41bca2
push edi
push ebx
lea ecx, [esp + 0x50]
call fcn.0040a230
push eax
lea ecx, [esp + 0x12c]
push ecx
mov dword [esp + 0x180], 2
call fcn.00409fc0
mov byte [esp + 0x178], 4
cmp dword [esp + 0x60], ebp
jb 0x41bc0e
mov edx, dword [esp + 0x4c]
push edx
call fcn.0046207a
add esp, 4
cmp byte [esp + 0x17], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
je 0x41bc72
lea eax, [esp + 0x128]
push eax
call fcn.0041c3c0
add esp, 4
cmp byte [esp + 0x188], 0
je 0x41bc72
lea esi, [esp + 0x9c]
mov eax, ebx
call fcn.0040a3b0
cmp dword [eax + 0x18], ebp
jb 0x41bc58
mov eax, dword [eax + 4]
jmp 0x41bc5b
add eax, 4
mov ebx, dword [ebx + 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [esp + 0x9c]
call fcn.00432680
mov esi, dword [esp + 0x20]
push esi
lea edi, [esp + 0x12c]
call fcn.0040b540
mov ecx, edi
push ecx
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0
call fcn.0040a0c0
mov eax, esi
jmp 0x41c389
cmp byte [esp + 0x17], 0
jne 0x41bd52
push edi
push ebx
lea ecx, [esp + 0xa4]
call fcn.0040a230
push eax
lea edx, [esp + 0xbc]
push edx
mov dword [esp + 0x180], 5
call fcn.00409fc0
mov byte [esp + 0x178], 7
cmp dword [esp + 0xb4], ebp
jb 0x41bcf5
mov eax, dword [esp + 0xa0]
push eax
call fcn.0046207a
add esp, 4
push 1
push ebx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
mov byte [esp + 0x100], 1
call fcn.0041b6f0
mov esi, dword [esp + 0x28]
add esp, 8
push esi
lea edi, [esp + 0xbc]
call fcn.0040b540
mov ecx, edi
push ecx
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0
call fcn.0040a0c0
mov eax, esi
jmp 0x41c389
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea esi, [esp + 0x9c]
mov eax, ebx
mov dword [esp + 0x178], ebp
call fcn.0040a3b0
cmp dword [eax + 0x18], ebp
jb 0x41bd79
mov ebp, dword [eax + 4]
jmp 0x41bd7c
lea ebp, [eax + 4]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov esi, dword [ebx + 0x20]
je 0x41bd92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
lea edx, [esp + 0x18]
push edx
push 0x2001f
push edi
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41be26
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
xor al, al
test al, al
sete byte [esp + 0x16]
cmp dword [esp + 0xb4], 8
jb 0x41bdd4
mov eax, dword [esp + 0xa0]
push eax
call fcn.0046207a
add esp, 4
cmp byte [esp + 0x16], 0
je 0x41bec1
mov eax, dword [esp + 0x1c]
cmp eax, 5
jne 0x41be2a
mov edx, 0x47d1ec
lea eax, [esp + 0x64]
call fcn.00401720
lea ecx, [esp + 0x64]
mov byte [esp + 0x178], 9
mov ebx, dword [esp + 0x20]
push ecx
push ebx
mov edx, Ordinal_4
call fcn.0040a040
lea esi, [esp + 0x64]
call fcn.00432680
mov eax, dword [esp + 0x18]
cmp eax, edi
jmp 0x41c37e
mov al, 1
jmp 0x41bdb3
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], di
push eax
lea edx, [esp + 0xa0]
push 0x48160c
push edx
mov byte [esp + 0x184], 0xa
call fcn.00407100
add esp, 0xc
lea edi, [esp + 0x9c]
lea eax, [esp + 0x80]
call fcn.0041fee0
mov byte [esp + 0x178], 0xb
cmp dword [eax + 0x18], 0x10
jb 0x41be88
mov eax, dword [eax + 4]
jmp 0x41be8b
add eax, 4
push eax
lea ecx, [esp + 0x68]
call fcn.004039f0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x180], 0xc
call fcn.0041b370
push 0x48beac
lea edx, [esp + 0xbc]
push edx
call fcn.00463aeb
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
mov byte [esp + 0x17c], 0xe
call fcn.00408420
test al, al
jne 0x41bf99
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], di
mov byte [esp + 0x178], 0xf
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xa0]
push 0x48160c
push edx
call fcn.00407100
add esp, 0xc
lea edi, [esp + 0x9c]
lea eax, [esp + 0x80]
call fcn.0041fee0
mov ecx, 0x10
mov byte [esp + 0x178], cl
cmp dword [eax + 0x18], ecx
jb 0x41bf60
mov eax, dword [eax + 4]
jmp 0x41bf63
add eax, 4
push eax
lea ecx, [esp + 0x68]
call fcn.004039f0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x180], 0x11
call fcn.0041b370
push 0x48beac
lea edx, [esp + 0xbc]
push edx
call fcn.00463aeb
push edi
push ebx
lea ecx, [esp + 0x6c]
call fcn.0040a230
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x180], 0x12
call fcn.00409fc0
lea esi, [esp + 0x64]
mov byte [esp + 0x178], 0x14
call fcn.00432680
lea ebp, [ebx + 0x10]
mov edi, edi
mov eax, dword [ebp + 4]
xor esi, esi
cmp eax, esi
je 0x41c042
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41c042
mov ecx, dword [esp + 0x188]
push ecx
mov esi, ebp
call fcn.0040aed0
push eax
lea edx, [esp + 0xc0]
push edx
call fcn.0041ba80
add esp, 0xc
push eax
lea esi, [esp + 0x13c]
mov byte [esp + 0x17c], 0x15
call fcn.0040af10
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x17c], 0x14
call fcn.0040a0c0
add edi, 1
jmp 0x41bfd0
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.00404000
test eax, eax
jbe 0x41c2f1
mov dword [esp + 0x24], esi
jmp 0x41c066
mov ebx, dword [esp + 0x34]
xor esi, esi
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x41c08b
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x41c090
call fcn.004625df
mov edi, dword [ebx + 4]
add edi, dword [esp + 0x24]
lea esi, [esp + 0x9c]
mov eax, edi
call fcn.004117f0
push eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x17c], 0x16
call fcn.0041ce60
add esp, 4
cmp eax, 0xffffffff
mov ebp, 8
setne bl
mov byte [esp + 0x178], 0x14
cmp dword [esp + 0xb4], ebp
jb 0x41c0e6
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0046207a
add esp, 4
sub esp, 0x1c
test bl, bl
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esi + 0x18], 7
je 0x41c1d3
xor ebx, ebx
push ebx
mov dword [esi + 0x14], ebx
push 0x47d1ec
mov word [esi + 4], bx
call fcn.00401890
push 1
lea esi, [esp + 0xd8]
call fcn.00410770
lea esi, [esp + 0x9c]
mov eax, edi
mov byte [esp + 0x178], 0x17
call fcn.004117f0
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xc8]
mov byte [esp + 0x184], 0x18
call fcn.00401790
mov byte [esp + 0x178], 0x17
cmp dword [esp + 0xb4], ebp
jb 0x41c16f
mov edx, dword [esp + 0xa0]
push edx
call fcn.0046207a
add esp, 4
lea esi, [esp + 0x9c]
mov eax, edi
call fcn.004117f0
mov byte [esp + 0x178], 0x19
cmp dword [eax + 0x18], ebp
jb 0x41c18f
mov eax, dword [eax + 4]
jmp 0x41c192
add eax, 4
lea ecx, [esp + 0xb8]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00408320
mov byte [esp + 0x178], 0x17
cmp dword [esp + 0xb4], ebp
jb 0x41c1c6
mov eax, dword [esp + 0xa0]
push eax
call fcn.0046207a
add esp, 4
lea ecx, [esp + 0xb8]
push ecx
jmp 0x41c254
xor ebx, ebx
push ebx
mov dword [esi + 0x14], ebx
push 0x47d1ec
mov word [esi + 4], bx
call fcn.00401890
push 1
lea esi, [esp + 0xd8]
call fcn.00410770
lea esi, [esp + 0x9c]
mov eax, edi
mov byte [esp + 0x178], 0x1a
call fcn.004117f0
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xc8]
mov byte [esp + 0x184], 0x1b
call fcn.00401790
mov byte [esp + 0x178], 0x1a
cmp dword [esp + 0xb4], ebp
jb 0x41c244
mov edx, dword [esp + 0xa0]
push edx
call fcn.0046207a
add esp, 4
lea eax, [esp + 0xb8]
mov byte [esp + 0x120], 1
push eax
lea esi, [esp + 0x12c]
call fcn.00403bf0
lea esi, [esp + 0xb8]
mov byte [esp + 0x178], 0x14
call fcn.00410820
cmp byte [esp + 0x188], 0
je 0x41c2ce
lea esi, [esp + 0x9c]
mov eax, edi
call fcn.004117f0
mov byte [esp + 0x178], 0x1c
cmp dword [eax + 0x18], ebp
jb 0x41c29e
mov eax, dword [eax + 4]
jmp 0x41c2a1
add eax, 4
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00408190
mov byte [esp + 0x178], 0x14
cmp dword [esp + 0xb4], ebp
jb 0x41c2ce
mov edx, dword [esp + 0xa0]
push edx
call fcn.0046207a
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x24], 0x70
add esi, 1
mov dword [esp + 0x2c], esi
call fcn.00404000
cmp esi, eax
jb 0x41c060
xor esi, esi
mov ebx, dword [esp + 0x20]
push ebx
lea edi, [esp + 0x12c]
call fcn.0040b540
mov eax, edi
push eax
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0xe
call fcn.0040a0c0
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x41c33d
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
push ecx
call fcn.00404e90
mov edx, dword [esp + 0x40]
push edx
call fcn.0046207a
add esp, 8
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
je 0x41c36c
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
push ecx
call fcn.00404e90
mov edx, dword [esp + 0x50]
push edx
call fcn.0046207a
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
cmp eax, esi
je 0x41c387
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00461f6b
add esp, 0x168
ret