Function at 0x415500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x65f018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00451de2
push 1
mov ecx, esi
call fcn.004523bc
mov eax, dword [0x65fb10]
xorps xmm0, xmm0
mov dword [esi + 0x138], eax
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x20]
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
imul ecx, eax, 0x59
mov dword [esp + 0x18], eax
mov eax, 0xad602b59
imul ecx
mov eax, dword [esp + 0x28]
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
mov ecx, esi
lea eax, [esp + 0x24]
push eax
call fcn.00454148
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, edx
mov ecx, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.00450603
mov ebx, dword [sym.imp.USER32.dll_MonitorFromPoint]
push 0
push 0xa
push 0xa
call ebx
mov edi, dword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
push 0
push eax
mov dword [esp + 0x30], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [esp + 0x20]
push 0xa
call esi
mov ecx, eax
mov eax, dword [esp + 0x24]
push 0
push 0xa
add eax, ecx
push 0xa
mov dword [esp + 0x18], eax
call ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
call edi
push 0x60
push dword [esp + 0x20]
push 0xa
call esi
mov ebx, dword [esp + 0xc]
sub esp, 8
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
sub esi, eax
push dword [esp + 0x1c]
lea eax, [ebx + 2]
mov dword [edi + 0x118], eax
lea ecx, [edi + 0x100]
lea eax, [esi - 2]
sub esi, ebx
push esi
push dword [esp + 0x38]
mov dword [edi + 0x120], eax
push ebx
call fcn.00413fa0
imul ecx, dword [esp + 0x18], 0x9e
mov eax, 0xad602b59
sub esp, 8
imul ecx
add edx, ecx
lea ecx, [edi + 0x108]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push dword [esp + 0x38]
push ebx
call fcn.00413fa0
mov eax, dword [edi + 0x140]
lea ecx, [edi + 0x140]
push edi
call dword [eax + 0x16c]
mov eax, dword [edi + 0x278]
lea ecx, [edi + 0x278]
push edi
call dword [eax + 0x16c]
mov eax, dword [edi + 0x388]
lea ecx, [edi + 0x388]
push edi
call dword [eax + 0x16c]
mov eax, dword [edi + 0x5b8]
lea ecx, [edi + 0x5b8]
push edi
call dword [eax + 0x16c]
mov eax, dword [edi + 0x700]
lea ecx, [edi + 0x700]
push edi
call dword [eax + 0x16c]
cmp dword [edi + 0x138], 1
push edi
jne 0x415729
mov eax, dword [edi + 0x930]
lea ecx, [edi + 0x930]
call dword [eax + 0x16c]
mov eax, dword [edi + 0xa48]
lea ecx, [edi + 0xa48]
push edi
call dword [eax + 0x16c]
lea ecx, [edi + 0xb78]
jmp 0x415767
mov eax, dword [edi + 0x1058]
lea ecx, [edi + 0x1058]
call dword [eax + 0x16c]
mov eax, dword [edi + 0xc90]
lea ecx, [edi + 0xc90]
push edi
call dword [eax + 0x16c]
mov eax, dword [edi + 0xdd0]
lea ecx, [edi + 0xdd0]
push edi
call dword [eax + 0x16c]
lea ecx, [edi + 0xef8]
mov eax, dword [ecx]
push edi
call dword [eax + 0x16c]
push 0
push 0
push 0x65fb04
push 0x40ad90
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x415795
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x66997a], 0
je 0x4157b9
push 0
push 0x3a98
push 0x7d5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x130], eax
mov ecx, dword [esp + 0x34]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret