Function at 0x4028d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f335
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x463024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x402b16
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
cmp edi, 1
jne 0x402926
push ecx
mov dword [esi + 0x3a8], 1
call fcn.00403010
mov dword [ebx], eax
jmp 0x402a32
cmp edi, 0x110
jne 0x4029e2
push str.GPU_Tweak_III
push 0
mov dword [esi + 0x3a8], 1
mov dword [esi + 0x3ac], 1
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x402975
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x17
push ecx
push 0
push 0x4a
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
call fcn.004124cb
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [eax], esi
mov dword [eax + 4], 0x4038f0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x40cb30
push 0
push 0
call fcn.004314a6
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x402b39
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x402b2c
push ecx
push eax
call fcn.00410d45
add esp, 8
test eax, eax
jne 0x402b33
mov dword [ebp - 4], 0xffffffff
jmp 0x402a2c
cmp edi, 0x10
jne 0x402a54
push str.GPU_Tweak_III
push 0
mov dword [esi + 0x3a8], 1
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x402a20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x16
push ecx
push 0
push 0x4a
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x238]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::DestroyWindow_void_]
mov dword [ebx], 0
cmp dword [esi + 0x3a8], 0
je 0x402a86
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 5
jne 0x402a86
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
push ecx
push ecx
mov ecx, esi
mov dword [esi + 0x3a8], 1
call fcn.00403480
mov dword [ebx], 0
cmp dword [esi + 0x3a8], 0
jne 0x402afd
push 0
push ebx
push dword [ebp + 0x14]
lea ecx, [esi + 0x238]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public_virtual:_int___thiscall_SOUI::SHostWnd::ProcessWindowMessage_struct_HWND_____unsigned_int__unsigned_int__long_int__long_int___unsigned_long_int_]
test eax, eax
jne 0x402afd
cmp edi, 0x4a
jne 0x402ac8
push dword [ebp + 0x14]
mov dword [esi + 0x3a8], 1
push ecx
mov ecx, esi
call fcn.00405960
mov dword [ebx], eax
cmp dword [esi + 0x3a8], 0
jne 0x402afd
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x238]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.soui.dll_public:_long_int___thiscall_SOUI::CSimpleWnd::ReflectNotifications_unsigned_int__unsigned_int__long_int__int__]
mov dword [ebx], eax
test eax, eax
jne 0x402af7
lea eax, [edi - 0x132]
cmp eax, 6
jbe 0x402b16
cmp dword [ebp + 0x1c], 0
je 0x402b16
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 1
call fcn.00410911
push eax
call fcn.004108e4
push 6
mov dword [ebp - 0x10], 0
call fcn.00410911
int3