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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb1c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.0051fd59
test eax, eax
je 0x518836
push 5
push dword [esi]
call sub.USER32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x517216
push 0
push dword [esi + 0x924]
push 0x30
push ebx
call sub.USER32.dll_SendMessageA
push 2
push ebx
call sub.USER32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x5171f8
push dword [esi]
call sub.USER32.dll_GetDC
mov edi, eax
test edi, edi
je 0x518836
push dword [esi + 0x924]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x7c], eax
fild dword [esi + 0x998]
fstp xword [ebp - 0x24]
wait
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x80000000
mov word [ebp - 0x28], 0x3fff
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x80000000
mov word [ebp - 0x34], 0x3fff
lea ecx, [ebp - 0x484]
push ecx
push dword [esi]
call sub.USER32.dll_GetClientRect
mov eax, dword [ebp - 0x484]
sub dword [ebp - 0x47c], eax
mov edx, dword [ebp - 0x480]
sub dword [ebp - 0x478], edx
fild dword [ebp - 0x47c]
fstp xword [ebp - 0x78]
wait
push dword [esi]
call sub.USER32.dll_IsIconic
test eax, eax
je 0x5172fa
mov dword [ebp - 0x4b0], 0x2c
lea ecx, [ebp - 0x4b0]
push ecx
push dword [esi]
call sub.USER32.dll_GetWindowPlacement
mov eax, dword [ebp - 0x48c]
sub eax, dword [ebp - 0x494]
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fstp xword [ebp - 0x78]
wait
push 0x20
call fcn.00521f77
mov ebx, eax
push 0x20
call fcn.00521f77
add ebx, eax
mov dword [ebp - 0x4e0], ebx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x78]
wait
push dword [esi]
call fcn.0050366f
push eax
call fcn.0051698e
push dword [esi]
call fcn.0048ba7c
push eax
call fcn.00516a61
push edi
push esi
call fcn.00516f3c
mov dword [ebp - 0x47c], eax
fild dword [esi + 0x998]
fstp xword [ebp - 0xc]
wait
mov eax, dword [esi + 0x99c]
sar eax, 1
jns 0x517338
adc eax, 0
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fstp xword [ebp - 0x18]
wait
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov word [ebp - 0x4c], dx
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov word [ebp - 0x64], cx
push 0x65
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x47c]
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fsubp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
mov edx, dword [esi + 0x99c]
sar edx, 1
jns 0x517418
adc edx, 0
mov dword [ebp - 0x4e0], edx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x66
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
mov dx, word [ebp - 0x10]
mov word [ebp - 0x40], dx
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x68
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x5175b5
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x6c
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x5176b5
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x6a
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x5177b5
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
push 0x67
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x69
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x6d
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x6b
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fild dword [esi + 0x998]
fstp xword [ebp - 0xc]
wait
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
mov edx, dword [esi + 0x99c]
sar edx, 1
jns 0x517af7
adc edx, 0
mov dword [ebp - 0x4e0], edx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x6e
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x78]
fsubrp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fild dword [esi + 0x998]
fstp xword [ebp - 0xc]
wait
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
mov edx, dword [esi + 0x99c]
sar edx, 1
jns 0x517bc6
adc edx, 0
mov dword [ebp - 0x4e0], edx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x6f
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
mov dx, word [ebp - 0x10]
mov word [ebp - 0x40], dx
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x71
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x517d63
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x73
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x517e63
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
push 0x75
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x517f63
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
push 0x70
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x47c]
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fsubp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x72
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x47c]
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fsubp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x74
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x47c]
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fsubp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x48]
wait
push 0x76
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x47c]
fld xword [ebp - 0xc]
fmul dword [0x518840]
fld xword [ebp - 0x54]
faddp st(1)
fsubp st(1)
fstp xword [ebp - 0x60]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
faddp st(1)
fmul dword [0x518840]
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x60]
call fcn.005569e8
push eax
fld xword [ebp - 0x48]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
fld xword [ebp - 0x6c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
mov eax, dword [esi + 0x99c]
mov edx, eax
sar edx, 1
jns 0x5182af
adc edx, 0
mov dword [ebp - 0x4e0], edx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
fld xword [ebp - 0x3c]
fld xword [ebp - 0x18]
faddp st(1)
fstp xword [ebp - 0x18]
wait
test eax, eax
jns 0x5182d7
add eax, 3
sar eax, 2
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fstp xword [ebp - 0x30]
wait
push 0x79
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
lea ecx, [ebp - 0x464]
push ecx
push 0x15bd
call fcn.0042c771
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x518844]
faddp st(1)
fstp xword [ebp - 0x54]
wait
lea ecx, [ebp - 0x464]
push ecx
push 0x15be
call fcn.0042c771
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x518844]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x5183cb
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
fmul dword [0x518848]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
mov ecx, dword [esi + 0x998]
add ecx, ecx
mov dword [ebp - 0x4e0], ecx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x54]
faddp st(1)
fild dword [ebp - 0x47c]
fsubrp st(1)
fstp xword [ebp - 0xc]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 5
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
push 0x77
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
lea ecx, [ebp - 0x464]
push ecx
push 0x15bb
call fcn.0042c771
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x518844]
faddp st(1)
fstp xword [ebp - 0x54]
wait
lea ecx, [ebp - 0x464]
push ecx
push 0x15bf
call fcn.0042c771
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x518844]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x51852a
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov dx, word [ebp - 0x58]
mov word [ebp - 0x4c], dx
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
fmul dword [0x518848]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
fild dword [esi + 0x998]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0xc]
fsubrp st(1)
fstp xword [ebp - 0xc]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
push 0x78
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x518698
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x474]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x464]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ef215
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x518844]
faddp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
fmul dword [0x518848]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
fild dword [esi + 0x998]
fld xword [ebp - 0x54]
faddp st(1)
fld xword [ebp - 0xc]
fsubrp st(1)
fstp xword [ebp - 0xc]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.005569e8
push eax
fld xword [ebp - 0x54]
call fcn.005569e8
push eax
fld xword [ebp - 0x18]
call fcn.005569e8
push eax
fld xword [ebp - 0xc]
call fcn.005569e8
push eax
push ebx
call sub.USER32.dll_MoveWindow
push 0
push ebx
call sub.USER32.dll_ShowWindow
push 1
push 0
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
push dword [esi]
call fcn.0050366f
push eax
call fcn.0051698e
push dword [esi]
call fcn.0048ba7c
push eax
call fcn.00516a61
push dword [ebp - 0x7c]
push edi
call sub.GDI32.dll_SelectObject
push edi
push dword [esi]
call sub.USER32.dll_ReleaseDC
cmp dword [ebp + 0xc], 0
je 0x51882e
push dword [esi]
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x518778
mov dword [ebp - 0x4dc], 0x2c
lea edx, [ebp - 0x4dc]
push edx
push dword [esi]
call sub.USER32.dll_GetWindowPlacement
push 0x20
call fcn.00521f77
add eax, eax
add eax, dword [ebp - 0x47c]
add eax, 0xfffffffd
mov dword [ebp - 0x46c], eax
push 0x21
call fcn.00521f77
mov ebx, eax
add ebx, ebx
push 4
call fcn.00521f77
add ebx, eax
mov dword [ebp - 0x4e0], ebx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fld xword [ebp - 0x6c]
faddp st(1)
mov eax, dword [esi + 0x99c]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x4e4], eax
fild dword [ebp - 0x4e4]
faddp st(1)
call fcn.005569e8
mov ebx, eax
mov dword [ebp - 0x468], ebx
mov eax, dword [ebp - 0x4c0]
add eax, dword [ebp - 0x46c]
mov dword [ebp - 0x4b8], eax
mov edx, dword [ebp - 0x4bc]
add edx, ebx
mov dword [ebp - 0x4b4], edx
lea ecx, [ebp - 0x4dc]
push ecx
push dword [esi]
call sub.USER32.dll_SetWindowPlacement
jmp 0x51882e
lea eax, [ebp - 0x474]
push eax
push dword [esi]
call sub.USER32.dll_GetWindowRect
push dword [esi]
call fcn.0051fe9d
test eax, eax
je 0x5187a7
push 2
lea edx, [ebp - 0x474]
push edx
push dword [0x56f01c]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x20
call fcn.00521f77
add eax, eax
add eax, dword [ebp - 0x47c]
add eax, 0xfffffffd
mov dword [ebp - 0x46c], eax
push 0x21
call fcn.00521f77
mov ebx, eax
add ebx, ebx
push 4
call fcn.00521f77
add ebx, eax
mov dword [ebp - 0x4e0], ebx
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x18]
faddp st(1)
fld xword [ebp - 0x6c]
faddp st(1)
mov eax, dword [esi + 0x99c]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x4e4], eax
fild dword [ebp - 0x4e4]
faddp st(1)
call fcn.005569e8
mov ebx, eax
mov dword [ebp - 0x468], ebx
push 1
push ebx
push dword [ebp - 0x46c]
push dword [ebp - 0x470]
push dword [ebp - 0x474]
push dword [esi]
call sub.USER32.dll_MoveWindow
push 1
push esi
call fcn.0051fe59
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8