Function at 0x55ce20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5c98aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
push 0x69a80c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.0056ce20
call fcn.005767e0
call fcn.005759f0
mov dword [esi + 0xac560], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x69eba0], eax
call fcn.00576770
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
push ebx
push 1
push 0x1f0fff
push 0x69925c
call edi
push eax
call edi
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call ebp
push ebx
push 1
push 0x1f03ff
push 0x699258
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push 0x55a860
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x158]
mov dword [0x69a808], eax
lea ebp, [esi + 0x10]
push 1
mov dword [esi + 4], 0x30001
mov dword [esi + 8], ecx
mov dword [esi + 0x4c4], 0xff000000
mov dword [ebp], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x480], ebx
call fcn.0057c675
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x150], ebx
cmp eax, ebx
je 0x55cf1c
mov ecx, eax
call fcn.00566530
jmp 0x55cf1e
xor eax, eax
or ebx, 0xffffffff
push 8
mov dword [esp + 0x154], ebx
mov dword [0x699294], eax
call fcn.0057c675
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x150], 1
test eax, eax
je 0x55cf53
mov ecx, eax
call fcn.00566110
jmp 0x55cf55
xor eax, eax
push 0x3c
mov dword [esp + 0x154], ebx
mov dword [0x699290], eax
call fcn.0057c675
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x150], 2
test edi, edi
je 0x55cf89
mov ecx, edi
call fcn.00566630
jmp 0x55cf8b
xor edi, edi
push 0
push ebp
push 0x665d34
push 0x800
push 0
mov dword [esp + 0x164], ebx
mov dword [0x699298], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.DINPUT8.dll_DirectInput8Create
test eax, eax
jne 0x55cfc2
mov ecx, dword [0x699294]
call fcn.00566810
push str.Input_Devices_enabled:_Mouse__Keyboard_n
call fcn.0055a410
add esp, 4
push 0x20
call sub.d3d9.dll_Direct3DCreate9
mov edi, eax
xor ebx, ebx
mov dword [esi + 0x14], edi
cmp edi, ebx
jne 0x55cfe8
xor eax, eax
jmp 0x55d10b
push 0x130
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0057df80
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push edi
call edx
mov ecx, dword [0x7172d0]
cmp ecx, ebx
je 0x55d059
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
cmp eax, edi
jae 0x55d023
mov edi, eax
push edi
call fcn.00571590
mov ecx, dword [0x7172e8]
mov eax, dword [ecx + 0x184]
cmp edi, eax
jge 0x55d03b
mov eax, edi
push eax
call fcn.00571590
mov ecx, dword [0x7172e0]
mov eax, dword [ecx + 0x184]
cmp edi, eax
jge 0x55d053
mov eax, edi
push eax
call fcn.00571590
push str.Default.ini
mov byte [esi + 0xac5ec], bl
mov dword [esi + 0x550], ebx
mov dword [esi + 0x56554], ebx
call fcn.0057c9bb
push str.DefaultShaderFile.shader
call fcn.0057c9bb
call fcn.0055bdb0
mov esi, eax
call fcn.0055be40
mov edi, eax
mov eax, esi
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push str.VMEM_As_seen_through_DDRaw:__d_n
call fcn.0055a410
mov eax, edi
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push str.VMEM_As_seen_through_WMI:__d_n
call fcn.0055a410
add esp, 0x18
cmp esi, edi
mov eax, esi
jg 0x55d0e2
mov eax, edi
mov ecx, dword [0x7173c8]
push eax
call fcn.00571590
mov ecx, dword [0x7173cc]
push esi
call fcn.00571590
mov ecx, dword [0x7173d0]
push edi
call fcn.00571590
mov eax, 1
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 8