Function at 0x4144b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41495f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [0x406b64]
call fcn.004059d0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
je 0x41492b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x2c], 0
jne 0x41492b
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, dword [0x427530]
call fcn.0040ff4c
lea edx, [ebp - 0x124]
mov eax, dword [0x427510]
call fcn.00407f58
push dword [ebp - 0x124]
push 0x414978
push dword [ebp - 8]
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00404b34
mov eax, dword [ebp - 0x120]
call fcn.00404c30
push eax
call fcn.0040fa90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41492b
xor edx, edx
push ebp
push 0x414924
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor edx, edx
push ebp
push 0x414906
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0x12c]
mov eax, dword [0x427528]
call fcn.00407f58
push dword [ebp - 0x12c]
push 0x414978
push dword [ebp - 8]
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.00404b34
mov eax, dword [ebp - 0x128]
call fcn.00404c30
push eax
call fcn.0040ff38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4148a4
xor edx, edx
push ebp
push 0x41489d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x414886
xor edx, edx
push ebp
push 0x41487f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
lea ecx, [esi + 0x16]
cmp edx, dword [ecx]
jne 0x41465c
mov edx, dword [esi + 0xc]
add edx, 4
movzx edx, word [edx]
lea ecx, [esi + 0x16]
add ecx, 4
cmp dx, word [ecx]
je 0x414868
mov dword [ebp - 0x20], eax
call fcn.0040cf38
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x414682
mov eax, dword [esi + 0xc]
mov edx, 8
call fcn.0040d018
test al, al
je 0x414868
lea edx, [ebp - 0x11c]
mov eax, dword [esi + 0xc]
call fcn.0040a938
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x34], 0
je 0x4146ca
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4146ca
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0x100]
cmp eax, 6
jae 0x4146ca
push ebp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x38]
mov eax, dword [esi + 0xc]
call fcn.00414220
pop ecx
test al, al
jne 0x4146ce
xor eax, eax
jmp 0x4146d0
mov al, 1
mov byte [ebp - 0x22], al
cmp byte [ebp - 0x22], 0
je 0x414774
mov byte [ebp - 0x23], 0xf4
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x23]
mov ecx, 1
call fcn.0040f6e4
test al, al
jne 0x4146fe
mov eax, dword [esi + 0xc]
movzx edx, byte [ebp - 0x23]
mov byte [eax], dl
mov eax, dword [esi + 0xc]
mov edx, 1
call fcn.00414134
lea eax, [ebp - 0xc]
call fcn.00413ef0
mov eax, dword [ebp - 0xc]
call fcn.00405810
test eax, eax
jl 0x414774
inc eax
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0xf8], 0x10001
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x414762
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp - 0x40]
jae 0x414762
mov eax, dword [esi + 0xc]
add eax, 6
cmp eax, dword [ebp - 0x40]
jbe 0x414762
push 0xa
call sub.kernel32.dll_Sleep_1
jmp 0x414725
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_CloseHandle
inc edi
dec dword [ebp - 0x2c]
jne 0x414725
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x16]
mov ecx, 6
call fcn.0040f6e4
test al, al
jne 0x414798
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x16]
mov dword [eax], edx
mov dx, word [esi + 0x1a]
mov word [eax + 4], dx
mov eax, dword [esi + 0xc]
mov edx, 6
call fcn.00414134
cmp byte [ebp - 0x22], 0
je 0x414848
mov dl, 1
mov eax, dword [0x4273f8]
call fcn.0040bdfc
mov ebx, eax
lea eax, [ebx + 0xe]
lea edx, [ebx + 0xa]
add eax, dword [edx]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
call fcn.00413ef0
mov eax, dword [ebp - 0xc]
call fcn.00405810
test eax, eax
jl 0x414848
inc eax
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0xf8], 0x10001
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x414836
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp - 0x40]
je 0x41482d
cmp ebx, dword [ebp - 0x40]
ja 0x414818
lea eax, [ebx + 0xa]
cmp eax, dword [ebp - 0x40]
jae 0x41482d
mov eax, dword [ebp - 0x40]
and eax, 0xffff0000
mov edx, dword [ebp - 0x28]
and edx, 0xffff0000
cmp eax, edx
jne 0x414836
push 0xa
call sub.kernel32.dll_Sleep_1
jmp 0x4147e2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_CloseHandle
inc edi
dec dword [ebp - 0x2c]
jne 0x4147e2
cmp byte [ebp - 0x21], 0
je 0x41485b
mov eax, dword [esi + 0xc]
mov edx, 8
call fcn.0040d0a8
cmp byte [ebp - 0x22], 0
je 0x414868
push ebp
call fcn.0041442c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414886
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4148a4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp dword [ebp - 0x20], 0
je 0x4148ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x20]
je 0x4148ef
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x37], 0
je 0x4148cb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
call fcn.004103e8
jmp 0x4148cd
xor eax, eax
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x37], 0
je 0x4148da
test eax, eax
je 0x4148ef
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.00410544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41490d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReleaseMutex
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414966
lea eax, [ebp - 0x12c]
mov edx, 4
call fcn.004047e8
lea eax, [ebp - 0xc]
mov edx, dword [0x406b64]
call fcn.004059d0
lea eax, [ebp - 8]
call fcn.004047c4
ret