Function at 0x415430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [0x45c8bc], 0
call fcn.00426950
push 0
call fcn.004325ba
add esp, 4
push eax
call fcn.00431754
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
add esp, 4
lea esi, [ebx + 0x24]
mov dword [ebp - 0x1c], eax
call fcn.004295f0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call edi
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4154a3
push ecx
mov ecx, dword [esi]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
push 0xffffffffffffffec
push edx
call edi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x4154dd
mov eax, dword [esi]
push ecx
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
mov dword [ebp - 0x2c], esi
call edi
push 0xa
push esi
mov dword [ebx + 0x1f0], eax
call edi
sub eax, 0x14
push 0x45c99c
mov dword [ebx + 0x1f4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x1f0]
xor edi, edi
cmp esi, edi
jne 0x415524
xor edx, edx
jmp 0x41552c
call fcn.00431766
cdq
idiv esi
mov esi, dword [ebx + 0x1f4]
mov dword [0x45c8d4], edx
cmp esi, edi
jne 0x415540
xor edx, edx
jmp 0x415548
call fcn.00431766
cdq
idiv esi
push 0x45c99c
mov dword [0x45c8e0], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0x1f0]
cmp esi, edi
jne 0x415568
mov dword [ebp - 0x24], edi
jmp 0x415573
call fcn.00431766
cdq
idiv esi
mov dword [ebp - 0x24], edx
mov esi, dword [ebx + 0x1f4]
cmp esi, edi
jne 0x415582
mov dword [ebp - 0x28], edi
jmp 0x41558d
call fcn.00431766
cdq
idiv esi
mov dword [ebp - 0x28], edx
mov esi, dword [ebx + 0x1f0]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, 0x64
cmp esi, edi
je 0x4155af
call fcn.00431766
sub esi, edi
cdq
idiv esi
mov esi, edx
mov eax, dword [ebx + 0x1f0]
mov edi, dword [ebx + 0x1f4]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + esi + 0x64]
mov eax, edi
mov dword [ebp - 0x20], edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, 0x64
cmp edi, esi
je 0x4155e3
call fcn.00431766
sub edi, esi
cdq
idiv edi
mov edi, edx
mov eax, dword [ebx + 0x1f4]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 0x64]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00431766
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x28
jge 0x41568d
cmp dword [ebp - 0x20], 0x4b0
jge 0x41563a
call fcn.00431766
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
add edx, 0x4b0
mov dword [ebp - 0x20], edx
cmp edx, eax
jle 0x41563a
mov dword [ebp - 0x20], eax
cmp esi, 0x258
jge 0x415661
call fcn.00431766
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea esi, [edx + 0x258]
cmp esi, ebx
jle 0x415661
mov esi, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push 0x90
push esi
mov esi, dword [ebp - 0x1c]
push edx
mov edx, dword [esi]
push eax
push ecx
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.00420480
jmp 0x41571f
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0xc]
sub esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0x10]
add esi, 0x96
sub edi, 0x16
cmp esi, 0x4b0
jge 0x4156d9
call fcn.00431766
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
lea esi, [edx + 0x4b0]
cmp esi, eax
jle 0x4156d9
mov esi, eax
cmp edi, 0x258
jge 0x415700
call fcn.00431766
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea edi, [edx + 0x258]
cmp edi, ebx
jle 0x415700
mov edi, ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push 0x90
push edi
push esi
push 0
push 0xffffff6a
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [esi]
test ebx, ebx
je 0x415756
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x415756
push 0x44fec0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41574f
push 2
push 0
push 0
push ebx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.00420400
mov edi, dword [ebp - 0x18]
lea edx, [edi + 0x20]
lea esi, [eax + 4]
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], edx
call fcn.00420390
cmp dword [0x45aff0], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jne 0x41579d
mov dword [0x45aff0], 0
mov edx, dword [ebp - 0x18]
push edx
lea eax, [edi + 0x108]
push eax
mov ebx, 0x45afc0
call fcn.00422f20
mov ecx, dword [ebp - 0x18]
add esp, 8
movzx ebx, ax
xor eax, eax
push eax
push eax
push 0x52000000
push eax
lea eax, [edi + 0xc8]
push eax
push ecx
lea eax, [edi + 0xe8]
call fcn.00423080
push edi
mov dword [edi + 0x11c], edi
call fcn.00415820
cmp dword [edi + 0x9c], 0
lea esi, [edi + 0x9c]
je 0x4157f8
call fcn.00414c10
push edi
mov ecx, 0x41d750
mov edx, esi
call fcn.00414b10
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret