Function at 0x515490
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.0051df69
test eax, eax
je 0x516afa
push 5
push dword [esi]
call sub.USER32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x5154da
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 0x5154bc
push dword [esi]
call sub.USER32.dll_GetDC
mov edi, eax
test edi, edi
je 0x516afa
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 0x5155be
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.00520172
mov ebx, eax
push 0x20
call fcn.00520172
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.00501b23
push eax
call fcn.00514c52
push dword [esi]
call fcn.0048bf7c
push eax
call fcn.00514d25
push edi
push esi
call fcn.00515200
mov dword [ebp - 0x47c], eax
fild dword [esi + 0x998]
fstp xword [ebp - 0xc]
wait
mov eax, dword [esi + 0x99c]
sar eax, 1
jns 0x5155fc
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x5156dc
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x515879
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x515979
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x515a79
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x515dbb
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x515e8a
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x516027
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x516127
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
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 0x516227
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x51695c
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 [0x516b04]
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 [0x516b04]
fstp xword [ebp - 0x6c]
wait
push 1
fld xword [ebp - 0x6c]
call fcn.00554a2c
push eax
fld xword [ebp - 0x60]
call fcn.00554a2c
push eax
fld xword [ebp - 0x48]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
fld xword [ebp - 0x54]
faddp st(1)
call fcn.00554a2c
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 0x516573
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 0x51659b
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 0x51695c
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.0042c564
lea eax, [ebp - 0x464]
push eax
call fcn.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x516b08]
faddp st(1)
fstp xword [ebp - 0x54]
wait
lea ecx, [ebp - 0x464]
push ecx
push 0x15be
call fcn.0042c564
lea eax, [ebp - 0x464]
push eax
call fcn.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x516b08]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x51668f
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 [0x516b0c]
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0042c564
lea eax, [ebp - 0x464]
push eax
call fcn.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x516b08]
faddp st(1)
fstp xword [ebp - 0x54]
wait
lea ecx, [ebp - 0x464]
push ecx
push 0x15bf
call fcn.0042c564
lea eax, [ebp - 0x464]
push eax
call fcn.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x516b08]
faddp st(1)
fstp xword [ebp - 0x60]
wait
fld xword [ebp - 0x60]
fld xword [ebp - 0x54]
fcompp
fnstsw ax
sahf
jae 0x5167ee
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 [0x516b0c]
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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 0x51695c
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.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x464]
push edx
push edi
call fcn.004ee101
mov dword [ebp - 0x4e0], eax
fild dword [ebp - 0x4e0]
fld xword [ebp - 0x24]
fmul dword [0x516b08]
faddp st(1)
fstp xword [ebp - 0x54]
wait
fild dword [esi + 0x99c]
fld xword [ebp - 0x30]
fmul dword [0x516b0c]
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.00554a2c
push eax
fld xword [ebp - 0x54]
call fcn.00554a2c
push eax
fld xword [ebp - 0x18]
call fcn.00554a2c
push eax
fld xword [ebp - 0xc]
call fcn.00554a2c
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.00501b23
push eax
call fcn.00514c52
push dword [esi]
call fcn.0048bf7c
push eax
call fcn.00514d25
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 0x516af2
push dword [esi]
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x516a3c
mov dword [ebp - 0x4dc], 0x2c
lea edx, [ebp - 0x4dc]
push edx
push dword [esi]
call sub.USER32.dll_GetWindowPlacement
push 0x20
call fcn.00520172
add eax, eax
add eax, dword [ebp - 0x47c]
add eax, 0xfffffffd
mov dword [ebp - 0x46c], eax
push 0x21
call fcn.00520172
mov ebx, eax
add ebx, ebx
push 4
call fcn.00520172
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.00554a2c
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 0x516af2
lea eax, [ebp - 0x474]
push eax
push dword [esi]
call sub.USER32.dll_GetWindowRect
push dword [esi]
call fcn.0051e0ad
test eax, eax
je 0x516a6b
push 2
lea edx, [ebp - 0x474]
push edx
push dword [0x56ceec]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x20
call fcn.00520172
add eax, eax
add eax, dword [ebp - 0x47c]
add eax, 0xfffffffd
mov dword [ebp - 0x46c], eax
push 0x21
call fcn.00520172
mov ebx, eax
add ebx, ebx
push 4
call fcn.00520172
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.00554a2c
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.0051e069
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8