Function at 0x1027401
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10b24cc], 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, 0x4010000
mov edi, 0x80000000
je 0x1027481
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x10279e9
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1027481
mov eax, dword [0x10b24c0]
mov edx, dword [0x10b24c4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1027481
cmp edx, dword [0x10b24c4]
jne 0x1027481
push 0x1027a50
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
lea eax, [esi + 0xcbc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.0102fc83
call fcn.01029c76
mov dword [esi + 0xdf0], eax
lea eax, [esi + 0xdfc]
push eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoRegisterMessageFilter]
mov ecx, esi
call fcn.0102a035
call fcn.0102d1bf
cmp dword [0x10b24cc], 0
je 0x1027517
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x10279f6
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1027517
mov eax, dword [0x10b24c0]
mov edx, dword [0x10b24c4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1027517
cmp edx, dword [0x10b24c4]
jne 0x1027517
push 0x1027a70
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov ecx, esi
call fcn.0102d3fd
cmp dword [0x10b24cc], 0
je 0x102757b
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1027a03
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x102757b
mov edx, dword [0x10b24c0]
mov ecx, dword [0x10b24c4]
mov eax, edx
and eax, ebx
and ecx, edi
cmp eax, edx
jne 0x102757b
cmp ecx, dword [0x10b24c4]
jne 0x102757b
push 0x1027a80
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
xor eax, eax
cmp dword [esi + 4], eax
je 0x10276fc
cmp dword [esi + 0x3c], eax
je 0x10276fc
push eax
mov ecx, esi
call fcn.010342ae
mov ecx, esi
call fcn.0102a10c
mov ecx, esi
call fcn.01027bc1
push 1
mov ecx, esi
call fcn.01015ca1
mov ecx, esi
call fcn.01028247
cmp dword [0x10b24cc], 0
je 0x1027611
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1027a10
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1027611
mov eax, dword [0x10b24c0]
mov edx, dword [0x10b24c4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1027611
cmp edx, dword [0x10b24c4]
jne 0x1027611
push 0x1027a90
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov ecx, esi
call fcn.01028e49
cmp dword [0x10b24cc], 0
je 0x1027674
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1027a1d
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1027674
mov eax, dword [0x10b24c0]
mov edx, dword [0x10b24c4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1027674
cmp edx, dword [0x10b24c4]
jne 0x1027674
push 0x1027aa0
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
push dword [esi + 0x3c]
call fcn.01028665
mov eax, dword [esi + 0x40]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 3
add eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [esi + 0xb10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0xaf8]
call fcn.01028280
lea ecx, [esi + 0xaf8]
call fcn.01015ece
push 1
push dword [esi + 4]
call fcn.01017d35
push 1
push dword [esi + 0xb10]
call fcn.01017d35
mov ecx, esi
mov byte [esi + 0xde9], 1
call fcn.01025975
push 0
push 0x1388
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x10b24cc], 0
je 0x1027757
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1027a2a
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1027757
mov edx, dword [0x10b24c0]
mov eax, edx
and eax, ebx
mov ebx, dword [0x10b24c4]
mov ecx, ebx
and ecx, edi
cmp eax, edx
jne 0x1027757
cmp ecx, ebx
jne 0x1027757
push 0x1027a60
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov edi, 0x1027ab0
push edi
push dword [0x10b247c]
push dword [0x10b2478]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
xor ebx, ebx
test al, al
je 0x10278a8
cmp dword [esi + 0x380], ebx
jne 0x1027a37
cmp dword [esi + 0x384], ebx
je 0x1027a37
xor eax, eax
inc eax
mov ecx, dword [esi + 0xc64]
mov edx, dword [esi + 0xc60]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x20
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x10
or ecx, edx
mov edx, dword [esi + 0xc5c]
neg edx
sbb edx, edx
and edx, 0xfffffff8
add edx, 8
or ecx, edx
mov edx, dword [esi + 0xc58]
neg edx
sbb edx, edx
and edx, 0xfffffffc
add edx, 4
or ecx, edx
mov edx, dword [esi + 0xc54]
neg edx
sbb edx, edx
and edx, 0xfffffffe
inc edx
inc edx
or ecx, edx
or ecx, eax
push ecx
push 0x22a
push edi
call fcn.0101588e
cmp dword [esi + 0xd28], ebx
jne 0x1058618
xor eax, eax
inc eax
mov ecx, dword [esi + 0x40]
and ecx, 1
or ecx, 2
add ecx, ecx
or ecx, eax
push ecx
push 0x229
push 0x1027ad0
call fcn.0101588e
mov eax, dword [esi + 0xcd8]
sub eax, ebx
je 0x1058630
dec eax
je 0x105862c
dec eax
je 0x1058628
dec eax
jne 0x1027893
inc eax
push eax
push 0x1bf
push 0x1027ae0
call fcn.0101588e
mov ecx, dword [esi + 0xcd8]
mov eax, ecx
add ecx, 5
shl ecx, 4
mov cx, word [ecx + esi]
shl eax, 4
add eax, esi
sub cx, word [eax + 0x48]
mov dx, word [eax + 0x4c]
sub dx, word [eax + 0x44]
movzx ecx, cx
movzx eax, dx
shl ecx, 0x10
or ecx, eax
push ecx
push 0x1c1
push 0x1027af0
call fcn.0101588e
call fcn.01028c85
push eax
push 0xd26
push 0x1027ac0
call fcn.0101588e
cmp dword [esi + 0x3c], ebx
je 0x10279d8
push 0x1028c70
push dword [0x10b247c]
push dword [0x10b2478]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
test al, al
je 0x10279d8
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push ebx
push eax
mov dword [ebp - 0x214], ebx
call dword [ecx + 0x10]
test eax, eax
jl 0x10279d8
mov edi, 0x104
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x20c]
push edx
push ebx
lea edx, [ebp - 0x210]
push edx
push dword [ebp - 0x218]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x10279b4
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push 0x101da78
push eax
call dword [ecx]
test eax, eax
jl 0x1027945
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
xor ebx, ebx
push eax
inc ebx
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push 0x1027b4c
push eax
call dword [ecx]
test eax, eax
jge 0x1058638
cmp word [ebp - 0x20c], 0
jne 0x1027999
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1027999
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.01028bed
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc dword [ebp - 0x214]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push dword [ebp - 0x214]
push eax
call dword [ecx + 0x10]
test eax, eax
jge 0x10278f4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01001feb
leave
ret
test al, al
je 0x102743b
jmp 0x1027481
test al, al
je 0x10274d1
jmp 0x1027517
test al, al
je 0x1027534
jmp 0x102757b
test al, al
je 0x10275cb
jmp 0x1027611
test al, al
je 0x102762e
jmp 0x1027674
test al, al
je 0x1027712
jmp 0x1027757
xor eax, eax
jmp 0x1027794
test eax, eax
je 0x1027808
jmp 0x1027805
push 0x40000017
call dword [sym.imp.SHELL32.dll_SHRestricted]
jmp 0x1027a3e
push 4
jmp 0x1058632
push 3
jmp 0x1058632
push 2
pop eax
jmp 0x1027845
push 0x105865c
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100665f
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1027964