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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.00514157
test eax, eax
je 0x50b8b3
push 5
push dword [esi]
call sub.USER32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x50a62b
push 0
push dword [esi + 0x7a0]
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 0x50a60d
push dword [esi]
call sub.USER32.dll_GetDC
mov edi, eax
test edi, edi
je 0x50b8b3
push dword [esi + 0x7a0]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x28], eax
fild dword [esi + 0x814]
fstp dword [ebp - 0xc]
wait
mov dword [ebp - 0x10], 0x3f800000
mov dword [ebp - 0x14], 0x3f800000
lea ecx, [ebp - 0x48]
push ecx
push dword [esi]
call sub.USER32.dll_GetClientRect
mov eax, dword [ebp - 0x48]
sub dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x44]
sub dword [ebp - 0x3c], edx
push dword [esi]
call fcn.004f49c0
push eax
call fcn.00509e8e
push dword [esi]
call fcn.00478a9c
push eax
call fcn.00509f61
push edi
push esi
call fcn.0050a41c
mov dword [ebp - 0x40], eax
fild dword [esi + 0x814]
fstp dword [ebp - 4]
wait
mov ecx, dword [esi + 0x818]
sar ecx, 1
jns 0x50a6b5
adc ecx, 0
mov dword [ebp - 0x78], ecx
fild dword [ebp - 0x78]
fstp dword [ebp - 8]
wait
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0x65
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x1c]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
mov edx, dword [esi + 0x818]
sar edx, 1
jns 0x50a76d
adc edx, 0
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x66
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x1c]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 - 8]
mov dword [ebp - 0x18], edx
fld dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x68
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50a8b6
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x6c
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50a98c
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x6a
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50aa62
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x69
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x6d
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x6b
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 + 0x814]
fstp dword [ebp - 4]
wait
fld dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
mov edx, dword [esi + 0x818]
sar edx, 1
jns 0x50ad64
adc edx, 0
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x6e
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fsubp st(1)
fstp dword [ebp - 0x1c]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 + 0x814]
fstp dword [ebp - 4]
wait
fld dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
mov edx, dword [esi + 0x818]
sar edx, 1
jns 0x50ae21
adc edx, 0
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x6f
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x1c]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 - 8]
mov dword [ebp - 0x18], edx
fld dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x71
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50af6a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x73
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50b040
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
push 0x75
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50b116
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x72
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x74
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
wait
push 0x76
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
fild dword [ebp - 0x40]
fld dword [ebp - 4]
fmul dword [0x50b8bc]
fadd dword [ebp - 0x1c]
fsubp st(1)
fstp dword [ebp - 0x20]
wait
fild dword [esi + 0x818]
fadd dword [ebp - 0x10]
fmul dword [0x50b8bc]
fstp dword [ebp - 0x24]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x20]
call fcn.00542680
push eax
fld dword [ebp - 0x18]
call fcn.00542680
push eax
fld dword [ebp - 4]
fadd dword [ebp - 0x1c]
call fcn.00542680
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 dword [ebp - 0x24]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
mov eax, dword [esi + 0x818]
mov edx, eax
sar edx, 1
jns 0x50b416
adc edx, 0
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
fld dword [ebp - 0x14]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
wait
test eax, eax
jns 0x50b434
add eax, 3
sar eax, 2
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fstp dword [ebp - 0x10]
wait
push 0x79
push dword [esi]
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x58ad60
push 0x15bd
call fcn.0041c35b
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fld dword [ebp - 0xc]
fmul dword [0x50b8c0]
faddp st(1)
fstp dword [ebp - 0x1c]
wait
push 0x58ad60
push 0x15be
call fcn.0041c35b
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fld dword [ebp - 0xc]
fmul dword [0x50b8c0]
faddp st(1)
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50b4f4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fld dword [ebp - 0x10]
fmul dword [0x50b8c4]
faddp st(1)
fstp dword [ebp - 0x24]
wait
mov ecx, dword [esi + 0x814]
add ecx, ecx
mov dword [ebp - 0x78], ecx
fild dword [ebp - 0x78]
fadd dword [ebp - 0x1c]
fild dword [ebp - 0x40]
fsubrp st(1)
fstp dword [ebp - 4]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x58ad60
push 0x15bb
call fcn.0041c35b
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fld dword [ebp - 0xc]
fmul dword [0x50b8c0]
faddp st(1)
fstp dword [ebp - 0x1c]
wait
push 0x58ad60
push 0x15bf
call fcn.0041c35b
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fld dword [ebp - 0xc]
fmul dword [0x50b8c0]
faddp st(1)
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x20]
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jbe 0x50b61a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
fild dword [esi + 0x818]
fld dword [ebp - 0x10]
fmul dword [0x50b8c4]
faddp st(1)
fstp dword [ebp - 0x24]
wait
fild dword [esi + 0x814]
fadd dword [ebp - 0x1c]
fsubr dword [ebp - 4]
fstp dword [ebp - 4]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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 0x50b76e
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x38]
push edx
push dword [esi]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x104
push 0x58ad60
push ebx
call sub.USER32.dll_GetWindowTextA
push 0x58ad60
call fcn.005395b8
pop ecx
push eax
push 0x58ad60
push edi
call fcn.004df9d7
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fld dword [ebp - 0xc]
fmul dword [0x50b8c0]
faddp st(1)
fstp dword [ebp - 0x1c]
wait
fild dword [esi + 0x818]
fld dword [ebp - 0x10]
fmul dword [0x50b8c4]
faddp st(1)
fstp dword [ebp - 0x24]
wait
fild dword [esi + 0x814]
fadd dword [ebp - 0x1c]
fsubr dword [ebp - 4]
fstp dword [ebp - 4]
wait
push 1
fld dword [ebp - 0x24]
call fcn.00542680
push eax
fld dword [ebp - 0x1c]
call fcn.00542680
push eax
fld dword [ebp - 8]
call fcn.00542680
push eax
fld dword [ebp - 4]
call fcn.00542680
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.004f49c0
push eax
call fcn.00509e8e
push dword [esi]
call fcn.00478a9c
push eax
call fcn.00509f61
push dword [ebp - 0x28]
push edi
call sub.GDI32.dll_SelectObject
push edi
push dword [esi]
call sub.USER32.dll_ReleaseDC
push dword [esi]
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x50b813
mov dword [ebp - 0x74], 0x2c
lea edx, [ebp - 0x74]
push edx
push dword [esi]
call sub.USER32.dll_GetWindowPlacement
push 0x20
call fcn.005162fc
add eax, eax
add eax, dword [ebp - 0x40]
add eax, 0xfffffffd
mov dword [ebp - 0x30], eax
push 0x21
call fcn.005162fc
mov ebx, eax
add ebx, ebx
push 4
call fcn.005162fc
add ebx, eax
mov dword [ebp - 0x78], ebx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fadd dword [ebp - 0x24]
mov eax, dword [esi + 0x818]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
faddp st(1)
call fcn.00542680
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x54]
add edx, ebx
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x74]
push ecx
push dword [esi]
call sub.USER32.dll_SetWindowPlacement
jmp 0x50b8a1
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call sub.USER32.dll_GetWindowRect
push dword [esi]
call fcn.00514192
test eax, eax
je 0x50b83c
push 2
lea edx, [ebp - 0x38]
push edx
push dword [0x55b3cc]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x20
call fcn.005162fc
add eax, eax
add eax, dword [ebp - 0x40]
add eax, 0xfffffffd
mov dword [ebp - 0x30], eax
push 0x21
call fcn.005162fc
mov ebx, eax
add ebx, ebx
push 4
call fcn.005162fc
add ebx, eax
mov dword [ebp - 0x78], ebx
fild dword [ebp - 0x78]
fadd dword [ebp - 8]
fadd dword [ebp - 0x24]
mov eax, dword [esi + 0x818]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
faddp st(1)
call fcn.00542680
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push 1
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [esi]
call sub.USER32.dll_MoveWindow
push 1
push 0
push dword [esi]
call sub.USER32.dll_InvalidateRect
push dword [esi]
call sub.USER32.dll_UpdateWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4