Function at 0x1023562
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 [0x10b21ec], 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, 0x4010000
mov edi, 0x80000000
je 0x10235e2
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x102390f
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x10235e2
mov eax, dword [0x10b21e0]
mov edx, dword [0x10b21e4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x10235e2
cmp edx, dword [0x10b21e4]
jne 0x10235e2
push 0x1023960
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
lea eax, [esi + 0xcbc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.0102c940
call fcn.0102ef26
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.0102981f
call fcn.0102d31f
cmp dword [0x10b21ec], 0
je 0x1023678
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x102391c
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1023678
mov eax, dword [0x10b21e0]
mov edx, dword [0x10b21e4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1023678
cmp edx, dword [0x10b21e4]
jne 0x1023678
push 0x1023980
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
mov ecx, esi
call fcn.01026489
cmp dword [0x10b21ec], 0
je 0x10236dc
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1023929
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x10236dc
mov edx, dword [0x10b21e0]
mov ecx, dword [0x10b21e4]
mov eax, edx
and eax, ebx
and ecx, edi
cmp eax, edx
jne 0x10236dc
cmp ecx, dword [0x10b21e4]
jne 0x10236dc
push 0x1023990
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
xor eax, eax
cmp dword [esi + 4], eax
je 0x102385d
cmp dword [esi + 0x3c], eax
je 0x102385d
push eax
mov ecx, esi
call fcn.01032186
mov ecx, esi
call fcn.01026b61
mov ecx, esi
call fcn.01027f1d
push 1
mov ecx, esi
call fcn.010186c5
mov ecx, esi
call fcn.01026b28
cmp dword [0x10b21ec], 0
je 0x1023772
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1023936
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x1023772
mov eax, dword [0x10b21e0]
mov edx, dword [0x10b21e4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x1023772
cmp edx, dword [0x10b21e4]
jne 0x1023772
push 0x10239a0
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
mov ecx, esi
call fcn.010239f7
cmp dword [0x10b21ec], 0
je 0x10237d5
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1023943
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x10237d5
mov eax, dword [0x10b21e0]
mov edx, dword [0x10b21e4]
mov ecx, eax
and ecx, ebx
and edx, edi
cmp ecx, eax
jne 0x10237d5
cmp edx, dword [0x10b21e4]
jne 0x10237d5
push 0x10239b0
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
push dword [esi + 0x3c]
call fcn.01025177
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.01024057
lea ecx, [esi + 0xaf8]
call fcn.01024077
push 1
push dword [esi + 4]
call fcn.01018ae7
push 1
push dword [esi + 0xb10]
call fcn.01018ae7
mov ecx, esi
mov byte [esi + 0xde9], 1
call fcn.01022aad
push 0
push 0x1388
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x10b21ec], 0
je 0x10238b8
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1023950
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
and eax, ebx
and ecx, edi
or eax, ecx
je 0x10238b8
mov edx, dword [0x10b21e0]
mov eax, edx
and eax, ebx
mov ebx, dword [0x10b21e4]
mov ecx, ebx
and ecx, edi
cmp eax, edx
jne 0x10238b8
cmp ecx, ebx
jne 0x10238b8
push 0x1023970
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
mov edi, 0x10239c0
push edi
push dword [0x10b219c]
push dword [0x10b2198]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
xor ebx, ebx
test al, al
jne 0x10554c8
cmp dword [esi + 0x3c], ebx
je 0x10238fe
push 0x1023c08
push dword [0x10b219c]
push dword [0x10b2198]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
test al, al
jne 0x1055604
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0100204d
leave
ret
test al, al
je 0x102359c
jmp 0x10235e2
test al, al
je 0x1023632
jmp 0x1023678
test al, al
je 0x1023695
jmp 0x10236dc
test al, al
je 0x102372c
jmp 0x1023772
test al, al
je 0x102378f
jmp 0x10237d5
test al, al
jne 0x10238b8
jmp 0x1023873
cmp dword [esi + 0x380], ebx
jne 0x10554dd
cmp dword [esi + 0x384], ebx
je 0x10554dd
xor eax, eax
inc eax
jmp 0x10554df
xor eax, 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.0103152d
cmp dword [esi + 0xd28], ebx
je 0x105555b
push 0x40000017
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x105555e
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 0x1055740
call fcn.0103152d
mov eax, dword [esi + 0xcd8]
sub eax, ebx
je 0x1055599
dec eax
je 0x1055595
dec eax
je 0x1055591
dec eax
jne 0x10555ea
inc eax
jmp 0x105559c
push 4
jmp 0x105559b
push 3
jmp 0x105559b
push 2
pop eax
push eax
push 0x1bf
push 0x1055750
call fcn.0103152d
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 0x1055760
call fcn.0103152d
call fcn.0106e9c9
push eax
push 0xd26
push 0x1055730
call fcn.0103152d
jmp 0x10238da
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 0x10238fe
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 0x1055702
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push 0x103164c
push eax
call dword [ecx]
test eax, eax
jl 0x1055679
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 0x1026914
push eax
call dword [ecx]
test eax, eax
jl 0x10556b2
push 0x1055770
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.010065a0
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp word [ebp - 0x20c], 0
jne 0x10556e7
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 0x10556e7
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.0106c637
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 0x1055628
jmp 0x10238fe