Function at 0x45cd20
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x45cd86
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x45cd86
mov dword [ebp - 0xac], 0
push 0x3fbd8
call fcn.0045caa0
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x45d07c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0045caa0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x45cee4
push 0x45fda0
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
cmp dword [ebp - 0xac], 0
je 0x45cea4
cmp dword [ebp - 0x9c], 5
jne 0x45ce27
cmp dword [ebp - 0x98], 1
jne 0x45ce27
push 0xb
push 0x45fd90
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0045caa0
add esp, 4
push eax
call fcn.0045c7d0
add esp, 0xc
test eax, eax
jne 0x45ce25
jmp 0x45cee4
jmp 0x45cea4
cmp dword [ebp - 0x9c], 5
jne 0x45cea4
cmp dword [ebp - 0x98], 0
jne 0x45cea4
push 0xb
push 0x45fd90
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045caa0
add esp, 4
push eax
call fcn.0045c7d0
add esp, 0xc
test eax, eax
je 0x45cea2
push 0x12
push 0x45fd70
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0045caa0
add esp, 4
push eax
call fcn.0045c7d0
add esp, 0xc
test eax, eax
je 0x45cea2
push 0xc
push 0x45fd60
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0045caa0
add esp, 4
push eax
call fcn.0045c7d0
add esp, 0xc
test eax, eax
jne 0x45cea4
jmp 0x45cee4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045caa0
add esp, 4
push eax
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
push 0x45fd50
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0045caa0
add esp, 4
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x45cf17
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.0045caa0
add esp, 4
mov dword [ebp - 0xb0], eax
jmp 0x45cf2c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045caa0
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
cmp dword [ecx], 0
je 0x45d06e
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
and eax, 0x80000000
test eax, eax
je 0x45cf70
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx]
and edx, 0x7fffffff
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xb4], eax
jmp 0x45cf98
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx]
push edx
call fcn.0045caa0
add esp, 4
add eax, 2
push eax
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x45d03d
push 0x45fd30
lea ecx, [ebp - 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045caa0
add esp, 4
push eax
lea ecx, [ebp - 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x45fd20
lea edx, [ebp - 0x1b4]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
and ecx, 0x80000000
test ecx, ecx
jne 0x45d01a
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
push eax
call fcn.0045caa0
add esp, 4
add eax, 2
push eax
lea ecx, [ebp - 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
push 0x45fd50
lea edx, [ebp - 0x1b4]
push edx
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb0]
add edx, 4
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xa4], eax
jmp 0x45cf2c
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 4], ecx
jmp 0x45cd96
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret