Function at 0x42b191
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 0x42b5fc
je 0x42b5d1
dec eax
je 0x42b3c3
dec eax
je 0x42b32f
sub eax, 5
je 0x42b31e
sub eax, 8
jne 0x42b73a
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.0042ade9
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 0x42b26c
mov dword [ebp - 4], esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp dword [eax + 0x10], 0
jne 0x42b262
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.0042af20
add dword [ebp - 4], 0x1c
inc esi
cmp esi, dword [ebx + 0xc]
jl 0x42b233
xor esi, esi
cmp dword [ebx + 0xc], esi
mov dword [ebp - 4], esi
jle 0x42b30c
mov eax, dword [ebx + 8]
add eax, esi
cmp dword [eax + 0x10], 0
je 0x42b2fa
mov eax, dword [eax + 0x14]
cmp eax, edi
jle 0x42b29e
mov ecx, dword [ebx + 0x18]
add ecx, edi
push ecx
push eax
push edi
mov ecx, ebx
push dword [ebp - 8]
call fcn.0042b0d8
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.0042b0d8
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 0x42b2e6
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.0042af20
inc dword [ebp - 4]
add esi, 0x1c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0xc]
jl 0x42b27a
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x42b73a
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x42b73a
push ebx
jmp 0x42b734
xor edi, edi
cmp dword [ebx + 0xc], edi
mov dword [ebx + 0x24], edi
mov dword [ebp - 4], edi
jle 0x42b363
xor esi, esi
mov eax, dword [ebx + 8]
mov eax, dword [esi + eax]
cmp eax, edi
je 0x42b34f
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 0x42b33e
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.0042b167
push 2
push dword [ebx + 4]
call esi
push eax
mov ecx, ebx
call fcn.0042b167
push 4
push dword [ebx + 4]
call esi
push eax
mov ecx, ebx
call fcn.0042b167
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebx + 4], edi
jmp 0x42b73a
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.0042ad30
xor eax, eax
cmp dword [ebx + 0xc], esi
jle 0x42b3f6
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 0x42b3e6
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 [0x45fb8c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push eax
mov dword [ebx + 0x24], eax
call fcn.00427d21
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.0041b4ce
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 [0x45fb8c]
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 0x4591b4
push edi
push 0
call esi
push 0
mov dword [ebp - 4], eax
push dword [0x45fb8c]
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 0x4591ac
push edi
push 0
call esi
push 0
mov dword [ebp - 0xc], eax
push dword [0x45fb8c]
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.0042b13a
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0042b13a
push dword [ebp - 8]
mov ecx, ebx
call fcn.0042b13a
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 0x42b73a
cmp byte [ebx + 0x28], 0
je 0x42b5e9
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 0x42b5f5
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
xor eax, eax
jmp 0x42b74c
sub eax, 0x19
je 0x42b73a
sub eax, 0xe7
je 0x42b705
sub eax, 0x11
je 0x42b643
sub eax, 0xf0
jne 0x42b73a
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.0042b83d
jmp 0x42b73a
mov eax, dword [ebp + 0x10]
dec eax
je 0x42b654
dec eax
je 0x42b5d1
dec eax
dec eax
jne 0x42b73a
xor edi, edi
cmp dword [ebx + 0x20], edi
je 0x42b6e0
cmp dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
mov esi, 0x111
jle 0x42b69e
mov dword [ebp - 8], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
cmp eax, edi
je 0x42b68f
push edi
push 3
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x42b5f5
inc dword [ebp - 4]
add dword [ebp - 8], 0x1c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0xc]
jl 0x42b66f
cmp dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
jle 0x42b6d0
mov dword [ebp - 8], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
cmp eax, edi
je 0x42b6c1
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 0x42b6a9
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 0x42b6ed
cmp ebx, edi
jmp 0x42b5eb
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 0x42b73a
cmp dword [ebp + 0x10], 0x1b
jne 0x42b71f
push 0
push 2
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x42b73a
cmp dword [ebp + 0x10], 0xd
jne 0x42b72b
push 0
push 1
jmp 0x42b70f
cmp dword [ebp + 0x10], 9
jne 0x42b73a
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