Function at 0x60a410
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x6983b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov edi, 0x799694
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x7999c0], edi
mov dword [0x7999bc], edi
call fcn.0061c440
call fcn.00626f70
call fcn.00626910
mov dword [esi + 0x102578], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x79ca34], eax
call fcn.0047ab30
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
push ebx
push 1
push 0x1f0fff
push 0x797e94
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 0x797e90
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 0x6070f0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x158]
mov dword [0x799690], eax
push 1
lea ebp, [esi + 0x10]
push 1
mov dword [esi + 4], 0x30001
mov dword [esi + 8], ecx
mov dword [esi + 0x4d4], 0xff000000
mov dword [ebp], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x480], ebx
call fcn.006092a0
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x150], ebx
cmp eax, ebx
je 0x60a51b
mov ecx, eax
call fcn.00614a30
jmp 0x60a51d
xor eax, eax
push 1
or edi, 0xffffffff
push 0xc
mov dword [esp + 0x158], edi
mov dword [0x797ecc], eax
call fcn.006092a0
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x150], 1
cmp eax, ebx
je 0x60a554
mov ecx, eax
call fcn.006145e0
jmp 0x60a556
xor eax, eax
push 1
push 0x3c
mov dword [esp + 0x158], edi
mov dword [0x797ec8], eax
call fcn.006092a0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
mov dword [esp + 0x150], 2
cmp edi, ebx
je 0x60a58c
mov ecx, edi
call fcn.00614b30
jmp 0x60a58e
xor edi, edi
push ebx
push ebp
push 0x750634
push 0x800
push ebx
mov dword [esp + 0x164], 0xffffffff
mov dword [0x797ed0], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.DINPUT8.dll_DirectInput8Create
test eax, eax
jne 0x60a5c7
mov ecx, dword [0x797ecc]
call fcn.00614d30
push str.Input_Devices_enabled:_Mouse__Keyboard_n
call fcn.00606c90
add esp, 4
push 0x20
call sub.d3d9.dll_Direct3DCreate9
mov edi, eax
mov dword [esi + 0x14], edi
cmp edi, ebx
jne 0x60a5eb
xor eax, eax
jmp 0x60a70e
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00630180
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 [0x818054]
cmp ecx, ebx
je 0x60a65c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
cmp eax, edi
jae 0x60a626
mov edi, eax
push edi
call fcn.00622480
mov ecx, dword [0x81806c]
mov eax, dword [ecx + 0x184]
cmp edi, eax
jge 0x60a63e
mov eax, edi
push eax
call fcn.00622480
mov ecx, dword [0x818064]
mov eax, dword [ecx + 0x184]
cmp edi, eax
jge 0x60a656
mov eax, edi
push eax
call fcn.00622480
push str.Default.ini
mov byte [esi + 0x102604], bl
mov dword [esi + 0x568], ebx
mov dword [esi + 0x8156c], ebx
call fcn.0062d82a
push str.DefaultShaderFile.shader
call fcn.0062d82a
call fcn.00609430
mov esi, eax
call fcn.005dbae0
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.00606c90
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.00606c90
add esp, 0x18
cmp esi, edi
mov eax, esi
jg 0x60a6e5
mov eax, edi
mov ecx, dword [0x818150]
push eax
call fcn.00622480
mov ecx, dword [0x818154]
push esi
call fcn.00622480
mov ecx, dword [0x818158]
push edi
call fcn.00622480
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