Function at 0x1004ffa0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x3b4]
sub esp, 0x3b4
push 0xffffffffffffffff
push 0x10130324
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x3b0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp + 0x3c0]
lea eax, [ebp + 8]
push 0x110
push 0
push eax
mov dword [ebp + 4], 0x114
call fcn.100fdf90
add esp, 0xc
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100503b2
cmp dword [ebp + 8], 6
jb 0x100503b2
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.100511f0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x100503b2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10157e8c
push eax
call esi
push 0x1015ab64
push dword [edi]
mov dword [ebp - 0x18], eax
call esi
mov ecx, dword [ebp - 0x1c]
mov edi, eax
push 0x10157eb0
push dword [ecx]
call esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x100503b2
test edi, edi
je 0x100503b2
test eax, eax
je 0x100503b2
xorps xmm0, xmm0
movlpd qword [ebp + 0x1a0], xmm0
mov dword [ebp + 0x1a0], 0
mov dword [ebp + 0x1a4], 0
call fcn.10050b30
mov dword [ebp + 0x1a0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x180]
call fcn.100056b0
mov byte [ebp - 4], 3
lea eax, [ebp + 0x180]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s
push eax
call fcn.10057130
mov dword [ebp + 0x198], 0
add esp, 0x14
mov dword [ebp + 0x198], 0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x198]
push 0x20019
call fcn.10067380
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x180]
lea eax, [ebp]
mov dword [ebp], 0
push eax
push 0x20019
push 0
call fcn.10006600
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1005035e
push 0x208
xor esi, esi
lea eax, [ebp + 0x1a8]
push esi
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [ebp + 0x19c], 0x104
lea eax, [ebp + 0x19c]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x1a8]
push eax
push esi
push dword [ebp]
call edi
test eax, eax
jne 0x100501c3
lea ecx, [ebp + 0x1a8]
call fcn.10056990
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1a0]
call fcn.10051280
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x19c]
mov dword [ebp + 0x19c], 0x104
push eax
lea eax, [ebp + 0x1a8]
inc esi
push eax
push esi
push dword [ebp]
call edi
test eax, eax
je 0x10050173
push dword [ebp]
call dword [ebp - 0x20]
mov eax, dword [ebp + 0x1a0]
mov esi, dword [eax]
cmp esi, eax
je 0x1005035e
nop dword [eax]
push dword [esi + 0x10]
lea eax, [ebp + 0x180]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s_08d
push eax
call fcn.10057130
add esp, 0x18
lea eax, [ebp]
lea ecx, [ebp + 0x180]
push eax
push 0x20019
push 0
call fcn.10006600
push eax
push dword [ebp - 0x14]
call dword [ebp - 0x18]
test eax, eax
jne 0x10050316
lea ecx, [ebp + 0x118]
call fcn.1004e390
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push 0x10153cd4
mov dword [ebp + 0x14c], 0x804
call fcn.10008180
mov byte [ebp - 4], 8
lea eax, [ebp + 0x118]
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp]
call fcn.10050450
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.10004ae0
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x100502f2
push eax
push 0x68
call fcn.100048e0
mov ecx, dword [ebp + 0x118]
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
lea eax, [ebp + 0x11c]
mov dword [edi], ecx
lea ecx, [edi + 4]
push eax
call fcn.10004af0
mov byte [ebp - 4], 9
lea eax, [ebp + 0x134]
push eax
lea ecx, [edi + 0x1c]
call fcn.10004af0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x38]
mov eax, dword [ebp + 0x14c]
mov dword [edi + 0x34], eax
lea eax, [ebp + 0x150]
push eax
call fcn.10004af0
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x168]
push eax
lea ecx, [edi + 0x50]
call fcn.10004af0
mov byte [ebp - 4], 7
add dword [ebx + 4], 0x68
jmp 0x10050301
lea ecx, [ebp + 0x118]
push ecx
push eax
mov ecx, ebx
call fcn.10050cd0
push dword [ebp]
call dword [ebp - 0x20]
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x118]
call fcn.1004e410
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1005033c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10050338
cmp esi, dword [eax + 8]
jne 0x10050338
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10050328
mov esi, eax
jmp 0x10050352
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10050352
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10050346
cmp esi, dword [ebp + 0x1a0]
jne 0x100501e0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x198]
call fcn.10067520
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x180]
call fcn.10004ae0
mov dword [ebp - 4], 0xf
lea ecx, [ebp + 0x1a0]
mov eax, dword [ebp + 0x1a0]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.10050920
mov dword [ebp - 4], 0xffffffff
push 0x14
push dword [ebp + 0x1a0]
call fcn.100fc65e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3b0]
xor ecx, ebp
call fcn.100fc1a9
lea esp, [ebp + 0x3b4]
pop ebp
ret 8