Function at 0x403a4c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa84
xor eax, eax
mov dword [0x451b58], eax
push str.c:_temp
call fcn.00442ccc
pop ecx
push 0x455c04
push 0x4519e8
call fcn.0044362c
add esp, 8
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 4], 0
jne 0x403a9c
push 0x455c07
push 0x4519e8
call fcn.0044362c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403aae
mov byte [0x4519e8], 0
jmp 0x404230
push 0x4519e8
lea ecx, [ebp - 0x42c]
push ecx
call fcn.004415c8
add esp, 8
push str..tmp
lea eax, [ebp - 0x42c]
push eax
call fcn.004414ec
add esp, 8
push 2
push 0
push dword [ebp - 4]
call fcn.00443918
add esp, 0xc
push dword [ebp - 4]
call fcn.0044397c
pop ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e20
jg 0x403b08
push dword [ebp - 4]
call fcn.00442e70
pop ecx
jmp 0x403cf7
cmp dword [ebp - 0x24], 0x7a120
jle 0x403b31
push 0
mov edx, dword [ebp - 0x24]
add edx, 0xfff85ee0
push edx
push dword [ebp - 4]
call fcn.00443918
add esp, 0xc
mov dword [ebp - 0x24], 0x7a120
jmp 0x403b40
push 0
push 0
push dword [ebp - 4]
call fcn.00443918
add esp, 0xc
push dword [ebp - 0x24]
call fcn.0044065c
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x403ba5
push dword [ebp - 4]
call fcn.00442e70
pop ecx
cmp dword [ebp - 0x2c], 0
je 0x403b6a
push dword [ebp - 0x2c]
call fcn.0044066c
pop ecx
push 0x455c13
push 0x4519e8
call fcn.0044362c
add esp, 8
mov dword [ebp - 4], eax
push dword [ebp - 0x24]
push str._._START_._
push str._s_r_n____skipped__d_of_previous_file_____r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0x10
push dword [ebp - 4]
call fcn.00442e70
pop ecx
jmp 0x403cf7
push dword [ebp - 4]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x2c]
call fcn.00443888
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call fcn.00442e70
pop ecx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x24]
jl 0x403b5b
push str._._START_._
call fcn.004415f8
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x403c2c
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jge 0x403c1b
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x10]
mov dl, byte [ecx + eax]
mov ecx, dword [ebp - 0x10]
cmp dl, byte [ecx + str._._START_._]
jne 0x403c1b
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jl 0x403bf6
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jge 0x403c2c
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x403be9
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xc]
cmp ecx, 0x4e20
jge 0x403c55
cmp dword [ebp - 0x24], 0x4e20
jle 0x403c50
mov eax, dword [ebp - 0x24]
add eax, 0xffffb1e0
mov dword [ebp - 0xc], eax
jmp 0x403c55
xor edx, edx
mov dword [ebp - 0xc], edx
push 0x455c40
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0044362c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403b5b
push str._...__r_n
push dword [ebp - 8]
call fcn.00443658
add esp, 8
push dword [ebp - 8]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc]
push eax
push 1
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0xc]
push edx
call fcn.00443ad0
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call fcn.00442e70
pop ecx
push dword [ebp - 0x2c]
call fcn.0044066c
pop ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x403cd8
lea edx, [ebp - 0x42c]
push edx
call fcn.00442d38
pop ecx
jmp 0x403b5b
push 0x4519e8
call fcn.00442d38
pop ecx
push 0x4519e8
lea ecx, [ebp - 0x42c]
push ecx
call fcn.004441b0
add esp, 8
push 0x455c4b
push 0x4519e8
call fcn.0044362c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403d1e
mov byte [0x4519e8], 0
jmp 0x404230
push 2
push 0
push dword [ebp - 4]
call fcn.00443918
add esp, 0xc
push str._._START_._
push 0x455c4e
push dword [ebp - 4]
call fcn.00443658
add esp, 0xc
lea eax, [ebp - 0x57c]
push eax
call sub.KERNEL32.DLL_GetLocalTime
movzx edx, word [ebp - 0x570]
push edx
movzx ecx, word [ebp - 0x572]
push ecx
movzx eax, word [ebp - 0x574]
push eax
movzx edx, word [ebp - 0x57c]
push edx
movzx ecx, word [ebp - 0x57a]
push ecx
movzx eax, word [ebp - 0x576]
push eax
push str._02d._02d._04d__02d:_02d:_02d
lea edx, [ebp - 0x2c4]
push edx
call fcn.00444f70
add esp, 0x20
lea ecx, [ebp - 0x2c4]
push ecx
call sub.KERNEL32.DLL_GetTickCount
push eax
push str._ld___s_________PCDOCW_PROG_START__________r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0x10
push str.COMPIL:__
push dword [ebp - 4]
call fcn.00443658
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push dword [edx*4 + 0x451b50]
push 0x455ca8
push dword [ebp - 4]
call fcn.00443658
add esp, 0xc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x403dc4
push str.S12_10.04.2019
push str.___Ver___s__r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0xc
mov dword [ebp - 0xd0], 0x94
lea ecx, [ebp - 0xd0]
push ecx
call sub.KERNEL32.DLL_GetVersionExA
imul eax, dword [ebp - 0xc0], 0x3e8
imul edx, dword [ebp - 0xcc], 0x64
add eax, edx
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xcc], 6
jne 0x403e59
cmp dword [ebp - 0xc8], 0
jne 0x403e59
push str.WinVista
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x960
jne 0x403e7b
push str.WinNT4.0
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x9c6
jne 0x403e9d
push str.WinS2003
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x9c5
jne 0x403ebf
push str.WinXP
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x9c4
jne 0x403ee1
push str.Win2000
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x5d2
jne 0x403f00
push str.WinMe
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x582
jne 0x403f1f
push str.Win98
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc], 0x578
jne 0x403f3e
push str.Win95
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x403f71
cmp dword [ebp - 0xc0], 0
jne 0x403f5d
push str.Win3.1
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x403f71
push 0x455cfc
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea edx, [ebp - 0x2c4]
push edx
push str._s_OSV_ld._ld._ld__ld___s__r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0x20
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x34], eax
push 0x6c
push dword [ebp - 0x34]
call sub.GDI32.DLL_GetDeviceCaps
push eax
push 1
call sub.USER32.DLL_GetSystemMetrics
push eax
push 0
call sub.USER32.DLL_GetSystemMetrics
push eax
push str.SCR:__dx_dx_d_r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0x14
push dword [ebp - 0x34]
push 0
call sub.USER32.DLL_ReleaseDC
call sub.KERNEL32.DLL_GetSystemDefaultLangID
mov word [ebp - 0x36], ax
cmp word [ebp - 0x36], 0
je 0x403ffe
cmp word [ebp - 0x36], 0x809
jne 0x404017
push 0x455d2e
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x409
jne 0x404038
push 0x455d32
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x40c
jne 0x404059
push 0x455d36
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x407
jne 0x40407a
push 0x455d3a
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x410
jne 0x40409b
push 0x455d3e
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x415
jne 0x4040b9
push 0x455d42
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x40a
jne 0x4040d7
push 0x455d46
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x405
jne 0x4040f5
push 0x455d4a
lea eax, [ebp - 0x2c4]
push eax
call fcn.004415c8
add esp, 8
jmp 0x404127
cmp word [ebp - 0x36], 0x419
jne 0x404113
push 0x455d4e
lea edx, [ebp - 0x2c4]
push edx
call fcn.004415c8
add esp, 8
jmp 0x404127
push 0x455d52
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.004415c8
add esp, 8
call sub.KERNEL32.DLL_GetACP
mov dword [ebp - 0x28], eax
push 0x455d98
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c4]
push eax
movzx edx, word [ebp - 0x36]
push edx
push str.LNG:_SystemDefaultLangID_d__s___Ansi_code_page__d__Prog_s__Flg:_
push dword [ebp - 4]
call fcn.00443658
add esp, 0x18
mov byte [ebp - 0x2c4], 0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push 0x4650c8
lea eax, [ebp - 0x42c]
push eax
call fcn.004415c8
add esp, 8
mov edx, dword [ebp - 0xc]
push dword [edx*4 + 0x451830]
lea ecx, [ebp - 0x42c]
push ecx
call fcn.004414ec
add esp, 8
lea eax, [ebp - 0x56c]
push eax
lea edx, [ebp - 0x42c]
push edx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4041dd
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_FindClose
mov ecx, dword [ebp - 0xc]
push dword [ecx*4 + 0x451830]
lea eax, [ebp - 0x2c4]
push eax
call fcn.004414ec
add esp, 8
push 0x455d9c
lea edx, [ebp - 0x2c4]
push edx
call fcn.004414ec
add esp, 8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jl 0x40415f
lea ecx, [ebp - 0x2c4]
push ecx
push str._s__r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0xc
call fcn.00402808
test eax, eax
je 0x404211
mov eax, 0x455db8
jmp 0x404216
mov eax, str._not
push eax
push str.User_is_s_admin_r_n_r_n
push dword [ebp - 4]
call fcn.00443658
add esp, 0xc
push dword [ebp - 4]
call fcn.00442e70
pop ecx
mov esp, ebp
pop ebp
ret