Function at 0x101e487
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x60]
push esi
mov esi, dword [ebx + 8]
mov dword [ebp - 4], esi
test al, 1
jne 0x101e4a8
xor eax, eax
jmp 0x101e7de
test al, 4
jne 0x101e4a1
xor eax, eax
cmp dword [ebx + 0x64], eax
jne 0x101e7de
test byte [esi + 0x64], 1
je 0x101e4c7
mov eax, 0x54f
jmp 0x101e7de
mov edx, dword [ebx + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x50]
cmp edx, ecx
jb 0x101e4e7
sub edx, ecx
mov dword [ebp - 8], edx
mov dword [ebp + 8], ecx
jmp 0x101e4ee
and dword [ebp - 8], 0
mov dword [ebp + 8], edx
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x101e502
mov edx, dword [edi]
mov edx, dword [edx]
cmp eax, dword [edx + 0x54]
jb 0x101e7db
test byte [ebx + 0x24], 8
je 0x101e521
test ecx, ecx
jne 0x101e521
test byte [esi + 0x34], 2
jne 0x101e521
push 8
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x34], 2
test byte [ebx + 0x24], 0x20
je 0x101e540
push 0x13
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi + 0x1c]
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0xc]
mov eax, 0x80000000
cmp ecx, 3
jne 0x101e5ba
mov edx, dword [ebp - 4]
lea ecx, [ebx + 0x28]
mov esi, ecx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x18
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x28]
cmp esi, eax
je 0x101e572
add dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x24]
cmp esi, eax
je 0x101e57c
add dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x1c]
cmp esi, eax
je 0x101e58c
add dword [ebp - 0xc], esi
jns 0x101e58c
and dword [ebp - 0xc], 0
mov esi, dword [ebp - 0x20]
cmp esi, eax
je 0x101e59c
add dword [ebp - 0x10], esi
jns 0x101e59c
and dword [ebp - 0x10], 0
mov dword [ebx + 0xc], 1
mov esi, edx
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x38]
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
jmp 0x101e633
cmp ecx, 2
jne 0x101e5e4
movzx ecx, byte [esi + 0x30]
mov edx, dword [ebx + 0x28]
add ecx, edx
jns 0x101e5cc
xor ecx, ecx
mov edx, 0xff
cmp ecx, edx
jle 0x101e5d7
mov ecx, edx
and dword [ebx + 0xc], 0
mov dl, byte [esi + 0x30]
mov byte [ebx + 0x28], dl
mov byte [ebx + 0x29], cl
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x101e62a
movzx ecx, byte [ebx + 0x28]
movzx eax, byte [ebx + 0x29]
sub eax, ecx
imul eax, dword [ebp + 8]
cdq
idiv dword [ebx + 0x14]
push 3
add eax, ecx
push eax
push dword [esi + 0x2c]
mov dword [ebp + 0xc], eax
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test eax, eax
jne 0x101e61f
push 0x7d2
call fcn.0101cf8b
mov al, byte [ebp + 0xc]
mov byte [esi + 0x30], al
jmp 0x101e70f
cmp ecx, 1
jne 0x101e70f
cmp dword [ebx + 0x58], 0
jne 0x101e691
cmp dword [ebx + 0x34], eax
jne 0x101e644
mov ecx, dword [esi + 0x24]
mov dword [ebx + 0x34], ecx
cmp dword [ebx + 0x44], eax
jne 0x101e64f
mov ecx, dword [esi + 0x24]
mov dword [ebx + 0x44], ecx
cmp dword [ebx + 0x30], eax
jne 0x101e65a
mov ecx, dword [esi + 0x20]
mov dword [ebx + 0x30], ecx
cmp dword [ebx + 0x40], eax
jne 0x101e665
mov ecx, dword [esi + 0x20]
mov dword [ebx + 0x40], ecx
cmp dword [ebx + 0x28], eax
jne 0x101e670
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x28], ecx
cmp dword [ebx + 0x38], eax
jne 0x101e67b
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x2c], eax
jne 0x101e686
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x2c], ecx
cmp dword [ebx + 0x3c], eax
jne 0x101e691
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x44]
sub eax, ecx
imul eax, dword [ebp + 8]
mov edi, dword [ebx + 0x14]
cdq
idiv edi
mov edx, dword [ebx + 0x30]
push 0x10
mov ecx, eax
mov eax, dword [ebx + 0x40]
sub eax, edx
imul eax, dword [ebp + 8]
cdq
idiv edi
mov edx, dword [ebx + 0x28]
add ecx, dword [ebx + 0x34]
push ecx
mov dword [ebp - 0xc], ecx
add eax, dword [ebx + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x38]
sub eax, edx
imul eax, dword [ebp + 8]
cdq
idiv edi
mov edx, dword [ebx + 0x2c]
push dword [ebp - 0x10]
add eax, dword [ebx + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
sub eax, edx
imul eax, dword [ebp + 8]
cdq
idiv edi
push dword [ebp - 0x18]
add eax, dword [ebx + 0x2c]
push eax
push 0xffffffffffffffff
push dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [esi + 0x18]
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
cmp dword [ebp - 8], 0
jne 0x101e7d2
mov eax, dword [ebx + 0x60]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x101e733
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
lea eax, [edi + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [eax + 4], ebx
test byte [ebx + 0x24], 2
je 0x101e791
mov eax, dword [esi + 0x64]
test al, 1
jne 0x101e791
or eax, 1
lea ecx, [esi + 0x40]
mov dword [esi + 0x64], eax
mov eax, dword [ecx]
jmp 0x101e773
or dword [eax + 0x60], 4
mov edx, dword [edi + 4]
mov dword [eax + 0x54], edx
mov eax, dword [eax]
cmp eax, ecx
jne 0x101e767
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
lea eax, [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [eax + 4], esi
test byte [ebx + 0x24], 0x10
je 0x101e7ac
test byte [esi + 0x34], 2
je 0x101e7ac
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x34], 0xfffffffd
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x101e7db
and dword [ebx + 0x68], 0
or dword [eax + 0x60], 0x10
and dword [eax + 0x64], 0
mov ecx, dword [edi + 4]
push edi
push eax
mov dword [eax + 0x4c], ecx
call fcn.0101e487
test eax, eax
jne 0x101e7dd
jmp 0x101e7db
mov eax, dword [edi + 4]
inc dword [ebx + 0x58]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8