Function at 0x425170
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5a1e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x54a0
call fcn.0046f7e0
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x549c], eax
push ebx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x54b0]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
call fcn.004253e0
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x54b8], ebx
call fcn.004091e0
lea ecx, [esp + 0x18]
call fcn.00409dd0
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0x54bc], 2
call fcn.00424a50
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x70], edx
call fcn.00409f30
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], edx
call fcn.00409f30
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x84]
call fcn.00409f30
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 8]
mov dword [esp + 0x84], edx
inc dword [ecx + 0x50]
call fcn.0040e660
push eax
lea ecx, [esp + 0x20]
call fcn.00409e10
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x54bc], 3
call fcn.0040e660
push eax
call fcn.004288d0
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.00429070
lea ecx, [edi + 0x58]
mov esi, eax
mov dword [edi + 0x1c], ebx
call fcn.0040a830
push eax
lea ecx, [esi + 0x5520]
call fcn.0040bdf0
mov edx, dword [esi]
mov edx, dword [edx]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x425367
mov eax, dword [edi + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea ecx, [esp + 0x18]
push ecx
push 2
mov dword [esp + 0x24], eax
call ebx
cmp eax, 0xffffffff
je 0x425348
test eax, eax
je 0x42532f
cmp eax, 0x102
je 0x425307
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, 3
je 0x425341
cmp eax, 4
je 0x425341
cmp eax, 1
je 0x425338
mov ecx, dword [edi + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, esi
call eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
mov dword [esp + 0x24], eax
call ebx
cmp eax, 0xffffffff
jne 0x4252e4
jmp 0x425348
mov dword [edi + 0x1c], 0xa
jmp 0x42534f
mov dword [edi + 0x1c], 5
jmp 0x42534f
mov dword [edi + 0x30], 0xfffffffe
mov dword [edi + 0x1c], 0xb
cmp dword [edi + 0x1c], 5
jne 0x42536e
lea edx, [esp + 0x3c]
push edx
push edi
mov ecx, esi
call fcn.00425440
mov dword [edi + 0x1c], eax
jmp 0x42536e
mov dword [edi + 0x1c], 0xb
lea esi, [esp + 0x3c]
call fcn.00429000
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
test ecx, ecx
je 0x42538b
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx]
push edi
call eax
lea ecx, [esp + 0x1c]
call fcn.00409f10
lea ecx, [esp + 0x18]
call fcn.00409f10
lea ecx, [esp + 0x20]
call fcn.00409b60
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x54bc], 0xffffffff
call fcn.00428f40
xor eax, eax
mov ecx, dword [esp + 0x54b0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x549c]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret