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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, 0x10
push edi
mov ebx, ecx
ja 0x427af4
je 0x427ac9
dec eax
je 0x4278bb
dec eax
je 0x427827
sub eax, 5
je 0x427816
sub eax, 8
jne 0x427c32
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
sub dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], eax
push 0xfffffffffffffff3
lea eax, [ebp - 0x1c]
push 0xfffffffffffffff3
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebx + 0x18]
mov ecx, ebx
add dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call fcn.004272e1
mov eax, dword [ebx + 0x18]
push 0xd
pop edi
xor esi, esi
add eax, edi
cmp dword [ebx + 0xc], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
jle 0x427764
mov dword [ebp - 4], esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp dword [eax + 0x10], 0
jne 0x42775a
mov ecx, dword [eax + 0x14]
push 0
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0x18]
add edx, ecx
mov ecx, ebx
mov dword [ebp - 0x14], edx
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call fcn.00427418
add dword [ebp - 4], 0x1c
inc esi
cmp esi, dword [ebx + 0xc]
jl 0x42772b
xor esi, esi
cmp dword [ebx + 0xc], esi
mov dword [ebp - 4], esi
jle 0x427804
mov eax, dword [ebx + 8]
add eax, esi
cmp dword [eax + 0x10], 0
je 0x4277f2
mov eax, dword [eax + 0x14]
cmp eax, edi
jle 0x427796
mov ecx, dword [ebx + 0x18]
add ecx, edi
push ecx
push eax
push edi
mov ecx, ebx
push dword [ebp - 8]
call fcn.004275d0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
add ecx, edi
add eax, esi
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff3
push ecx
mov ecx, dword [eax + 0x18]
add ecx, dword [eax + 0x14]
push ecx
mov ecx, ebx
push dword [ebp - 8]
call fcn.004275d0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], 0xb
add eax, esi
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0x18]
cmp ecx, edi
lea edx, [edx + ecx + 2]
mov dword [ebp - 0x14], edx
jle 0x4277de
dec ecx
dec ecx
mov dword [ebp - 0x1c], ecx
push dword [ebp - 4]
mov ecx, ebx
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call fcn.00427418
inc dword [ebp - 4]
add esi, 0x1c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0xc]
jl 0x427772
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x427c32
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x427c32
push ebx
jmp 0x427c2c
xor edi, edi
cmp dword [ebx + 0xc], edi
mov dword [ebx + 0x24], edi
mov dword [ebp - 4], edi
jle 0x42785b
xor esi, esi
mov eax, dword [ebx + 8]
mov eax, dword [esi + eax]
cmp eax, edi
je 0x427847
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 8]
inc dword [ebp - 4]
mov dword [esi + eax], edi
mov eax, dword [ebp - 4]
add esi, 0x1c
cmp eax, dword [ebx + 0xc]
jl 0x427836
push dword [ebx + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebx + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 2
push dword [ebp + 8]
call dword [ebx + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [ebx + 4]
call esi
push eax
mov ecx, ebx
call fcn.0042765f
push 2
push dword [ebx + 4]
call esi
push eax
mov ecx, ebx
call fcn.0042765f
push 4
push dword [ebx + 4]
call esi
push eax
mov ecx, ebx
call fcn.0042765f
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebx + 4], edi
jmp 0x427c32
mov edi, dword [ebp + 8]
xor esi, esi
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xd
mov ecx, ebx
mov dword [ebx + 4], edi
call fcn.00427228
xor eax, eax
cmp dword [ebx + 0xc], esi
jle 0x4278ee
xor ecx, ecx
mov edx, dword [ebx + 8]
inc eax
mov dword [ecx + edx + 0x10], esi
add ecx, 0x1c
cmp eax, dword [ebx + 0xc]
jl 0x4278de
mov eax, dword [ebx + 8]
push 1
pop esi
mov dword [eax + 0x10], esi
mov eax, dword [ebx + 8]
push dword [ebx + 0x14]
push dword [eax + 0xc]
movzx eax, word [eax + 8]
push edi
push eax
push dword [0x446760]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push eax
mov dword [ebx + 0x24], eax
call fcn.00417436
pop ecx
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
neg eax
push eax
mov eax, dword [ebp - 0x1c]
neg eax
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0x18]
push esi
push dword [ebp - 0x10]
add eax, 0x11
push dword [ebp - 0x14]
push eax
push 0x11
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x14], 0x22
lea eax, [ecx + eax + 0x3c]
push 8
mov dword [ebp - 0x10], eax
call edi
mov esi, eax
push 1
shl esi, 1
sub esi, dword [ebp - 0x18]
push 4
call edi
add eax, esi
add eax, dword [ebp - 0x10]
push eax
push 7
call edi
shl eax, 1
sub eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
add eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push esi
call fcn.00417437
mov eax, dword [ebx + 8]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x24]
mov dword [eax], ecx
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [0x446760]
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe2
mov edi, str.BUTTON
push 1
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x16
push 0x46
push eax
push 0xd
push 0x50010001
push 0x440ed0
push edi
push 0
call esi
push 0
mov dword [ebp - 4], eax
push dword [0x446760]
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe2
push 2
push dword [ebp + 8]
push 0x16
push 0x46
push eax
push 0x5d
push 0x50010000
push 0x440ec8
push edi
push 0
call esi
push 0
mov dword [ebp - 0xc], eax
push dword [0x446760]
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe2
push 4
push dword [ebp + 8]
push 0x16
push 0x46
push eax
push 0xad
push 0x50010000
push str.Apply
push edi
push 0
call esi
push dword [ebp - 4]
mov ecx, ebx
mov dword [ebp - 8], eax
call fcn.00427632
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.00427632
push dword [ebp - 8]
mov ecx, ebx
call fcn.00427632
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push 0
push 0xc
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x30
push dword [ebp - 4]
call edi
push 0
push 0xc
call esi
push eax
push 0x30
push dword [ebp - 0xc]
call edi
push 0
push 0xc
call esi
push eax
push 0x30
push dword [ebp - 8]
call edi
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 8]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x427c32
cmp byte [ebx + 0x28], 0
je 0x427ae1
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x427aed
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
xor eax, eax
jmp 0x427c44
sub eax, 0x19
je 0x427c32
sub eax, 0xe7
je 0x427bfd
sub eax, 0x11
je 0x427b3b
sub eax, 0xf0
jne 0x427c32
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
shr eax, 0x10
movsx eax, ax
push eax
mov ecx, ebx
movsx eax, word [ebp + 0x14]
push eax
push 0
push dword [ebp + 8]
call fcn.00427d35
jmp 0x427c32
mov eax, dword [ebp + 0x10]
dec eax
je 0x427b4c
dec eax
je 0x427ac9
dec eax
dec eax
jne 0x427c32
xor edi, edi
cmp dword [ebx + 0x20], edi
je 0x427bd8
cmp dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
mov esi, 0x111
jle 0x427b96
mov dword [ebp - 8], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
cmp eax, edi
je 0x427b87
push edi
push 3
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x427aed
inc dword [ebp - 4]
add dword [ebp - 8], 0x1c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0xc]
jl 0x427b67
cmp dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
jle 0x427bc8
mov dword [ebp - 8], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
cmp eax, edi
je 0x427bb9
push edi
push 4
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 4]
add dword [ebp - 8], 0x1c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0xc]
jl 0x427ba1
push dword [ebx + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [ebx + 0x10]
cmp dword [ebp + 0x10], 1
jne 0x427be5
cmp ebx, edi
jmp 0x427ae3
push edi
push 4
push dword [ebp + 8]
mov dword [ebx + 0x20], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x427c32
cmp dword [ebp + 0x10], 0x1b
jne 0x427c17
push 0
push 2
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x427c32
cmp dword [ebp + 0x10], 0xd
jne 0x427c23
push 0
push 1
jmp 0x427c07
cmp dword [ebp + 0x10], 9
jne 0x427c32
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
leave
ret 0x10