Function at 0x430770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x65f018]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push 0
push 0x80
push 0x40000
mov edi, ecx
call fcn.004504c7
mov ecx, edi
call fcn.00451de2
cmp byte [0x669979], 0
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
je 0x4307d2
mov ecx, edi
call fcn.004507f1
push 0
push 0
push 0
push 0x11
call ebx
push 0
push 2
push 0
push 0x11
call ebx
mov ecx, edi
call fcn.004507f1
mov ecx, edi
call fcn.00430b00
mov eax, dword [edi + 0x130]
lea ecx, [edi + 0x130]
push edi
push 0x8c
call dword [eax + 0x164]
push 5
lea ecx, [edi + 0x130]
call fcn.0045091b
mov eax, dword [edi + 0x5c38]
lea ecx, [edi + 0x3d8]
mov dword [edi + 0x5bb0], eax
xor eax, eax
cmp dword [0x65fb14], 1
push edi
sete al
mov dword [edi + 0x5bb4], eax
mov eax, dword [edi + 0x3d8]
push 0x126
call dword [eax + 0x164]
push 5
lea ecx, [edi + 0x3d8]
call fcn.0045091b
push 0
lea ecx, [edi + 0x5bb8]
call fcn.0045091b
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
push dword [edi + 0x20]
movups xmmword [esp + 0x40], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
mov ecx, edi
sub eax, dword [esp + 0x38]
push 0
push 0
mov dword [edi + 0x11c], eax
call fcn.00431310
mov ecx, edi
call fcn.00431080
mov esi, dword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
push 0
push 0x61b7bc
push dword [edi + 0x20]
call esi
push 0
push 0x61b7cc
push dword [edi + 0x20]
mov dword [edi + 0xd8], eax
call esi
push 0
push 0x61b7ac
push dword [edi + 0x20]
mov dword [edi + 0xdc], eax
call esi
mov ecx, edi
mov dword [edi + 0xe0], eax
call fcn.004315a0
cmp byte [0x669979], 0
je 0x430910
mov ecx, edi
call fcn.004507f1
push 0
push 0
push 0
push 0x11
call ebx
push 0
push 2
push 0
push 0x11
call ebx
mov ecx, edi
call fcn.004507f1
cmp byte [0x669979], 0
je 0x430910
push 0
push 0xc8
push 0x7d5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
xorps xmm0, xmm0
push 8
movlpd qword [esp + 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x430a3d
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x38
push eax
push 0x38
lea eax, [esp + 0x50]
push eax
push 0xa
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, eax
test esi, esi
je 0x430973
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43098a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
test esi, esi
je 0x430a3d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.Secur32.dll_LsaGetLogonSessionData]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x430a20
test ecx, ecx
je 0x430a3d
mov edx, dword [ecx + 0x30]
mov eax, edx
mov esi, dword [ecx + 0x34]
or eax, esi
je 0x430a20
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], esi
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push eax
push eax
mov dword [esp + 0x20], edx
call esi
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [esp + 0x24]
push eax
push eax
call esi
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x1c]
push 0
push 0x989680
push eax
push ecx
call fcn.00590710
mov ecx, dword [esp + 0x14]
mov esi, eax
mov ebx, edx
jmp 0x430a28
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x430a33
push ecx
call dword [sym.imp.Secur32.dll_LsaFreeReturnBuffer]
test ebx, ebx
jg 0x430a60
jl 0x430a3d
test esi, esi
jne 0x430a55
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0x3e8
push edx
push eax
call fcn.00590710
mov esi, eax
mov ebx, edx
test ebx, ebx
jl 0x430a69
jg 0x430a60
cmp esi, 0x78
jb 0x430a69
mov byte [edi + 0x10c], 1
jmp 0x430a8e
imul eax, esi, 0x3e8
mov ecx, 0x1d4c0
push 0
mov byte [edi + 0x10c], 0
sub ecx, eax
push ecx
push 0x7d6
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00431900
test al, al
je 0x430ad6
push 0
lea eax, [edi + 0xe4]
mov dword [eax + 4], 0x4318b0
push 0
push eax
push 0x409b00
push 0
push 0
mov dword [eax + 8], edi
mov dword [eax + 0x14], reloc.OLEAUT32.dll_SysReAllocString
mov dword [eax + 0x18], str.SYSTEMCurrentControlSetControlGraphicsDrivers
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x430ad6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00424d20
mov ecx, dword [esp + 0x84]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret