Function at 0x1122822
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x48], esi
push edi
jne 0x1122b04
mov eax, dword [ebx + 0x28]
cmp eax, esi
je 0x1122856
push dword [eax + 0xc8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1122870
cmp dword [ebx + 0x3c], esi
jne 0x1122860
mov eax, 0x80004003
jmp 0x1122b06
fld qword [ebp + 8]
fcomp qword [0x1003fb0]
fnstsw ax
test ah, 1
je 0x112287a
mov eax, 0x80004005
jmp 0x1122b06
cmp byte [0x12d3168], 0
jne 0x1122b04
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
mov byte [0x12d3168], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call fcn.011213c1
fld qword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x3c]
fld qword [eax + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x11228c0
cmp dword [ebp + 0x10], esi
je 0x1122afd
cmp dword [ebp + 0x10], esi
je 0x11228d5
mov eax, dword [ebx + 0x28]
push esi
push dword [eax + 0xc8]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0112163b
mov eax, dword [ebx + 0x20]
xor edi, edi
push edi
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call esi
fld qword [ebp + 8]
push ecx
push ecx
mov ecx, ebx
fstp qword [esp]
call fcn.011213e0
cmp dword [ebp + 0x14], edi
jne 0x112294f
call fcn.011213c1
cmp dword [ebx + 0x4c], eax
jg 0x1122933
cmp dword [ebx + 0x50], eax
jge 0x112294f
push 1
fldz
fstp qword [ebx + 0x58]
push edi
push dword [ebx + 4]
fldz
fstp qword [ebx + 0x60]
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], SysReAllocString
call esi
cmp dword [ebp + 0x10], edi
je 0x1122a8b
mov ecx, dword [ebx + 0x3c]
fld qword [ebp + 8]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
mov esi, dword [ebp - 4]
mov edi, eax
cmp edi, esi
je 0x1122a26
test edi, edi
je 0x1122a49
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x1122994
cmp edi, dword [eax + 0x28]
jl 0x1122994
mov eax, dword [ebp - 0xc]
jmp 0x1122a49
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jge 0x11229a2
mov eax, edi
jmp 0x1122a49
cmp edi, ecx
jl 0x11229c0
test ecx, ecx
jle 0x1122a49
sub ecx, dword [ebx + 0x20]
cmp ecx, eax
jge 0x1122a49
mov eax, ecx
jmp 0x1122a49
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 0x14]
add edx, eax
cmp esi, edx
jl 0x1122a1f
mov edx, dword [ebp - 0xc]
add edx, eax
cmp esi, edx
jg 0x1122a1f
cmp edi, esi
jle 0x1122a05
test ecx, ecx
je 0x11229ea
mov edx, ecx
sub edx, eax
cmp edx, dword [ebp - 0xc]
jle 0x1122a8b
sub ecx, esi
push ecx
mov ecx, edi
sub eax, esi
add eax, dword [ebp - 0xc]
sub ecx, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub esi, dword [ebx + 0x20]
add eax, esi
jmp 0x1122a49
push esi
mov ecx, esi
sub ecx, edi
push ecx
mov ecx, esi
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub esi, dword [ebx + 0x20]
sub esi, eax
mov eax, esi
jmp 0x1122a49
push ecx
push edi
push dword [ebp - 0xc]
jmp 0x1122a43
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, eax
cmp esi, ecx
mov ecx, dword [ebp - 0xc]
jl 0x1122a3b
add eax, ecx
cmp esi, eax
jle 0x1122a8b
mov eax, dword [ebx + 0x28]
push dword [eax + 0x58]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub edi, eax
mov esi, edi
cmp esi, dword [ebx + 0x20]
je 0x1122a8b
test esi, esi
jl 0x1122a8b
mov eax, dword [ebx + 0x28]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx + 0x28]
push 1
push dword [eax + 0x24]
lea ecx, [eax + 0x20]
push esi
call fcn.010a1677
mov ecx, dword [ebx + 0x28]
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ecx + 0x50]
push eax
mov eax, dword [ebx + 0x20]
sub eax, esi
push eax
call fcn.010a19e0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0112163b
mov eax, dword [ebx + 0x20]
push 0
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x28]
call fcn.010a0cd5
mov eax, dword [ebx + 0x28]
push 5
push dword [eax + 0xc8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x28]
push dword [eax + 4]
call esi
mov eax, dword [ebx + 0x28]
push dword [eax + 0xc8]
call esi
mov byte [0x12d3168], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10