Function at 0x11124f70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118b82a
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
mov dword [edi], fcn.1109f860
test ecx, ecx
jne 0x11124fd4
mov ecx, dword [ebx + 0x10]
mov dword [edi + 4], ecx
test eax, eax
jne 0x11124fe0
mov eax, 0x11120630
call eax
mov esi, eax
lea eax, [esi + 0x1c]
mov dword [edi + 8], esi
push eax
mov dword [esi + 4], edi
call dword [sym.imp.KeRneL32.DLl_InitializeCriticalSection]
mov eax, dword [ebp - 0xa8]
test eax, eax
jne 0x11125009
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0xa8], ecx
mov eax, ecx
push esi
push 0
mov dword [esi + 8], eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
push fcn.111246d0
push 0x30000014
call eax
call dword [sym.imp.KeRneL32.DLl_GetCurrentThreadId]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x1112503f
mov ecx, ebx
call fcn.1110fff0
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x160]
push edi
mov dword [esi + 0x18], ecx
call fcn.11160b10
mov edx, dword [0x111ec114]
add esp, 4
mov dword [edi], edx
mov eax, dword [0x111ec114]
push 0
push 0
mov dword [esi + 0x15c], eax
mov ecx, dword [0x111ec118]
push 0x111a25b4
mov dword [esi + 0x164], ecx
mov ecx, dword [esi + 8]
push 0x111a0fc4
call fcn.1105e820
cmp eax, 6
je 0x11125093
cmp eax, 7
jne 0x1112509a
mov eax, 8
jmp 0x1112509e
test eax, eax
jle 0x111250b3
cmp dword [edi], eax
jle 0x111250b3
mov dword [edi], eax
cmp eax, 8
jge 0x111250b3
mov dword [esi + 0x164], 0
cmp dword [ebp - 0xac], 0
jne 0x111250fa
push 4
call fcn.111101b0
add esp, 4
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x111250e4
push 0
push 1
mov ecx, eax
call fcn.11110de0
jmp 0x111250e6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xac], eax
mov dword [esi + 0x3c], 1
mov edx, dword [ebp - 0xac]
push 8
mov dword [esi + 0x38], edx
call fcn.111101b0
add esp, 4
mov dword [ebp - 0xb4], eax
xor edi, edi
mov dword [ebp - 4], 1
cmp eax, edi
je 0x11125136
mov ecx, dword [ebp - 0xa8]
push esi
push 0x11114b80
push ecx
mov ecx, eax
call fcn.1100d2c0
jmp 0x11125138
xor eax, eax
push esi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.11117e90
mov ecx, dword [esi + 0x40]
add esp, 4
push eax
call fcn.11009990
cmp ebx, edi
je 0x111251bf
push 4
call fcn.111101b0
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x111251ae
push 0x11114d70
push 0x11114d50
push 0x111a0fc4
lea edx, [esi + 0x448]
push edx
mov ecx, ebx
call fcn.11064e90
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa8]
push eax
mov eax, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, edi
call fcn.1110f2d0
jmp 0x111251b0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x434], eax
xor edi, edi
push 0x25c
call fcn.111101b0
add esp, 4
cmp eax, edi
je 0x111251f2
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 0x250], 0x11112900
mov dword [eax + 0x254], ecx
mov dword [eax + 0x258], 0x111a0fec
jmp 0x111251f4
xor eax, eax
mov dword [esi + 0x588], eax
cmp ebx, edi
je 0x11125215
mov edx, dword [ebp - 0xac]
push edi
push edx
call fcn.11112940
push eax
push 1
mov ecx, ebx
call fcn.110719d0
push 0x111b8ab8
call dword [sym.imp.KeRneL32.DLl_GlobalAddAtomA]
mov word [0x111f1990], ax
lea eax, [ebp - 0xa4]
mov dword [esi + 0x56c], edi
mov dword [esi + 0x574], edi
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
cmp dword [ebp - 0x94], 2
je 0x1112525d
call fcn.11116460
mov dword [esi + 0x584], eax
mov ecx, dword [esi + 8]
push edi
push edi
push 0x111b8aa8
push 0x111a0fc4
call fcn.1105e820
mov ecx, dword [esi + 8]
push edi
push edi
push 0x1119c258
push 0x111a0fc4
mov dword [esi + 0x1d8], eax
call fcn.1105e820
mov ecx, dword [esi + 8]
push edi
push edi
push 0x111b8a90
push 0x111a0fc4
mov dword [esi + 0x590], eax
call fcn.1105e820
mov ecx, dword [esi + 8]
push edi
push 0x96
push 0x111b8a88
push 0x111a0fc4
mov dword [esi + 0x5a0], eax
call fcn.1105e820
mov dword [esi + 0x598], eax
cmp ebx, edi
je 0x111252d5
push eax
mov ecx, ebx
call fcn.11067d90
mov ecx, dword [esi + 8]
push edi
push edi
push 0x111b8a78
push 0x111a0fc4
call fcn.1105e820
mov ecx, dword [esi + 8]
push edi
push edi
push 0x111b8a68
push 0x111a0fc4
mov dword [esi + 0x43c], eax
call fcn.1105e820
mov dword [esi + 0x440], eax
mov eax, dword [ebp - 0xb8]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0x18