Function at 0x435070
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436f60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x44000c]
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
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [0x440440], 0x30
mov dword [0x440444], 0x40
mov dword [0x440448], 0x401fa0
mov dword [0x44044c], 0
mov dword [0x440450], 0
call edi
xorps xmm0, xmm0
mov dword [0x440454], eax
push 0x440440
movups xmmword [0x440458], xmm0
mov dword [0x440468], 0x4373ac
mov dword [0x44046c], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x440454]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.Cheat_Menu
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x440438], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x440438]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x440434], ecx
test ecx, ecx
je 0x435208
push 0x44043c
push 0x440474
push 0x40
push dword [0x440438]
xorps xmm0, xmm0
mov dword [0x440488], 0
push 1
movlpd qword [0x440474], xmm0
movlpd qword [0x440480], xmm0
mov dword [0x440490], 0
movlpd qword [0x4404a0], xmm0
mov dword [0x440494], 1
mov dword [0x44048c], 1
mov dword [0x44047c], 0
mov dword [0x440498], 1
mov dword [0x44049c], 0x50
mov dword [0x4404a8], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.00402240
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x434fc0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401520
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4017f0
push 0
push 0
call esi
cmp byte [0x440028], 0
je 0x4353fc
mov eax, dword fs:[0x2c]
mov ebx, dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov esi, dword [eax]
call fcn.00402400
call fcn.00402660
mov dword [ebp - 4], 1
call fcn.0040ac20
mov ecx, dword [0x44043c]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44043c]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44043c]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44043c]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x44043c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x435318
call fcn.0040b020
mov eax, dword [0x44041c]
xor ecx, ecx
mov eax, dword [eax + 0x4a34]
mov eax, dword [eax]
add eax, 0x3c
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00429a20
mov eax, dword [0x44043c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x44043c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x43534a
mov eax, dword [0x44043c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x43534a
call fcn.00402170
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4404c0]
cmp eax, dword [esi + 4]
jle 0x435381
push 0x4404c0
call fcn.0043568e
add esp, 4
cmp dword [0x4404c0], 0xffffffff
jne 0x435381
push 0x4404c0
call fcn.00435644
add esp, 4
mov eax, dword [0x4404c4]
cmp eax, dword [esi + 4]
jle 0x4353c9
push 0x4404c4
call fcn.0043568e
add esp, 4
cmp dword [0x4404c4], 0xffffffff
jne 0x4353c9
push str.NtDelayExecution
push str.ntdll.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4404c4
mov dword [0x440410], eax
call fcn.00435644
add esp, 4
push 1
call ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff3cb0
push eax
push 0
mov dword [ebp - 0x14], 0xffffffff
call dword [0x440410]
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
cmp byte [0x440028], 0
jne 0x435261
mov dword [ebp - 4], 2
mov esi, dword [0x44041c]
test esi, esi
je 0x435412
mov ebx, dword [esi + 0x78]
jmp 0x435414
xor ebx, ebx
test esi, esi
je 0x43546f
mov edi, dword [esi + 0x78]
test edi, edi
je 0x43546f
cmp dword [edi], 0
je 0x43546f
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x435438
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 4], 0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43544c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x43546f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x44041c]
mov dword [edi + 0xc], 0
mov eax, dword [eax + 0x2c]
mov dword [eax + 4], 0
mov edx, dword [ebx]
test edx, edx
je 0x43547b
mov eax, dword [edx]
push edx
call dword [eax + 8]
and dword [esi + 0xc], 0xfffffff7
mov ecx, ebx
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
call fcn.004087f0
mov esi, dword [0x44041c]
test esi, esi
je 0x4354a3
mov edi, dword [esi + 0x74]
jmp 0x4354a5
xor edi, edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4354b3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi + 0xc], 0xfffffff8
mov ecx, edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
call fcn.004087f0
mov esi, dword [0x44041c]
call fcn.00407010
mov dword [0x44041c], 0
test esi, esi
je 0x4354f3
mov ecx, esi
call fcn.0041b1f0
mov ecx, esi
call fcn.004087f0
mov dword [ebp - 4], 3
mov ecx, dword [0x44043c]
test ecx, ecx
je 0x435514
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44043c], 0
mov ecx, dword [0x440434]
test ecx, ecx
je 0x43552e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x440434], 0
push dword [0x440438]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x440454]
push dword [0x440468]
call dword [sym.imp.USER32.dll_UnregisterClassA]
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.00435571
mov esp, ebp
pop ebp
ret 0x10