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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov ebx, edx
push 0xffffffffffffffeb
push eax
mov dword [ebp - 0x130], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, edi
je 0x1000b51a
cmp dword [ebx], 0x70
jne 0x1000b51a
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov dword [ebp - 0x148], eax
cmp dword [ebx + 0xc], ecx
jle 0x1000ac8a
cmp dword [eax], 0x18
jne 0x1000b51a
inc ecx
add eax, 0x18
cmp ecx, dword [ebx + 0xc]
jl 0x1000ac78
push 0x244
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x134], esi
test esi, esi
je 0x1000b51a
mov byte [esi], 1
cmp dword [ebx + 4], 0
je 0x1000acc6
push 0x3c
push dword [ebx + 4]
lea eax, [esi + 1]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
or dword [ebp - 0x54], 0xffffffff
xor eax, eax
mov dword [edi + 0x50], esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x130]
mov byte [ebp - 0x11a], al
mov byte [ebp - 0x10d], 1
cmp dword [ebx + 0x58], eax
jne 0x1000acf9
push eax
push eax
push 0x31
push esi
call edi
mov dword [ebx + 0x58], eax
xor eax, eax
cmp dword [ebx + 0x60], eax
jne 0x1000ad0a
push eax
push eax
push 0x31
push esi
call edi
mov dword [ebx + 0x60], eax
xor eax, eax
cmp dword [ebx + 0x68], eax
jne 0x1000ad1b
push eax
push eax
push 0x31
push esi
call edi
mov dword [ebx + 0x68], eax
xor eax, eax
cmp dword [ebx + 8], eax
je 0x1000aef1
push 0x440
mov byte [ebp - 0x119], 1
call fcn.100455ea
mov edi, eax
mov dword [ebp - 0x114], edi
pop ecx
test edi, edi
je 0x1000ae85
push dword [ebx + 8]
lea esi, [edi + 0x400]
push dword [ebp - 0x130]
mov dword [ebp - 0x120], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
push edi
push eax
mov dword [ebp - 0x12c], eax
mov byte [edi], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi], 0
je 0x1000ae75
push 5
push str._Tab:
push edi
call fcn.1002b959
add esp, 0xc
test eax, eax
jne 0x1000ae75
push 0x5d
push edi
call fcn.1002b1c0
pop ecx
pop ecx
test eax, eax
je 0x1000ae75
mov byte [eax], 0
lea eax, [edi + 1]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x12c]
push eax
lea eax, [edi + 5]
push eax
push dword [ebx + 0x14]
call fcn.100034d6
add esp, 0x10
cmp eax, 1
jne 0x1000ae75
cmp dword [ebx + 0xc], 1
mov al, byte [esi]
mov byte [ebp - 0x10d], al
mov al, byte [esi + 2]
mov byte [ebp - 0x119], al
jle 0x1000adf7
mov al, byte [esi + 4]
mov byte [ebp - 0x11a], al
or ecx, 0xffffffff
cmp dword [esi + 0x38], ecx
je 0x1000ae0e
add esi, 0x34
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x120]
movzx eax, byte [esi + 3]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x1000ae1f
mov dword [ebx + 0x44], eax
cmp dword [esi + 0x10], ecx
je 0x1000ae33
add esi, 0xc
lea edi, [ebx + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x120]
mov eax, dword [esi + 0x1c]
cmp eax, ecx
je 0x1000ae3d
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x20]
cmp eax, ecx
je 0x1000ae47
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x24]
cmp eax, ecx
je 0x1000ae51
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1000ae5b
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1000ae65
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x114]
test eax, eax
je 0x1000ae75
mov dword [ebx + 0x68], eax
push edi
call fcn.100455e5
cmp byte [ebp - 0x119], 0
pop ecx
je 0x1000aeef
push dword [ebx + 8]
mov edi, dword [ebp - 0x130]
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x68]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
mov dword [ebx + 0x28], eax
xor eax, eax
cmp dword [ebx + 0x40], eax
je 0x1000aefd
mov dword [ebx + 0x40], 2
push 0x60
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1002b060
mov eax, dword [ebx + 0x44]
lea esi, [ebx + 0x48]
mov dword [ebp - 0x100], eax
lea edi, [ebp - 0xfc]
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
mov dword [ebp - 0x108], ecx
add esp, 0xc
mov word [ebp - 0x10c], 0x4e00
mov word [ebp - 0x104], 0x100
mov byte [ebp - 0x102], 0x4f
movsd dword es:[edi], dword [esi]
push 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xe4], eax
lea esi, [ebp - 0x10c]
mov eax, dword [ebx + 0x58]
lea edi, [ebp - 0xdc]
mov dword [ebp - 0xec], ecx
mov word [ebp - 0xe8], cx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x64]
pop ecx
mov byte [ebp - 0xf0], 0x4e
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x60]
or dword [0x1008938c], 0xffffffff
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x1000afeb
push 0x18
pop ecx
lea esi, [ebp - 0x10c]
mov edi, 0x10089378
rep movsd dword es:[edi], dword [esi]
mov word [0x10089381], 0x5201
lea esi, [ebp - 0x58]
mov dword [0x10089384], eax
mov edi, 0x10089388
push 0xc
pop ecx
mov byte [ebp - 0x102], 0x4e
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0xd2], 0x4e
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x6c]
mov esi, 0x10089378
mov edi, 0x100893a8
mov dword [0x100893a0], eax
rep movsd dword es:[edi], dword [esi]
push 0x18
pop ecx
lea esi, [ebp - 0x10c]
mov edi, 0x100893d8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x130]
push esi
call dword [sym.imp.USER32.dll_GetDC]
and dword [ebp - 0x124], 0
and dword [ebp - 0x138], 0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebx + 0x20]
push esi
mov dword [ebp - 0x14c], eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
xor edx, edx
mov dword [ebp - 0x114], edx
cmp dword [ebx + 0xc], edx
jle 0x1000b1db
mov ecx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x148]
add ecx, 0x8c
mov al, byte [ebp - 0x10d]
add edi, 4
mov dword [ebp - 0x128], ecx
and dword [ecx], 0
test al, al
je 0x1000b1bf
mov eax, dword [edi]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x1000b1b9
cmp byte [eax], 0
je 0x1000b1b9
movaps xmm0, xmmword [0x10083450]
lea ecx, [ebp - 0xac]
push 0x400
push ecx
push eax
movups xmmword [ebp - 0xac], xmm0
call fcn.10038080
pop ecx
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0xa0]
add eax, 0x14
mov ecx, dword [ebp - 0xa4]
add edx, 5
push 0
push dword [ebx + 0x14]
add ecx, 0xf
mov dword [ebp - 0x13c], edx
push eax
push esi
push edx
push ecx
push dword [ebp - 0x14c]
mov dword [ebp - 0x144], ecx
push dword [ebp - 0x120]
push 0x54010340
push dword [ebp - 0x118]
push str.K7CustomBtnV1
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, eax
mov dword [ebp - 0x118], ecx
test ecx, ecx
je 0x1000b161
cmp dword [0x1008938c], 0xffffffff
je 0x1000b13c
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebx + 0x10]
jne 0x1000b13c
push 0
push 0x10089378
jmp 0x1000b145
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x521
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x118]
mov dword [ecx], eax
jmp 0x1000b167
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x120]
mov eax, edx
sub eax, dword [ebx + 0x1c]
dec edx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x144]
add edx, eax
cmp eax, dword [ebp - 0x138]
mov dword [ecx + 8], eax
cmovle eax, dword [ebp - 0x138]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], edx
cmovle eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x124], eax
mov al, byte [ebp - 0x10d]
inc edx
add ecx, 0x1c
add edi, 0x18
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x128], ecx
cmp edx, dword [ebx + 0xc]
jl 0x1000b067
push dword [ebp - 0x12c]
mov edi, dword [ebp - 0x134]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
and dword [ebp - 0x120], ecx
xor edx, edx
mov dword [ebp - 0x138], eax
mov eax, dword [ebx + 0x20]
add eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x144], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], edx
test eax, eax
jle 0x1000b439
mov edx, dword [ebp - 0x148]
lea ecx, [edi + 0x84]
mov esi, dword [ebp - 0x13c]
add edx, 0x10
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x124], edx
and dword [ecx], 0
cmp dword [edx - 4], 0
jne 0x1000b27c
cmp dword [ebx], 0x70
jne 0x1000b29e
push dword [edx]
push edi
push dword [ebp - 0x120]
call dword [ebx + 0x54]
jmp 0x1000b290
push dword [edx]
movzx eax, word [edx - 8]
push dword [edx - 4]
push edi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 0x124]
mov esi, eax
mov ecx, dword [ebp - 0x118]
test esi, esi
je 0x1000b400
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ecx], esi
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 8
lea eax, [ebp - 0x4c]
push str.K7WndClass
push eax
call fcn.1002b959
mov ecx, dword [ebp - 0x118]
add esp, 0xc
neg eax
sbb al, al
push 0xffffffffffffffeb
inc al
push esi
mov byte [ecx + 4], al
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x1000b2fd
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x1000b2fd
push 0x2094
push eax
push ecx
jmp 0x1000b306
push 0x2095
push 0
push 0
push dword [ebp - 0x12c]
push dword [ebp - 0x138]
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x6c], eax
cmovg eax, dword [ebp - 0x6c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x70], eax
cmovg eax, dword [ebp - 0x70]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x1000b375
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x48]
push 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 0x506
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x1000b3f4
mov eax, dword [ebx + 0x44]
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x94], ecx
cmp dword [edx + 8], eax
je 0x1000b3ae
add ecx, dword [edx + 0xc]
lea eax, [ecx - 1]
mov dword [ebp - 0x80], eax
mov eax, dword [edx + 0x10]
sub eax, dword [ebx + 0x40]
add eax, 0xfffffffe
add eax, ecx
jmp 0x1000b3b1
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x90], eax
movzx eax, byte [ebp - 0x11a]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x84], 0xff0000
push eax
push 0x501
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
inc dword [ebp - 0x120]
add edx, 0x18
mov eax, dword [ebx + 0xc]
add ecx, 0x1c
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x120], eax
jl 0x1000b260
mov edi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x114]
cmp dword [ebx + 0x2c], 0
jne 0x1000b482
and dword [ebp - 0x13c], 0
test eax, eax
jle 0x1000b482
lea esi, [edi + 0x84]
mov edi, dword [ebp - 0x13c]
push 6
push ecx
push edx
xor eax, eax
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x128]
lea esi, [esi + 0x1c]
mov edx, dword [ebp - 0x114]
inc edi
cmp edi, dword [ebx + 0xc]
jl 0x1000b456
mov edi, dword [ebp - 0x134]
imul eax, dword [ebx + 0x10], 0x1c
push 5
mov esi, dword [eax + edi + 0x84]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x70], esi
lea esi, [ebx + 0x48]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x128]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x114]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x80], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x60], eax
add edi, 0x64
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x44], ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
imul ecx, dword [ebx + 0x10], 0x1c
push 0
push 0
push 0x401
push dword [ecx + esi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
inc eax
jmp 0x1000b51c
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
leave
ret