Function at 0x1109e5b0
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111848f6
mov eax, dword fs:[0]
push eax
sub esp, 0x708
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6d4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x38], edx
push eax
lea edx, [ebp - 0x310]
mov dword [esi + 0x2c], ecx
push edx
mov ecx, esi
mov dword [ebp - 0x6d0], edi
call fcn.1109dda0
test eax, eax
je 0x1109ec30
xor ebx, ebx
push 0x111a6d88
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x6c8], ebx
mov dword [ebp - 0x6c4], ebx
call fcn.1109d860
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x1109e7a4
push 0x14
push pe_nt_image_headers32
call dword [sym.imp.KeRneL32.DLl_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x6c8], edi
cmp edi, ebx
je 0x1109ec25
push 1
push edi
call dword [sym.imp.aDvapi32.DLL_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
push edi
call dword [sym.imp.aDvapi32.DLL_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x6c0]
push eax
mov dword [ebp - 0x6c0], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
cmp dword [ebp - 0x6bc], 6
jb 0x1109e71a
lea ecx, [ebp - 0x714]
call fcn.1109d7d0
push ebx
lea ecx, [ebp - 0x6c4]
push ecx
push 1
push 0x111a6d78
lea ecx, [ebp - 0x714]
mov byte [ebp - 4], 1
call fcn.1109d810
test eax, eax
je 0x1109e709
lea edx, [ebp - 0x6e4]
push edx
mov edx, dword [ebp - 0x6c4]
lea eax, [ebp - 0x6cc]
push eax
lea ecx, [ebp - 0x6e8]
push ecx
push edx
mov dword [ebp - 0x6cc], ebx
mov dword [ebp - 0x6e8], ebx
mov dword [ebp - 0x6e4], ebx
call dword [sym.imp.aDvapi32.DLL_GetSecurityDescriptorSacl]
test eax, eax
je 0x1109e709
mov eax, dword [ebp - 0x6cc]
push ebx
push eax
push 1
push edi
call dword [sym.imp.aDvapi32.DLL_SetSecurityDescriptorSacl]
mov eax, dword [ebp - 0x714]
cmp eax, ebx
je 0x1109e71a
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
mov dword [ebp - 0x6e0], 0xc
mov dword [ebp - 0x6dc], edi
mov dword [ebp - 0x6d8], ebx
lea eax, [ebp - 0x6e0]
mov edx, dword [ebp - 0x6d4]
lea ecx, [ebp - 0x310]
push ecx
add edx, 0x1c0
push edx
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KeRneL32.DLl_CreateFileMappingA]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x1109e7a8
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
push 0x111a6d58
call fcn.110d6c20
mov edi, dword [sym.imp.KeRneL32.DLl_LocalFree]
add esp, 8
cmp dword [ebp - 0x6c8], ebx
je 0x1109e788
mov eax, dword [ebp - 0x6c8]
push eax
call edi
mov eax, dword [ebp - 0x6c4]
cmp eax, ebx
je 0x1109e795
push eax
call edi
push 0x111a6d44
push 0x1b3
jmp 0x1109ec1e
mov eax, edi
jmp 0x1109e736
mov dword [ebp - 0x6cc], ebx
xor edi, edi
call dword [sym.imp.KeRneL32.DLl_GetLastError]
cmp eax, 0xb7
jne 0x1109e7c2
mov edi, 1
mov ecx, dword [esi + 8]
push ebx
push ebx
push ebx
push 0xf001f
push ecx
call dword [sym.imp.KeRneL32.DLl_MapViewOfFile]
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x1109e817
push 0x111a6d2c
call fcn.110d6c20
mov eax, dword [ebp - 0x6c8]
mov edi, dword [sym.imp.KeRneL32.DLl_LocalFree]
add esp, 4
cmp eax, ebx
je 0x1109e7fb
push eax
call edi
mov eax, dword [ebp - 0x6c4]
cmp eax, ebx
je 0x1109e808
push eax
call edi
push 0x111a6bd0
push 0x1c7
jmp 0x1109ec1e
cmp edi, ebx
mov edi, dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
je 0x1109e8c1
push 0x104
lea edx, [ebp - 0x614]
push edx
push ebx
call edi
mov eax, dword [esi + 0x24]
cmp dword [eax + 4], 0x1c0
jne 0x1109e8dd
mov ecx, dword [ebp - 0x6d4]
cmp dword [eax + 0x10], ecx
jne 0x1109e8dd
cmp dword [eax + 0xc], ebx
je 0x1109e899
cmp word [eax + 8], bx
je 0x1109e899
lea ecx, [ebp - 0x614]
add eax, 0xbc
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1109e890
cmp dl, bl
je 0x1109e88c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1109e890
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1109e870
xor eax, eax
jmp 0x1109e895
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1109e8dd
push 0x111a6d08
mov dword [ebp - 0x6cc], 1
call fcn.110d6c20
add esp, 4
push 0x111a6cf4
push 0x1da
mov ecx, esi
call fcn.1109dce0
mov eax, dword [esi + 0x24]
lea edx, [eax + 0x1c0]
mov dword [esi + 0x28], edx
cmp dword [ebp - 0x6cc], ebx
je 0x1109e919
inc dword [eax + 0x38]
jmp 0x1109e9bf
push 0x111a6cdc
call fcn.110d6c20
mov eax, dword [ebp - 0x6c8]
mov edi, dword [sym.imp.KeRneL32.DLl_LocalFree]
add esp, 4
cmp eax, ebx
je 0x1109e8fd
push eax
call edi
mov eax, dword [ebp - 0x6c4]
cmp eax, ebx
je 0x1109e90a
push eax
call edi
push 0x111a6cd0
push 0x1e4
jmp 0x1109ec1e
push 0x1c0
push ebx
push eax
call fcn.11162be0
add esp, 0xc
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov ecx, eax
not ecx
xor edx, edx
cmp eax, 0x10000000
jae 0x1109e94c
mov ebx, edx
and ebx, 1
add eax, eax
or eax, ebx
inc edx
xor ebx, ebx
cmp edx, 0x20
jl 0x1109e934
xor edx, edx
cmp ecx, 0x10000000
jae 0x1109e965
mov ebx, edx
and ebx, 1
add ecx, ecx
inc edx
or ecx, ebx
cmp edx, 0x20
jl 0x1109e94e
mov edx, dword [esi + 0x24]
mov ebx, dword [ebp - 0x6d4]
mov dword [edx + 4], 0x1c0
mov edx, dword [esi + 0x24]
mov dword [edx + 0x10], ebx
mov edx, dword [esi + 0x24]
mov dword [edx + 0x20], eax
mov edx, dword [esi + 0x24]
mov dword [edx + 0x24], ecx
mov ebx, dword [esi + 0x24]
lea edx, [eax + 1]
mov dword [ebx + 0x18], edx
mov ebx, dword [esi + 0x24]
lea edx, [ecx + 1]
mov dword [ebx + 0x1c], edx
mov ebx, dword [esi + 0x24]
lea edx, [eax + 2]
mov dword [ebx + 0x28], edx
mov ebx, dword [esi + 0x24]
lea edx, [ecx + 2]
mov dword [ebx + 0x2c], edx
mov edx, dword [esi + 0x24]
add eax, 3
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0x24]
add ecx, 3
mov dword [eax + 0x34], ecx
xor ebx, ebx
mov ecx, dword [esi + 0x24]
mov edx, 1
mov word [ecx + 8], dx
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov word [eax + 0xa], cx
call dword [sym.imp.KeRneL32.DLl_GetCurrentProcessId]
mov edx, dword [esi + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x24]
push 0x104
add eax, 0xbc
push eax
push ebx
call edi
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x510]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x310]
push edx
mov ecx, esi
call fcn.1109dc30
mov eax, dword [ebp - 0x6d0]
cmp eax, ebx
jne 0x1109ea2b
lea eax, [ebp - 0x6e0]
mov edi, dword [sym.imp.KeRneL32.DLl_CreateEventA]
lea ecx, [ebp - 0x110]
push ecx
push ebx
push ebx
push eax
call edi
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x1109ea66
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
lea edx, [ebp - 0x110]
push edx
push 0x111a6cac
call fcn.110d6c20
add esp, 0x10
mov eax, dword [ebp - 0x6d0]
cmp eax, ebx
jne 0x1109ea76
lea eax, [ebp - 0x6e0]
lea ecx, [ebp - 0x210]
push ecx
push ebx
push ebx
push eax
call edi
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x1109eaab
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
lea edx, [ebp - 0x210]
push edx
push 0x111a6cac
call fcn.110d6c20
add esp, 0x10
mov eax, dword [ebp - 0x6d0]
cmp eax, ebx
jne 0x1109eabb
lea eax, [ebp - 0x6e0]
lea ecx, [ebp - 0x410]
push ecx
push ebx
push 1
push eax
call edi
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x1109eaf1
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
lea edx, [ebp - 0x410]
push edx
push 0x111a6cac
call fcn.110d6c20
add esp, 0x10
mov eax, dword [ebp - 0x6d0]
cmp eax, ebx
jne 0x1109eb01
lea eax, [ebp - 0x6e0]
lea ecx, [ebp - 0x510]
push ecx
push ebx
push ebx
push eax
call edi
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x1109eb34
mov edi, dword [sym.imp.KeRneL32.DLl_GetLastError]
call edi
push eax
call edi
push eax
lea edx, [ebp - 0x510]
push edx
push 0x111a6cac
call fcn.110d6c20
add esp, 0x10
mov eax, dword [ebp - 0x6c8]
mov edi, dword [sym.imp.KeRneL32.DLl_LocalFree]
cmp eax, ebx
je 0x1109eb47
push eax
call edi
mov eax, dword [ebp - 0x6c4]
cmp eax, ebx
je 0x1109eb54
push eax
call edi
mov dword [ebp - 0x6c4], ebx
cmp dword [esi + 0xc], ebx
je 0x1109ec07
cmp dword [esi + 0x10], ebx
je 0x1109ec07
cmp dword [esi + 0x14], ebx
je 0x1109ec07
cmp dword [esi + 0x18], ebx
je 0x1109ec07
cmp dword [esi + 0x2c], ebx
jne 0x1109eb8c
call dword [sym.imp.KeRneL32.DLl_GetCurrentThreadId]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
push ebx
push esi
push 0x1109e140
push 0x2000
push ebx
call dword [sym.imp.KeRneL32.DLl_CreateThread]
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x1109ebb6
push 0x111a6c98
push 0x24e
jmp 0x1109ec1e
mov byte [esi + 4], 1
cmp dword [ebp - 0x6cc], ebx
je 0x1109ebda
mov ecx, dword [esi + 0x14]
mov edi, dword [sym.imp.KeRneL32.DLl_ResetEvent]
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call edi
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KeRneL32.DLl_SetEvent]
add esi, 0x3c
push esi
push 0x111a6c84
call fcn.110d6c20
add esp, 8
lea ecx, [ebp - 0x62c]
call fcn.1109d8f0
mov eax, 1
jmp 0x1109ec32
push 0x111a6c68
call fcn.110d6c20
add esp, 4
push 0x111a6c54
push 0x244
mov ecx, esi
call fcn.1109dce0
lea ecx, [ebp - 0x62c]
call fcn.1109d8f0
xor eax, eax
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 0x14